common classes for TypeScript

Downloads in past


014.0.3411 days ago5 years agoMinified + gzip package size for @tsclass/tsclass in KB


common classes for TypeScript

Availabililty and Links

Status for master

Status Category | Status Badge -- | -- GitLab Pipelines | pipeline status GitLab Pipline Test Coverage | coverage report npm | npm downloads per month Snyk | Known Vulnerabilities TypeScript Support | TypeScript node Support | node Code Style | Code Style PackagePhobia (total standalone install weight) | PackagePhobia PackagePhobia (package size on registry) | PackagePhobia BundlePhobia (total size when bundled) | BundlePhobia Platform support | Supports Windows 10 Supports Mac OS X


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.
import { IInvoice } from 'tsclass';

class myOwnInvoice implements IInvoice {
  constructor() {
    super(); // you need to call super() in the constructor


  • Date
  • Time


  • Article
  • Author


  • Invoice

The modules in bold letters exist as own modules and can be used seperately


We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can contribute one time or contribute monthly. :)
For further information read the linked docs at the top of this readme.
MIT licensed | © Lossless GmbH
| By using this npm module you agree to our privacy policy