There was idea to make TypeScript library for d3 js. POC shown that it is not very usable, but sources left, and here they are.
After you installed node js and installed dependencies via npm i
, and want to run locally to see http://localhost:8080/build
npm run start
Build will be done to './build' directory
npm run build
Here is webpack sample with splitting library to external file