min-dash

Minimum utility toolbelt

Usage no npm install needed!

<script type="module">
  import minDash from 'https://cdn.skypack.dev/min-dash';
</script>

README

min-dash

CI

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

Features

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

How to use

import {
  find,
  sortBy,
  assign
} from 'min-dash';

Your favourite module bundler should apply tree-shaking to only include the components your application requires. If you're using CommonJS modules give common-shake a try.

Related

  • 1-liners - a slightly more opinionated collection of useful utilities
  • min-dom - minimal DOM utility toolbelt
  • tiny-svg - tiny SVG utility toolbelt

License

MIT