jonschlinkert / cache-base
Basic object store with methods like get/set/extend/omit
☆55Updated 2 years ago
Related projects: ⓘ
- Split a string on a given character or characters, with support for escaping.☆56Updated 2 years ago
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 2 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated last month
- Delete nested properties from an object using dot notation.☆34Updated 2 years ago
- Is the typeof value a javascript primitive?☆37Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆78Updated 2 years ago
- Define a non-enumerable property on an object.☆21Updated last year
- Check if a string matches the name of a Node.js builtin module☆58Updated 4 months ago
- Get the path of the parent module☆77Updated 10 months ago
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Make a shallow clone of an object, array or primitive.☆29Updated 4 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated last year
- Get a random item from an array☆57Updated 2 years ago
- Check if a URL is absolute☆77Updated 3 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 2 years ago
- Start a promise chain☆54Updated 2 years ago
- Filter object keys and values into a new object☆100Updated 3 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 2 months ago
- fs read and write streams based on minipass☆21Updated 2 months ago
- Generate a unique filename for use in temporary directories or caches.☆42Updated 3 weeks ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- Check if a Buffer/Uint8Array is a PNG image☆47Updated 2 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆45Updated 2 years ago
- Get the auth token set for an npm registry☆34Updated 3 months ago
- Create a MD5 hash with hex encoding☆45Updated 10 months ago
- Cache requires to be lazy-loaded when needed. Uses node's own require system with tried and true, plain-vanilla JavaScript getters.☆51Updated last year
- Create a Vinyl file from an actual file☆41Updated last year
- Generate a regex from a string or array of strings.☆57Updated 3 years ago
- Detects the casing of the input string (camelcase, lowercase, snakecase, kebabcase, snakecase, uppercase etc).☆15Updated 3 years ago
- Write a package.json file☆89Updated last month