Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 895 Bytes

README.md

File metadata and controls

71 lines (53 loc) · 895 Bytes

JS-snippets

Useful Javascript functions, patterns, data-structures processing examples


Documentation:

Documentation


Code test coverage:

Code test coverage


Covered topics:

  • array
  • function
  • number
  • object
  • set
  • string

Actions:

Setup

$ npm i

Play in sandbox (write your code in "./sandbox.js" and watch result)

$ npm run sandbox

Test

$ npm test

Test and open report (./coverage/lcov-report/index.html)

$ npm run test:report

Lint (./lib and ./test)

$ npm run lint

Lint and fix problems

$ npm run lint:fix

Create documentation (./docs)

$ npm run jsdoc

Create documentation and open it (./docs/index.html)

$ npm run jsdoc:report

License

MIT