Guarantees an array back
Wrap words to a specified length.
Escape carriage return the right way.
Returns a JSON representation of an error (handles nested errors and calls nested toJSONs)
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
Evaluate an expression and get what you expect.
Easy returns for if you don't have a () => around
Push the return value of the function to the stream, or make it emit the thrown error
Break out of a promise chain
Condense all string whitespace + options to preserve specific whitespace characters.
Alter arguments and return values before and after a function is called
Returns a JSON representation of request (supports koa/express requests props)
Module for extracting Twitter data using option objects
A synchronous Promise-like response object containing a resolved/rejected state and associated value
Return JSON representation of a response
Wraps synchronous functions with a callback-style API
A function that simply returns `this`. Useful as a chainable noop stub
Detect changes in the return values of a list of functions
powered by npms.io 🚀