small-node-collections

A small library for basic collection utility functions

Usage no npm install needed!

<script type="module">
  import smallNodeCollections from 'https://cdn.skypack.dev/small-node-collections';
</script>

README

small-node-collections

A small library for basic collection utility functions

Code Style

This library adheres to the StandardJS code style.

Supported Functions

Objects

  • Objects#forEach({object} object, {function} callback(key, value))

Arrays

  • Arrays#filter({array} array, {function} filter(item))