Create simple typed and recursive schemas by sampling an object that represents the data structure in question.
published version 0.0.2, 5 years agoFast array search algorithm that requires that the searched array is sorted.
published version 0.0.2, 5 years agoRepeat 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
published version 0.0.1, 5 years agoHtml parser that returns a data tree object.
published version 0.0.2, 5 years agoA key-value cache where data is automatically deleted after a set ammount of seconds.
published version 1.0.0, 5 years agoCheck whether the provided value is undefined.
published version 3.0.4, 5 years agoA 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.
published version 1.1.1, 5 years agoReturns whether or not the passed arguments are defined - ie. not undefined
published version 1.0.1, 5 years agoAssert that the passed arguments are defined.
published version 1.0.2, 5 years agoNode 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.
published version 1.0.1, 5 years agoReturns a string representing a value's constructor's name property, except for 'NaN', infinite values, 'Infinity', 'Null' and 'Undefined'.
published version 1.0.4, 5 years agoCreates an error-message string with ANSI-colors to make it easy to spot in the console.
published version 1.0.1, 5 years agoThrows a TypeError with a generated error message with ANSI-colors for easier console output readability.
published version 1.0.1, 5 years agoBrowser-safely returns whether the current process is a node-js process.
published version 1.0.1, 5 years agoPerform easy type-checks with a simple type assertion.
published version 1.0.1, 5 years agoReturns true if 'value' is a constructor
published version 1.1.1, 5 years agoThrows TypeError if 'value' is not a constructor.
published version 1.0.1, 5 years agoReturns whether the passed value is an arguments-object
published version 1.0.1, 5 years agoTakes an arguments-object and returns its values in an array.
published version 1.0.1, 5 years ago