You will need Node.js version 6+.
After cloning the repo, run:
$ npm install # or yarn# build scripts in dist
$ npm run build
# lint the code using eslint
$ npm run lint
# run unit tests using jest
$ npm testThere are some other scripts available in the scripts section of the package.json file.
When commiting the unit tests will be run automatically.
src: contains all of v8n's corev8n.js: module entry file which exports thev8nfunctionv8n.test.js: all the tests for v8n
dist: contains built files for distribution