573 packages
abbrev-kindof
Use abbreviations for checking type of given value. Like `kindof(val, 'soa')` to check that value is string, object or array.
acorn-extract-comments
Extract JavaScript code comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.
acorn-strip-comments
Strip code comments from given input string, using acorn javascript parser
add-package-owners
Add owners to the npm package through given json populated with author npm usernames
all-module-paths
Get all possible javascript (npm/yarn/pnpm) global or local, binaries or packages paths, e.g. node_modules and node_modules/.bin. Also works for those using NVM or such
always-callback
Create callback api for given sync function. Guarantee that given function (sync or async, no matter) will always have callback api and will handle errors correctly.
always-done
Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more
always-generator
Generatorify, basically, everything. You can create generator function from callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
always-promise
Promisify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
always-stream
Create stream from any value - function, array, string, buffer, promise, number, object and etc. Always returns a function that returns Transform Stream, using [through2][].
always-thunk
Create thunk from async or sync function. Works like `thunkify`.
anonymize-ip
Hide last ip numbers for given ip, like `129.89.5.243` -> `129.89.x.xxx` or `79.100.175.45` to `79.100.xxx.xx`. Or replace them with custom mask.
apidocs-cli
Command-line app for generating API docs from code comments. Can be used as API of helper-apidocs package.
arr-filter-fn
Filter and flattenify array to have only function values. Much like `arr-filter-function` package, but with flatten.
arr-filter-function
Fast filter array to have only function values. But also allow you to give iterator function which will be called on each element of the array that is function - much like array.map functionallity. Useful when you want to filter, but also want to map in s
arr-includes
Return positive value if (any of the) passed value(s) exists in array, or optionally an index
asia
Modern, fast, and innovative test runner with parallelism, concurrency, caching and incremental testing. Since 2017.
asia-cli
Modern, fast, and innovative test runner with parallelism, concurrency, caching and incremental testing. Since 2017.
asia-core
Modern, fast, and innovative test runner with parallelism, concurrency, caching and incremental testing. Since 2017.
asky
Small and simple, pluggable prompter
assertit
Thin sugar layer on top of `testit` framework, `is-kindof` and `assert`.
assert-kindof
Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].
async-base-iterator
Basic iterator for [async][] library that handles async and synchronous functions, also emits `beforeEach`, `afterEach` and `error` events. Using [async-simple-iterator][] and used in [async-control][].
async-control
Ultimate asynchronous control flow goodness with built-in hook system and compose, series, define and parallel methods. Uses async.map and async.mapSeries methods. Allows passing custom iterator function.
async-exec-cmd
Simple, fast, flexible and cross-platform async executing commands (with node-cross-spawn).