avatar

bemoje


Benjamin Møller Jensen

Packages 25

Description

Create simple typed and recursive schemas by sampling an object that represents the data structure in question.

Publisher

published 0.0.2a year ago

Description

Fast array search algorithm that requires that the searched array is sorted.

Publisher

published 0.0.210 months ago

Description

test

Publisher

published 2.0.010 months ago

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

published 0.0.110 months ago

Description

Html parser that returns a data tree object.

Publisher

published 0.0.210 months ago

Description

Convenient and extremely easy to use SHA-512 encryption/decryption of strings or objects with a single method for each direction - easy!

Publisher

published 1.0.18 months ago

Description

A key-value cache where data is automatically deleted after a set ammount of seconds.

Publisher

published 1.0.05 months ago

Description

Check whether the provided value is undefined.

Publisher

published 3.0.45 months ago

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

published 1.1.15 months ago

Description

Returns whether or not the passed arguments are defined - ie. not undefined

Publisher

published 1.0.15 months ago

Description

Assert that the passed arguments are defined.

Publisher

published 1.0.24 months ago

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

published 1.0.15 months ago

Description

Returns a string representing a value's constructor's name property, except for 'NaN', infinite values, 'Infinity', 'Null' and 'Undefined'.

Publisher

published 1.0.45 months ago

Description

Check if a value is of the given type.

Publisher

published 1.0.25 months ago

Description

Returns whether 'value' is an Array.

Publisher

published 1.0.15 months ago

Description

Returns true of value 'v' is null.

Publisher

published 1.0.15 months ago

Description

Creates an error-message string with ANSI-colors to make it easy to spot in the console.

Publisher

published 1.0.15 months ago

Description

Throws a TypeError with a generated error message with ANSI-colors for easier console output readability.

Publisher

published 1.0.15 months ago

Description

Browser-safely returns whether the current process is a node-js process.

Publisher

published 1.0.15 months ago

Description

Perform easy type-checks with a simple type assertion.

Publisher

published 1.0.15 months ago

Description

Returns true if 'value' is a constructor

Publisher

published 1.1.15 months ago

Description

Throws TypeError if 'value' is not a constructor.

Publisher

published 1.0.15 months ago

Description

Returns whether the passed value is an arguments-object

Publisher

published 1.0.15 months ago

Description

Takes an arguments-object and returns its values in an array.

Publisher

published 1.0.15 months ago

Description

Flattens the passed array recursively.

Publisher

published 3.0.0a month ago
show more packages