Search results
77 packages found
Require a module and apply the export if it is a function.
Portable Object.create that is not a shim and drops the verbose property descriptor syntax.
Augment a thunk such that it returns a promise if applied without a callback.
Curried function which takes a map of `RegExp` string keys which when successfully matched given string, resolves to mapped value.
- RegExp
- curried
- function
- functional
- hash
- higher-order
- map
- regexp
- regexp-map
- regular expression
- regular-expression
- regularexpression
- string
Curried function deriving new array values by applying provided function to each item/index of provided array then applying `concat` to the results. Fast and compatible with modern or old browsers.
- array
- array-map
- array-mapcat
- arraymap
- function
- functional
- collect
- concat
- concat-map
- concatMap
- curried
- flat
- flat-map
- flat_map
- View more
UTF-16 code-point based lexical string scanner.
- lexer
- lexical
- lexical-scanning
- lexicalanalysis
- lexicalscanning
- scanner
- scanning
- ucs
- ucs-2
- ucs2
- unicode
- utf
- utf-16
- utf16
Require a list of modules and apply the export if it is function.
Returns the first element of the array or `undefined` if given an empty or non-array value.
Similar to the Unix `|` operator; returns a function that invokes the given series of functions whose output is subsequently passed to the next function in the series.
- apply
- chain
- chained
- compose
- composition
- flow
- function
- function-pipeline
- functional
- higher-order
- pipe
- pipeline
- series
- unix
Higher-Order getter/setter.
- accessor
- accessors
- Object.defineProperty
- define
- defineProperty
- higher-order
- get
- getter
- object
- properties
- property
- set
- setter
Load a directory of grunt configurations. Very similar to load-grunt-tasks but for configuration.
Allows you to identify client requests within non-sequential logs such as Syslog by adding a response header of `X-Request-Id`. Allows setting value via query parameter or request header. For Koa and Express.
The unicorn String.prototype.prepend as a curried function.
For each element in source `object` apply `iteratee` to (value, key, object). Include key in result array where return value is `true`.
JavaScript CometD Bayeux implementation with jQuery bindings packaged for npm users.
Returns a new array comprised of the given array's contents with the given value appended.
Curried predicate which checks that a value exists in an array. Generally faster than `indexOf` across JS engines.
- array
- auto-curried
- contain
- contains
- curried
- in-array
- in_array
- inarray
- include
- includes
- partial-application
- point-free
- pointfree
Transform stream accepting a JSON string to parse and stringify with an optional delimiter.
Converts a Koa app into a supertest compatible agent instance.