2.0.2 • Published 4 years ago

billet-precalculation v2.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

billet-precalculation

Implementation of the billet-precalculation algorithm in typescript.

Create and publish build

To create a build run npm run build.

This will create the files in the /dist directory in the first step and in the second step it will obfuscate the created files to store them in directory /obfuscated.

We are not publishing the library at npmjs.org, because currently we have no ability for private packages. Were are using the Y-Com Verdaccio regsitry instead. To push the package use npm publish --registry=http://192.168.99.7:4873/

Installation

Since we are are currently not using the npmjs registry, there are two ways (see a and b) to install the package.

(a) - Copy files

Navigate to the /obfuscated/dist directory. Copy all the content from this directory.

Now go to yout project and head to the node_modules. Create a new directory named billet-precalculation. Paste all the copied files here. As a final step go to your projects package.json and add "billet-precalculation": "^2.0.0" to the dependencies.

WARNING: When you use npm install, or install a futher npm module to your project, the billet-precalculation module may be removed.

(b) - Y-Com Verdaccio Registry

Install the package using npm install billet-precalculation --registry=http://192.168.99.7:4873/. Make sure to use the same registry for updating the package.

Todo

  • Add documentation for licensing (ycom copyprotection)
  • Refactoring
    • Replace german variable names
    • Normalize variable names (in some cases different names for the same thin are used)
    • Make the code understandable :D