Awesome Micro npm Packages 
A curated list of small, focused Node.js modules.
Inspired by the awesome list thing.
Articles
- One-line node modules
- Module best practices
- Evaluating Packages Part 1 - Turn to community
- Evaluating Packages Part 2 - Review repository
- Small modules: it’s not quite that simple
- In Defense of Hyper Modular JavaScript
- Tiny npm package: Guidelines to create a Node.js module following the small package philosophy
- The cost of small modules
Modules
Array
- is-sorted - A small module to check if an Array is sorted.
- array-first - Get the first element or first n elements of an array.
- array-last - Return the last element in an array.
- arr-flatten - Recursively flatten an array or arrays.
- dedupe - Remove duplicates from an array.
- array-range - Creates a new array with given range.
- arr-diff - Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
- filled-array - Returns an array filled with the specified input
- map-array - Map object keys and values into an array.
- in-array - Return true if any of passed values exists in array - faster than using indexOf.
- unordered-array-remove - Efficiently remove an element from an unordered array without doing a splice.
- array-swap - Swap position of two items in an array.
- mirrarray - Creates a keymirror object from an array of valid keys.
- group-array - Group array of objects into lists.
- array.chunk - Split array/TypedArray to chunks of given size.
- fast-cartesian - Fast cartesian product.
String
- decamelize - Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow.
- pad-left - Left pad a string with zeros or a specified string.
- to-camel-case - Convert a string to a camel case.
- to-capital-case - Convert a string to a capital case.
- to-constant-case - Convert a string to a constant case.
- to-dot-case - Convert a string to a dot case.
- to-no-case - Remove an existing case from a string.
- to-pascal-case - Convert a string to a pascal case.
- to-sentence-case - Convert a string to a sentence case.
- to-snake-case - Convert a string to a snake case.
- to-space-case - Convert a string to a space case.
- to-title-case - Convert a string to a title case.
- node-slug - slugifies even utf-8 chars.
- rtrim - Strip whitespace - or other characters - from the end of a string.
- slice.js - Javascript library to enhance String.substring / Array.slice with python slice style.
- strip-ansi - Strip ANSI escape codes.
- striptags - An implementation of PHP's strip_tags in Node.js.
- parse-next-json-value - Parse next JSON value from string allowing extraneous characters after value.