typescript_node_module_example
This is a library for test install and import from a total different project.
If you import this library to your project you can do:
- import a particular module
- extend classes
- use interfaces on your project
This library is published on NPM packages.
Testing library
// packagetest.ts file; Animal { supername; } { console; super; } let sam = 'Sammy the Python';sam;
Expected result
$ node packagetest.jsSlithering...Sammy the Python moved 5m.Galloping...Tommy the Palomino moved 34m.
Publishing package
npm publish