JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 171550
  • Score
    100M100P100Q164292F
  • License MIT

Minimum utility toolbelt

Package Exports

  • min-dash
  • min-dash/lib/collection
  • min-dash/lib/fn
  • min-dash/lib/lang
  • min-dash/lib/object

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (min-dash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

min-dash

Build Status

Minimal utility tool belt to be used with bpmn.io related libraries.

Features

  • fine selection of powerful utilities on board
  • ES2015 compatible
  • complete bundle 4K gzipped
  • utilities optimized for speed (i.e. sorting and union only by key)

How to use

import {
  find,
  sortBy
} from 'min-dash/lib/collection';

import {
  assign
} from 'min-dash/lib/object';

...

Use a ES6 to ES5 transpiler such as Babel to run the code in the browser.

If you care about small bundle sizes, fetch the utilities directly from the individual files. This is required for actual tree shaking / dead code removal to work (cf. this issue).

License

MIT