Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@naturalcycles/js-lib

NaturalCycles29.1kMIT15.1.0TypeScript support: included

Standard library for universal (browser + Node.js) javascript

js-lib, lodash, p-map, standard library

readme

@naturalcycles/js-lib

Standard library for universal (browser + Node.js) javascript

npm min.gz size Actions loc Maintainability Test Coverage code style: prettier

Documentation

Packaging

  • engines.node >= Node.js LTS
  • main: dist/index.js: commonjs, es2022 - targeting Node.js
  • module: dist-esm/index.js: esm, es2017 - targeting Browsers
  • types: dist/index.d.ts: typescript types
  • /src folder with source *.ts files included

changelog