back to main project page
The library implemented in the PoC (see src folder) and deployed as a NPM package can be used in different ways by any/multiple client projects.
See the list of provided example applications below.
In most of the case, the client project needs to install the NPM package as a dependency.
The one-ts-for-all should be integrated in the client project to augment its functionality, hence it should be installed as a productive dependency, hence:
npm install --save @khatastroffik/one-ts-for-all
Note: In a real scenario, you'd replace the name of the installed package above with the adequate name for the library of your choice.
Alternatively, the client project could download the library from a Source-Code Repository (e.g. use the present repository download file) and manually link/integrate the library files in the client project wherever needed. Cloning the library and installing the cloned repository locally is also a possible alternative.
These 'loose" installation procedures aren't recommanded, though! Hence, they're not documented in detail here.