npm i
npm run buildThis will install all the required dependencies and build output in lib/.
You can run, modify and add new examples in examples/ directory.
cd examples/
npm i
npm run tsn <example>.tsThis repository uses prettier and eslint to format the code in the repository.
npm run lint
npm run formatThis repository uses jest to test.
npm testYou need run scripts/publish-npm script with an NPM_TOKEN set on environment after change version of package in package.json.
npm i
chmod +x scripts/publish-npm
./scripts/publish-npm