$ yarn add tsl-netzkonform-algodat
If you stick to the default npm, the command looks like this:
$ npm --save --save-dev install tsl-netzkonform-algodat
import * as AlgoDat from 'tsl-netzkonform-algodat';
Copy "node_modules/tsl-netzkonform-algodat/tsl-netzkonform-algodat.js" into a sub-directory of your project like "externals/". Configure RequireJS in your HTML file like this:
require.config({
"paths": {
...
"tsl-netzkonform-algodat": "externals/tsl-netzkonform-algodat"
...
}
});