58 lines
2.1 KiB
Markdown
58 lines
2.1 KiB
Markdown
# @tsclass/tsclass
|
|
common classes for TypeScript
|
|
|
|
## Availabililty and Links
|
|
* [npmjs.org (npm package)](https://www.npmjs.com/package/@tsclass/tsclass)
|
|
* [gitlab.com (source)](https://gitlab.com/tsclass/tsclass)
|
|
* [github.com (source mirror)](https://github.com/tsclass/tsclass)
|
|
* [docs (typedoc)](https://tsclass.gitlab.io/tsclass/)
|
|
|
|
## Status for master
|
|
[](https://gitlab.com/tsclass/tsclass/commits/master)
|
|
[](https://gitlab.com/tsclass/tsclass/commits/master)
|
|
[](https://www.npmjs.com/package/@tsclass/tsclass)
|
|
[](https://snyk.io/test/npm/@tsclass/tsclass)
|
|
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
[](https://prettier.io/)
|
|
|
|
## Usage
|
|
|
|
Use TypeScript for best in class instellisense.
|
|
|
|
tsclass exposes many commonly used objects as interface to implement (-> extends keyword) by individual implementations.
|
|
They come complete with best in class intellisense and are easy to require.
|
|
|
|
```javascript
|
|
import { IInvoice } from 'tsclass';
|
|
|
|
class myOwnInvoice implements IInvoice {
|
|
constructor() {
|
|
super(); // you need to call super() in the constructor
|
|
}
|
|
}
|
|
```
|
|
|
|
### Time/Date
|
|
|
|
- Date
|
|
- Time
|
|
|
|
### Publications/Websites/Blogs
|
|
|
|
- Article
|
|
- Author
|
|
|
|
### Finance
|
|
|
|
- Invoice
|
|
|
|
> The modules in bold letters exist as own modules and can be used seperately
|
|
|
|
For further information read the linked docs at the top of this readme.
|
|
|
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
|
|
|
[](https://maintainedby.lossless.com)
|