collect.js

v4.36.1
Convenient and dependency free wrapper for working with arrays and objects.
collections collection collect map filter group by reduce transform pluck and 7 more...

all

npm run build && npm test && npm run eslint && npm run validate-version

pretest

npm run transpile

test

mocha test/tests.js

transpile

rm -rf dist && babel src --quiet --out-dir dist

readme

node bundler/bundle.js

bundle.development

webpack-cli dist/index.js --output build/collect.js --mode development --output-library collect

bundle.production

webpack-cli dist/index.js --output build/collect.min.js --mode production --output-library collect

build

npm run transpile && npm run bundle.development && npm run bundle.production && npm run readme

eslint

npm run eslint:fix

eslint:fix

npm run eslint:js -- --fix && npm run eslint:md -- --fix

eslint:strict

npm run eslint:js && npm run eslint:md

eslint:js

eslint src/ test/

eslint:md

eslint --ext md README.md docs/ --rule strict:off --rule no-undef:off --rule no-unused-vars:off --rule func-names:off --rule no-console:off --rule consistent-return:off --rule import/no-unresolved:off --rule import/extensions:off --parser-options sourceType:module

coverage

npm run transpile && nyc mocha test/tests.js

reporter

nyc report --reporter=html

docs:dev

vuepress dev docs

docs:build

vuepress build docs

validate-version

prepublishOnly

npm run all
npm i collect.js

Metadata

  • MIT
  • Whatever
  • Daniel Eckermann
  • released 3/30/2023

Downloads

Maintainers