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
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