tricks

v2.0.1
ES6 modules
Es6 modules

docs

jsdoc2md ./object/**/*.js ./array/**/*.js ./string/**/*.js > docs/README.md

lint

eslint ./

test

npm run lint && npm run test:node && npm run test:browser

lint-diff

LIST=`git diff-index --diff-filter=d --name-only HEAD | grep '.*\.js$';`; if [ "$LIST" ]; then eslint $LIST; fi

test:node

mocha ./test/specs/{array,time,object,string,http}/*.js

test:spawn

browserstack-runner

test:deploy

npm test && npm run test:spawn

test:browser

gulp

lint-diff-fix

LIST=`git diff-index --diff-filter=d --name-only HEAD | grep '.*\.js$';`; if [ "$LIST" ]; then eslint --fix $LIST; fi

semantic-release

semantic-release -d false

test:spawn-local

env $(cat .env | xargs) npm run test:spawn

Metadata

  • ISC
  • >=16
  • Andrew Dodson
  • released 9/28/2024

Downloads

Maintainers