Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Categories
  3. JavaScript
  4. Micro npm Packages

Micro npm Packages

The "Awesome Micro npm Packages" project is a curated collection of tiny, specialized JavaScript packages available on npm, designed to perform specific tasks with minimal overhead. This list encompasses a variety of categories, including utilities, performance enhancers, data manipulation tools, and more, all aimed at simplifying development processes. Ideal for developers looking to optimize their applications or streamline their workflows, these micro packages offer lightweight solutions without the bloat of larger libraries. Whether you're a beginner seeking to enhance your coding toolkit or an experienced developer aiming for efficiency, this collection provides a wealth of options to explore and implement in your projects.

npmmicro-packagesjavascriptutilitiesperformancedevelopment-tools
RSSView on GitHub
4.6k stars456 forks0 contributorsUpdated
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub

Related Awesome Lists

📦
30 Seconds of Code

The "Awesome 30 Seconds of Code" project is a curated collection of code snippets that can be understood in just 30 seconds, aimed at enhancing the learning experience for developers. This list covers a wide range of programming languages and concepts, including JavaScript, Python, and more, featuring snippets for common tasks, algorithms, and utilities. It is particularly beneficial for beginners looking to grasp programming fundamentals quickly, as well as experienced developers seeking to refresh their knowledge or discover new techniques. With this resource, users can easily find and implement useful code snippets to improve their coding efficiency and problem-solving skills.

127.3k
📦
Must Watch Talks

The "Awesome Must Watch Talks" project is a curated collection of impactful talks and presentations that cover a wide range of topics, including technology, personal development, design, and innovation. This list features TED Talks, conference presentations, and keynotes from industry leaders, providing insights and inspiration for viewers. It is beneficial for anyone looking to expand their knowledge, from beginners seeking motivation to experienced professionals wanting to stay updated on trends and ideas. Users can discover thought-provoking content that encourages personal growth and professional development, making it a valuable resource for lifelong learners.

13.6k
📦
Tips

The "Awesome Tips" project is a curated collection of practical advice and strategies across various domains. This list encompasses tips on productivity, coding best practices, personal development, and effective communication, among others. It serves as a valuable resource for beginners seeking guidance as well as experienced individuals looking to refine their skills and approaches. By providing insights and actionable suggestions, this project aims to empower users to enhance their daily routines and professional endeavors. Dive in to discover tips that can transform your workflow and personal growth journey.

12.5k
📦
Functional Programming

The "Awesome Functional Programming" project is a curated collection of resources dedicated to the functional programming paradigm, which emphasizes the use of pure functions and immutable data. This list includes libraries, frameworks, tutorials, articles, and community resources that span various programming languages such as Haskell, Scala, and JavaScript. It is beneficial for both beginners looking to grasp the fundamentals of functional programming and experienced developers seeking to deepen their knowledge or explore advanced concepts. Users can find a wealth of information to enhance their coding practices and embrace the functional programming approach in their projects.

6.0k

Table of Contents

19 sections · 129 projects

Articles

7 projects
module-best-practicesmodule-best-practices

A collection of best practices for writing focused, reusable JavaScript modules for Node.js and the browser.

#software-architecture#open-source#commonjs
Stars1,542
Forks89
Last commit8 years ago
Evaluating Packages Part 1 - Turn to community

bytearcher.com
Evaluating Packages Part 2 - Review repository

bytearcher.com
Small modules: it’s not quite that simple

medium.com
In Defense of Hyper Modular JavaScript

medium.freecodecamp.com
Tiny npm package: Guidelines to create a Node.js module following the small package philosophy

g14n.info
The cost of small modules

nolanlawson.com

Array

16 projects
is-sortedis-sorted

A small JavaScript module to check if an array is sorted, with support for custom comparators.

#functional-programming#array#array-like
Stars25
Forks32
Last commit2 years ago
array-firstarray-first

A utility library to get the first element or first n elements from an array.

#functional-programming#array#npm-package
Stars11
Forks15
Last commit5 years ago
array-lastarray-last

A fast utility to get the last element or last n elements from an array.

#array#slice#npm-package
Stars33
Forks14
Last commit4 years ago
arr-flattenarr-flatten

Recursively flatten nested arrays with the fastest JavaScript implementation available.

#recursive-algorithm#array#npm-package
Stars59
Forks17
Last commit4 years ago
dedupededupe

A lightweight JavaScript utility for removing duplicate values from arrays, supporting both primitive and complex types.

#functional-programming#deduplication#npm-package
Stars24
Forks7
Last commit2 years ago
array-rangearray-range

Creates a new dense array with a specified numeric range for functional programming.

#functional-programming#npm-package#utility-library
Stars25
Forks4
Last commit4 years ago
arr-diffarr-diff

Returns the difference between the first array and additional arrays using strict equality.

#arr#array#values
Stars45
Forks18
Last commit4 years ago
filled-arrayfilled-array

A utility function that creates an array filled with a specified value or generated by a function.

#functional-programming#developer-tools#npm-package
Stars43
Forks5
Last commit4 years ago
map-arraymap-array

A utility function that maps object keys and values into an array using a custom callback.

#functional-programming#npm-package#nodejs
Stars4
Forks0
Last commit6 years ago
in-arrayin-array

A fast utility to check if a value exists in an array, handling null values safely.

#array#null-safety#npm-package
Stars16
Forks1
Last commit10 years ago
unordered-array-removeunordered-array-remove

Efficiently removes an element from an unordered array by swapping with the last element instead of splicing.

#npm-package#data-structures#javascript
Stars118
Forks8
Last commit4 years ago
array-swaparray-swap

Swaps the position of two items in an array without mutating the original array.

#functional-programming#npm-package#utility-library
Stars6
Forks4
Last commit4 years ago
mirrarraymirrarray

A lightweight NPM module that creates a keymirror object from an array of strings or other primitive values.

#es6-modules#developer-tools#redux-actions
Stars5
Forks2
Last commit4 years ago
group-arraygroup-array

Group an array of objects into nested lists based on one or more property values.

#functional-programming#object-manipulation#data-grouping
Stars66
Forks15
Last commit2 years ago
array.chunkarray.chunk

A JavaScript utility to split arrays and TypedArrays into chunks of a specified size.

#batch-processing#typedarray#nodejs
Stars12
Forks0
Last commit4 years ago
fast-cartesianfast-cartesian

A high-performance JavaScript library for computing cartesian products of arrays.

#sets#algorithm#functional-programming
Stars73
Forks5
Last commit27 days ago

String

14 projects
decamelizedecamelize

Convert camelCase strings to lowercase with custom separators like unicornRainbow → unicorn_rainbow.

#formatting#camelcase#npm-package
Stars244
Forks28
Last commit4 months ago
pad-leftpad-left

A fast JavaScript library for left-padding strings with zeros or custom characters.

#left#fill#npm-package
Stars44
Forks7
Last commit4 years ago
to-camel-caseto-camel-case

#case#utility
Stars36
Forks4
Last commit9 years ago
to-capital-caseto-capital-case

#case#javascript#utility
Stars11
Forks0
Last commit8 years ago
to-no-caseto-no-case

#case#utility
Stars16
Forks5
Last commit9 years ago
to-snake-caseto-snake-case

#case#utility
Stars26
Forks2
Last commit7 years ago
to-title-caseto-title-case

#case#utility
Stars18
Forks6
Last commit10 years ago
node-slugnode-slug

A Node.js library that converts strings to URL-safe slugs, handling Unicode characters and symbols.

#string-slugification#url-sanitization#text-processing
Stars1,071
Forks90
Last commit7 years ago
rtrimrtrim

A Node.js module to strip whitespace or custom characters from the end of strings without dependencies.

#trim#trim-whitespace#text-processing
Stars0
Forks2
Last commit5 years ago
slice.jsslice.js

A nano library that enhances JavaScript String.substring and Array.slice with Python-style slicing using Proxy.

#array#python-syntax#slice
Stars34
Forks1
Last commit8 years ago
strip-ansistrip-ansi

Strip ANSI escape codes from strings with consistent behavior across Node.js versions.

#chalk-ecosystem#escape-codes#ansi-codes
Stars501
Forks46
Last commit4 months ago
striptagsstriptags

A TypeScript implementation of PHP's strip_tags for safely removing HTML tags from strings.

#strip-tags#xss#html-sanitization
Stars492
Forks51
Last commit3 years ago
parse-next-json-valueparse-next-json-value

A parser that extracts the first valid JSON value from a string, ignoring any trailing characters.

#state-machine#partial-json#javascript-library
Stars1
Forks1
Last commit6 years ago
pluralizepluralize

A tiny JavaScript library for pluralizing words with a lightweight and friendly API.

#npm-package#lightweight#text-processing
Stars2
Forks0
Last commit5 years ago

Date & Time

9 projects
pretty-mspretty-ms

Convert milliseconds to human-readable time strings with customizable formatting options.

#milliseconds#npm-package#duration-formatting
Stars1,214
Forks67
Last commit14 days ago
hirestimehirestime

A thin cross-platform wrapper for high-resolution time measurement using Node.js process.hrtime and browser Performance API.

#nodejs#javascript-library#high-resolution-timing
Stars17
Forks3
Last commit1 year ago
periodsperiods

Provides time-period constants in milliseconds for JavaScript, exposed as functions to prevent silent NaN errors.

#error-prevention#date-time#milliseconds
Stars1
Forks0
Last commit11 years ago
fechafecha

A lightweight JavaScript library for date formatting and parsing, designed as a minimal alternative to moment.js.

#parsing#lightweight#frontend
Stars2,067
Forks123
Last commit3 years ago
akamai-time-referenceakamai-time-reference

A Node.js package to fetch the exact current time using Akamai's Time Reference service.

#caching#akamai#promises
Stars3
Forks1
Last commit7 years ago
timeago.jstimeago.js

A tiny JavaScript library for formatting dates into human-readable 'time ago' statements.

#multi-language#datetime#timeago
Stars5,374
Forks404
Last commit21 days ago
count-days-in-monthcount-days-in-month

A JavaScript utility that returns the number of days in a given month, accounting for leap years.

#leap-year#date-calculation#npm-package
Stars1
Forks0
Last commit10 years ago
time-stamptime-stamp

A lightweight Node.js utility for generating formatted timestamps with customizable patterns.

#year#datetime#days
Stars110
Forks17
Last commit5 years ago
twastwas

A 280-byte JavaScript function that converts timestamps to human-readable relative time strings like '3 seconds ago'.

#date-time#timeago#time
Stars252
Forks10
Last commit3 years ago

Object

21 projects
map-objmap-obj

A utility to transform object keys and values into a new object with deep recursion and symbol support.

#functional-programming#object-manipulation#symbol-keys
Stars217
Forks42
Last commit10 months ago
filter-objfilter-obj

Filter object keys and values into a new object using predicate functions or key arrays.

#functional-programming#immutability#object-manipulation
Stars105
Forks11
Last commit2 years ago
object-valuesobject-values

Returns an array of own enumerable property values from an object.

#object-manipulation#npm-package#deprecated
Stars27
Forks5
Last commit3 years ago
object-pairsobject-pairs

Convert JavaScript objects into arrays of [key, value] pairs for easy iteration and transformation.

#functional-programming#npm-package#key-value-pairs
Stars2
Forks0
Last commit11 years ago
zipmapzipmap

A JavaScript utility that creates an object map from arrays of keys and values, objects, or pairs.

#functional-programming#key-value-map#npm-package
Stars4
Forks1
Last commit2 years ago
just-pluckjust-pluck

A simple JavaScript utility to extract values from an array of objects by key, without unnecessary complexity.

#functional-programming#npm-package#lightweight
Stars11
Forks2
Last commit10 years ago
deep-equaldeep-equal

#strict#deepequal#assert
Stars793
Forks106
Last commit4 months ago
deep-assigndeep-assign

Recursive Object.assign() for deep merging JavaScript objects (deprecated).

#deep-merge#object-manipulation#npm-package
Stars246
Forks34
Last commit5 years ago
set-valueset-value

Set nested properties on JavaScript objects using dot notation with high performance and extensive options.

#object-manipulation#dot-notation#object
Stars276
Forks42
Last commit3 years ago
get-valueget-value

A JavaScript utility to safely retrieve nested values from objects using property paths like 'a.b.c', even when keys contain dots.

#object-manipulation#object-path#nested-objects
Stars307
Forks24
Last commit1 month ago
has-valuehas-value

A JavaScript utility that returns true if a value exists and false if empty, supporting deeply nested object paths.

#object-path#check#dot-notation
Stars26
Forks6
Last commit8 years ago
has-key-deephas-key-deep

Deep-search JavaScript objects for keys using dot notation or arrays.

#functional-programming#nested-objects#dot-notation
Stars1
Forks2
Last commit6 years ago
flatkeysflatkeys

Flatten object key hierarchies into a list of strings with customizable separators and transformations.

#object-flattening#utility-library#javascript
Stars3
Forks1
Last commit13 years ago
flatten-objflatten-obj

Converts deeply nested JavaScript objects into flat key/value pairs with customizable options.

#object-manipulation#dot-notation#npm-package
Stars21
Forks4
Last commit9 years ago
is-empty-objectis-empty-object

A lightweight JavaScript utility to check if an object is empty.

#object-validation#npm-package#utility-library
Stars11
Forks4
Last commit8 years ago
stringify-objectstringify-object

Stringify JavaScript objects/arrays with clean, quote-minimal syntax and customizable formatting.

#developer-tools#pretty-print#nodejs
Stars325
Forks41
Last commit18 days ago
sorted-objectsorted-object

Returns a copy of a JavaScript object with its keys sorted for consistent JSON serialization.

#version-control#developer-tools#json-serialization
Stars36
Forks4
Last commit5 years ago
missing-deep-keysmissing-deep-keys

A JavaScript utility that compares two objects and returns an array of keys present in the first object but missing in the second.

#deep-diff#object-comparison#npm-package
Stars0
Forks1
Last commit6 years ago
has-own-propertyhas-own-property

A utility function to check if an object has a local property, providing a safe alternative to the built-in method.

#developer-tools#npm-package#typescript
Stars3
Forks0
Last commit5 years ago
merge-objectsmerge-objects

A Node.js utility for deep merging objects with array concatenation.

#deep-merge#npm-package#array-concatenation
Stars2
Forks1
Last commit11 years ago
deep-object-diffdeep-object-diff

A small JavaScript library for deep diffing two objects, including nested arrays and objects.

#deep-diff#array#nested-structures
Stars1,137
Forks97
Last commit2 years ago