Packages 25
Description
Create simple typed and recursive schemas by sampling an object that represents the data structure in question.
Publisher
Description
Fast array search algorithm that requires that the searched array is sorted.
Publisher
Description
Repeat a given function for ever given number of milliseconds. There can be set a max number of repeats, a max datetime in unix epoch format, and an array of arguments can be passed to the function as context. The count number index is passed to the funct
Publisher
Description
Html parser that returns a data tree object.
Publisher
Description
A key-value cache where data is automatically deleted after a set ammount of seconds.
Publisher
Description
Check whether the provided value is undefined.
Publisher
Description
A class with min and max properties and exposes methods for determining if a value is inside or outside the range between the min and max values.
Publisher
Description
Returns whether or not the passed arguments are defined - ie. not undefined
Publisher
Description
Assert that the passed arguments are defined.
Publisher
Description
Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.
Publisher
Description
Returns a string representing a value's constructor's name property, except for 'NaN', infinite values, 'Infinity', 'Null' and 'Undefined'.
Publisher
Description
Check if a value is of the given type.
Publisher
Description
Returns whether 'value' is an Array.
Publisher
Description
Returns true of value 'v' is null.
Publisher
Description
Creates an error-message string with ANSI-colors to make it easy to spot in the console.
Publisher
Description
Throws a TypeError with a generated error message with ANSI-colors for easier console output readability.
Publisher
Description
Browser-safely returns whether the current process is a node-js process.
Publisher
Description
Perform easy type-checks with a simple type assertion.
Publisher
Description
Returns true if 'value' is a constructor
Publisher
Description
Throws TypeError if 'value' is not a constructor.
Publisher
Description
Returns whether the passed value is an arguments-object
Publisher
Description
Takes an arguments-object and returns its values in an array.
Publisher
Description
Flattens the passed array recursively.