Skip to content

paratagas/js-snippets

Repository files navigation

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

About

Useful Javascript tools and practices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy