Track Awesome Micro Npm Packages Updates Daily
A curated list of small, focused npm packages.
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 parro-it/awesome-micro-npm-packages · ⭐ 4.4K · 🏷️ Programming Languages
Sep 15, 2021
Modules / Data Structure
- quetie (⭐110) - Just the cutest and tiniest queue/deque implementation!
Mar 30, 2021
Modules / String
- pluralize (⭐1) - A very tiny library to pluralize words
Mar 13, 2021
Modules / String
- slice.js (⭐33) - Javascript library to enhance String.substring / Array.slice with python slice style.
Oct 11, 2020
Modules / File System
- read-git-user (⭐3) - Reads the username and email from
.gitconfig
🔧 and returns it as json object.
Oct 03, 2020
Modules / Math
- fun-gcd (⭐0) - A tiny math library to get gcd of two numbers using Euclidean algorithm
Modules / Other
- mime-type-check (⭐5) - Get the MIME type of a file by its extension.
Oct 01, 2020
Modules / Math
- my-prime (⭐2) - A good way to tell if a number is prime or not.
Aug 19, 2020
Modules / Math
- is-even (⭐166) - A good way to tell if a number is even or not (avoids type issues). Uses
is-odd
andis-number
under the hood.
- is-odd (⭐228) - A good way to tell if a number is odd or not (avoids type issues). Uses
is-number
under the hood.
- easy-math.js (⭐7) - A tiny easy math library including addition, multiplication, subtraction, and division.
Jul 25, 2020
Modules / Other
- shurley (⭐5) - Parses URLs from user input (with potential typos in protocols, bad copy+paste, etc.) and returns a proper URL.
Sep 30, 2018
Modules / Function
- compose-tiny (⭐45) - A very tiny and fast compose function.
Apr 26, 2018
Modules / Browser
- copee (⭐132) - Copy text from browser to clipboard...natively!
Apr 11, 2018
Modules / Array
- array.chunk (⭐10) - Split array/TypedArray to chunks of given size.
Mar 28, 2018
Modules / Stream
- syncthrough (⭐77) - Transform your data as it pass by, synchronously.
Feb 11, 2018
Modules / String
- parse-next-json-value (⭐1) - Parse next JSON value from string allowing extraneous characters after value.
Jan 26, 2018
Modules / Date & Time
- twas (⭐235) - Generate a relative time string (Example: "3 seconds ago")
Dec 20, 2017
Modules / String
- striptags (⭐469) - An implementation of PHP's strip_tags in Node.js.
Dec 18, 2017
Modules / Other
- uuid (⭐13k) - Generate RFC-compliant UUIDs in JavaScript.
Dec 06, 2017
Modules / Array
- group-array (⭐52) - Group array of objects into lists.
Modules / Date & Time
- time-stamp (⭐110) - Get a formatted timestamp.
Dec 04, 2017
Articles
Nov 30, 2017
Modules / Date & Time
- count-days-in-month (⭐1) - Get the number of days in a given month.
Nov 21, 2017
Modules / Other
- not-defined (⭐3) - Checks if foo is not defined, i.e. undefined, null, an empty string, array or object.
Nov 09, 2017
Modules / String
- strip-ansi (⭐337) - Strip ANSI escape codes.
Modules / Function
- compose-function (⭐56) - Compose a new function from smaller functions
f(g(x))
.
Oct 29, 2017
Modules / Object
- deep-object-diff (⭐818) - Deep diff two JavaScript Objects while preserving the data structure. Including nested structures of Arrays and Objects.
Oct 27, 2017
Modules / Object
- merge-objects (⭐2) - Deep-merge two objects. Arrays that are values of the same object key get concatenated.
Oct 19, 2017
Modules / CLI
- help-version (⭐4) - Easily handle --help and --version arguments in your CLI application
Oct 17, 2017
Modules / Stream
- is-stream (⭐104) - Check if something is a Node.js stream.
Oct 12, 2017
Modules / Function
- throttle-debounce (⭐886) - Throttle/debounce your functions.
Sep 26, 2017
Modules / CLI
- png-to-ico (⭐127) - Convert png to windows ico format.
Sep 12, 2017
Modules / Array
- mirrarray (⭐5) - Creates a keymirror object from an array of valid keys.
Dec 12, 2016
Modules / Date & Time
- timeago.js (⭐4.8k) - A tiny(~1.7kb) library used to format date with
*** time ago
statement.
Dec 10, 2016
Articles
Jul 25, 2016
Modules / Browser
- document-ready (⭐57) - Document ready listener for modern browsers.
Jul 22, 2016
Modules / Object
- has-own-property (⭐2) - Check if an object has a local property.
Jul 21, 2016
Modules / String
- rtrim (⭐0) - Strip whitespace - or other characters - from the end of a string.
Jul 20, 2016
Modules / Object
- missing-deep-keys (⭐0) - Returns an array of keys from first object that are missing in second.
Modules / Browser
- image-promise (⭐139) - Load one or more
<img>
s in a Promise.
- get-media-size (⭐12) - Get the original size of any
img
/video
/svg
/canvas
tags or canvas context.
Jul 18, 2016
Modules / CLI
- minimist - Parse argument options.
Jun 09, 2016
Modules / Stream
- split (⭐345) - Break up a stream and reassemble it so that each line is a chunk.
May 06, 2016
Modules / Other
- is-fqdn (⭐22) - Check if a string represent a fully qualified domain name.
May 04, 2016
Modules / Stream
- pump (⭐880) - pipe streams together and close all of them if one of them closes.
May 02, 2016
Modules / Stream
- through2-map-promise (⭐3) - A small promise-based wrapper for through2.
Apr 28, 2016
Modules / Array
- array-swap (⭐7) - Swap position of two items in an array.
Modules / String
- node-slug (⭐1.1k) - slugifies even utf-8 chars.
Apr 14, 2016
Articles
Modules / Object
- static-props (⭐3) - Defines static object attributes using
Object.defineProperties
Apr 03, 2016
Modules / Array
- unordered-array-remove (⭐118) - Efficiently remove an element from an unordered array without doing a splice.
Apr 02, 2016
Articles
Mar 30, 2016
Articles
Mar 28, 2016
Modules / Object
- sorted-object (⭐35) - Returns a copy of an object with its keys sorted.
Mar 23, 2016
Modules / Array
- in-array (⭐16) - Return true if any of passed values exists in array - faster than using indexOf.
Modules / String
- pad-left (⭐43) - Left pad a string with zeros or a specified string.
Mar 22, 2016
Modules / Promise
- sleep-promise (⭐76) - Resolves a promise after a specified delay.
- is-promise (⭐275) - Test whether an object looks like a promises-a+ promise.
Modules / Generators
- is-generator (⭐15) - Check whether a given value is a generator function.
Mar 14, 2016
Modules / Promise
- pify (⭐1.5k) - Promisify a callback-style function.
Mar 05, 2016
Modules / Promise
- promise-all-props (⭐10) - Like
Promise.all
but for object properties.
Mar 03, 2016
Modules / Date & Time
- akamai-time-reference (⭐2) - Get reference time using Akamai's time reference service.
Mar 02, 2016
Modules / Object
- has-key-deep (⭐1) - Deep-search objects for keys. Keys can be searched by providing an array of keys, or using a dot-notiation.
Modules / Math
- is-number (⭐217) - Returns
true
if the value is a number.
Feb 28, 2016
Modules / CLI
- username (⭐140) - Get the username of the current user.
Feb 27, 2016
Modules / Object
- has-value (⭐26) - Returns true if a value exists, false if empty. Works with deeply nested values using dot notation (
'a.b.c'
) paths.
- stringify-object (⭐281) - Stringify an object/array like JSON.stringify just without all the double-quotes.
Modules / Browser
- dom-element-value (⭐6) - DOM element value getter/setter.
Feb 25, 2016
Modules / Date & Time
- fecha (⭐2k) - Javascript Date formatting and parsing.
Feb 24, 2016
Modules / File System
- du (⭐30) - A simple JavaScript implementation of du -sb.
- file-size (⭐233) - Lightweight filesize to human-readable / proportions w/o dependencies.
- tmp (⭐688) - Temporary file and directory creator for node.js.
- fs-promise (⭐171) - Node fs methods as Promise/A+ (optional fs-extra, graceful-fs).
Feb 19, 2016
Modules / Object
- is-empty-object (⭐11) - Check if an object is empty.
Feb 18, 2016
Modules / Date & Time
- periods (⭐1) - Defined time-periods constants for Javascript, in milliseconds.
Modules / Semver
- semver-first-satisfied (⭐2) - Find minimum in an array of version that satisfies a semver range.
Modules / CLI
- glob (⭐7.7k) - Glob functionality for node.js.
Feb 17, 2016
Modules / CLI
- abbrev (⭐150) - Calculate the set of unique abbreviations for a given set of strings.
Modules / Module management
- pkg-conf (⭐115) - Get namespaced config from the closest package.json.
- normalize-pkg (⭐18) - Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.
Feb 11, 2016
Articles
Feb 10, 2016
Modules / Array
- map-array (⭐4) - Map object keys and values into an array.
Modules / Function
- identity-function - Always return the input argument.
- mem (⭐977) - An optimization technique used to speed up consecutive function calls by caching the result of calls with identical input.
Feb 09, 2016
Modules / Object
- flatten-obj (⭐20) - Converts an object literal with deeply nested nodes to a simple key/value object.
Feb 05, 2016
Articles
Modules / Array
- is-sorted (⭐21) - A small module to check if an Array is sorted.
- array-first (⭐11) - Get the first element or first n elements of an array.
- array-last (⭐34) - Return the last element in an array.
- arr-flatten (⭐60) - Recursively flatten an array or arrays.
- dedupe (⭐23) - Remove duplicates from an array.
- array-range (⭐25) - Creates a new array with given range.
- arr-diff (⭐43) - 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 (⭐40) - Returns an array filled with the specified input
Modules / String
- decamelize (⭐218) - Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow.
- to-camel-case (⭐37) - Convert a string to a camel case.
- to-capital-case (⭐12) - Convert a string to a capital case.
- to-constant-case (⭐4) - Convert a string to a constant case.
- to-dot-case (⭐4) - Convert a string to a dot case.
- to-no-case (⭐15) - Remove an existing case from a string.
- to-pascal-case (⭐3) - Convert a string to a pascal case.
- to-sentence-case (⭐6) - Convert a string to a sentence case.
- to-snake-case (⭐25) - Convert a string to a snake case.
- to-space-case (⭐5) - Convert a string to a space case.
- to-title-case (⭐18) - Convert a string to a title case.
Modules / Date & Time
- pretty-ms (⭐878) - Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s.
- hirestime (⭐15) - A wrapper around the built-in high resolution timer which simplifies the calculation of timestamps.
Modules / Object
- map-obj (⭐145) - Map object keys and values into a new object.
- filter-obj (⭐81) - Filter object keys and values into a new object.
- object-values (⭐23) - Get the values of an object.
- object-pairs (⭐2) - Turn an object into list of [key, value] pairs for mapping, iterating or other purposes.
- zipmap (⭐4) - Returns a map with the keys mapped to the corresponding vals. zipmap also accepts a single value of objects or pairs.
- just-pluck (⭐11) - Pluck without the madness.
- deep-equal (⭐700) - Node's assert.deepEqual() algorithm as a standalone module.
- deep-assign (⭐248) - Recursive Object.assign().
- set-value (⭐252) - Create nested values and any intermediaries dot notation (
'a.b.c'
) paths.
- get-value (⭐217) - Use property paths (a.b.c) to get a nested value from an object.
- flatkeys (⭐3) - Flatten object key hierarchies into a list of strings using a custom separator.
Modules / Function
- curry (⭐314) - A curry function without anything too clever.
- once (⭐209) - Run a function exactly one time.
- deep-bind (⭐8) - Bind a context to all functions in an object, including deeply nested functions.
Modules / Stream
- through2 (⭐1.9k) - Tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise.
- through2-filter (⭐35) - A through2 to create an Array.prototype.filter analog for streams.
- through2-map (⭐70) - A through2 to create an Array.prototype.map analog for streams.
- stream-spigot (⭐15) - A readable stream generator, useful for testing or converting simple functions into Readable streams.
- concat-stream (⭐565) - writable stream that concatenates strings or data and calls a callback with the result.
- JSONStream (⭐1.9k) - streaming JSON.parse and stringify
Modules / File System
- rimraf (⭐4.9k) - A deep deletion module for node (like rm -rf).
- mkdirp - Recursively mkdir, like mkdir -p.
Modules / Browser
- delegate (⭐179) - Lightweight event delegation.
- insert-css - Insert a string of css into the head
Modules / Semver
- semver (⭐4.4k) - The semantic version parser used by npm.
- semver-max (⭐3) - Find maximum (or minimum) version according to semver.
Modules / Other
- node-mime (⭐1.9k) - Comprehensive MIME type mapping API based on mime-db module.
Related lists / Other
- awesome-nodejs (⭐47k) - A curated list of delightful Node.js packages and resources.
- awesome-npm (⭐4.1k) - Awesome npm resources and tips.