TypeScript Libraries
Installation
To install this library, run:
$ npm install typescript-libraries --save
Consuming the library
Once you have installed the library through npm, you can import your library in any part of application:
import {TSHeuristic} from 'typescript-libraries';
TSHeuristic.similarity('test', 'test');
Development
To lint all *.ts
files:
$ npm run lint
To test all *.spec.ts
files:
$ npm run test
Publish
Compiled
package.json
"files": [
"dist"
],
"private": false
tsconfig.json
"module": "CommonJS",
"moduleResolution": "Node",
License
MIT © Albion Liçi