Skip to content
JS
Package category

Utility libraries

General-purpose helpers for arrays, objects, strings and functions.

763 packages16 comparisons

Packages compared

763 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@stdlib/utils-define-read-only-property
Define a read-only property.
82.3k---7 months ago
0.2.3
CommonJSBundledUtility libraries
eslint-plugin-fp
ESLint rules for functional programming
81k-34%-9 years ago
2.3.0
-NoneUtility libraries, Linting and formatting
read-file-stdin
Read from a file, falling back to stdin.
79.7k-12%-10 years ago
0.2.1
-NoneCLI tools and terminal utilities, Utility libraries
@nomicfoundation/ethereumjs-util
A collection of utility functions for Ethereum
79.1k---2 years ago
9.0.4
ESM + CommonJSBundledBlockchain and Web3, Utility libraries
logging-helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
78.1k-20%-9 years ago
1.0.0
CommonJSNoneLogging, Utility libraries
helper-markdown
Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
78k-27%-9 years ago
1.0.0
CommonJSNoneMarkdown, Utility libraries
mocked-env
Easy way to mock process.env during BDD testing
75.4k+13%-5 years ago
1.3.5
CommonJSBundledTesting, Utility libraries
@vuedx/template-ast-types
Helper functions for Vue template AST
73.6k---3 years ago
0.7.4
ESM + CommonJSBundledVue, Utility libraries
omit-empty
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
72.1k-5%-7 years ago
1.0.0
CommonJSNoneUtility libraries
patronum
☄️ Effector utility library delivering modularity and convenience
70.9k+162%-1 year ago
2.3.0
ESM + CommonJSBundledUtility libraries, TypeScript tooling
react-recompose
A React utility belt for function components and higher-order components
69.3k+55%-3 years ago
0.33.0
ESM + CommonJSNoneUtility libraries, React
licia
Useful utility collection with zero dependencies
68.5k+493%-1 month ago
1.49.0
CommonJSBundledUtility libraries
babel-plugin-external-helpers
This plugin contains helper functions that’ll be placed at the top of the generated code
67.2k-19%--
6.22.0
CommonJSNoneUtility libraries
lodash-decorators
A collection of decorators using lodash at it's core.
66.7k+3%-7 years ago
6.0.1
CommonJSBundledUtility libraries
@stdlib/assert-is-nonnegative-integer
Test if a value is a number having a nonnegative integer value.
65.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
ends-with
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
64.7k+13%-9 years ago
1.0.1
CommonJSNoneUtility libraries
fast-is-equal
Blazing-fast equality checks, minus the baggage. A lean, standalone alternative to Lodash's isEqual—because speed matters.
64.5k+18828%-19 days ago
1.3.3
CommonJSBundledUtility libraries
@videojs/utils
Utility functions and helpers for Video.js
63.8k---15 days ago
10.0.0-rc.2
ESM onlyBundledUtility libraries
just-map-values
map an object, predicate updates values, receives (value, key, object)
63.4k+179%-3 years ago
3.2.0
ESM + CommonJSBundledTypeScript tooling, Utility libraries
@stdlib/math-base-assert-is-finite
Test if a double-precision floating-point numeric value is finite.
62.6k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/assert-is-integer
Test if a value is a number having an integer value.
61.9k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/math-base-assert-is-nanf
Test if a single-precision floating-point numeric value is NaN.
61.9k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
just-kebab-case
convert a string to kebab case
61.8k+15%-3 years ago
4.2.0
ESM + CommonJSBundledTypeScript tooling, Utility libraries
@stdlib/math-base-assert-is-finitef
Test if a single-precision floating-point numeric value is finite.
61.8k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/number-float32-base-exponent
Return an integer corresponding to the unbiased exponent of a single-precision floating-point number.
61.8k---7 months ago
0.2.4
CommonJSBundledUtility libraries
@stdlib/napi-argv
C utilities for retrieving Node-API add-on callback arguments.
61.8k---7 months ago
0.2.3
CommonJSBundledUtility libraries
@stdlib/number-float32-base-to-float16
Convert a single-precision floating-point number to the nearest half-precision floating-point number.
61.3k---7 months ago
0.1.1
CommonJSBundledUtility libraries, Node.js utilities
@stdlib/number-float16-base-to-float32
Convert a half-precision floating-point number to the nearest single-precision floating-point number.
61.3k---7 months ago
0.1.2
CommonJSBundledUtility libraries, Node.js utilities
@stdlib/number-float16-base-to-float64
Convert a half-precision floating-point number to the nearest double-precision floating-point number.
60.8k---7 months ago
0.1.2
CommonJSBundledUtility libraries, Node.js utilities
@stdlib/number-float64-base-to-float16
Convert a double-precision floating-point number to the nearest half-precision floating-point number.
60.8k---7 months ago
0.1.2
CommonJSBundledUtility libraries, Node.js utilities
deepdash
➔ 𝐃eep standalone lib / 𝐋odash extension: ✓ eachDeep ✓ filterDeep ✓ mapDeep ✓ reduceDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parents stack ⋮ Circular check ⋮ Leaves only mode ⋮ Children mode ⋮ cherry-pick ⋮ esm
59.8k-38%--
5.3.9
ESM + CommonJSBundledUtility libraries
unist-util-find-all-before
unist utility to find nodes before another node
59.7k+112%-3 years ago
5.0.0
ESM onlyBundledUtility libraries
its-name
Given (Mocha) test object, walks it up to give you list of context names
59.6k+18%-9 years ago
1.0.0
CommonJSNoneTesting, Utility libraries
core-decorators
Library of JavaScript stage-0 decorators (aka ES2016/ES7 decorators but that's not accurate!) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more! Works great with React/Angular/more!
59.4k+31%-9 years ago
0.20.0
ESM + CommonJSBundledAngular, React
@stdlib/assert-is-nan
Test if a value is NaN.
59k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
streaming-iterables
A collection of utilities for async iterables. Designed to replace your streams.
58.2k+94%-3 years ago
8.0.1
ESM + CommonJSBundledUtility libraries, Promises and async control flow
wanakana
Utility library for converting between Kanji, Hiragana, Katakana, and Romaji
57.5k+175%--
5.3.1
ESM + CommonJSBundledUtility libraries
ngxtension
Utilities library for Angular
56.6k+38%-2 days ago
7.3.1
ESM + CommonJSBundledPromises and async control flow, Angular
@wessberg/stringutil
A collection of helper functions for working with strings
53.2k---6 years ago
1.0.19
ESM + CommonJSBundledStrings and text, Utility libraries
react-flatten-children
React utility to flatten fragments.
49.4k+38%-6 years ago
1.1.2
ESM + CommonJSBundledReact, Utility libraries
@stdlib/assert-is-uint8clampedarray
Test if a value is a Uint8ClampedArray.
49k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
replace-last
JavaScript replaceLast function - Replaces last match for pattern in string with replacement
47.8k+21%-8 years ago
1.2.6
CommonJSNoneUtility libraries
type-plus
Provides additional types for TypeScript.
46.9k+72%-2 years ago
7.6.2
ESM + CommonJSBundledTypeScript tooling, Testing
@stdlib/assert-is-positive-integer
Test if a value is a number having a positive integer value.
46.4k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
just-compare
compare two collections
46.3k+4%--
2.3.0
ESM + CommonJSBundledTypeScript tooling, Utility libraries
lodash-match-pattern
Validates a deep structured JSON pattern
46.1k-63%-4 years ago
2.3.1
CommonJSNoneTesting, Utility libraries
@stdlib/assert-is-collection
Test if a value is a collection.
45.9k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@zerodev/sdk
A utility library for working with ERC-4337
44.8k---5 months ago
5.5.10
ESM + CommonJSBundledBlockchain and Web3, Bundlers
@naoak/workerize-transferable
Helper functions for workerlize-loader to support transferables
44.1k---5 years ago
0.1.0
ESM onlyNoneUtility libraries
@stdlib/assert-has-int8array-support
Detect native Int8Array support.
43.7k---7 months ago
0.2.3
CommonJSBundledUtility libraries

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.