Search results

1000+ packages found

Test if a value is a relative path.

published version 0.2.2, a year ago2 dependents licensed under $Apache-2.0
223

Takes a file path and checks to see if the modules it requires match the package.json

published version 6.0.0, 2 days ago2 dependents licensed under $ISC
2,860

vfile utility to rename the path parts of a file

published version 3.0.0, 2 years ago2 dependents licensed under $MIT
1,766

Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension

published version 1.0.2, 8 years ago3 dependents licensed under $MIT
4,893

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

published version 2.0.2, 7 years ago855 dependents licensed under $MIT
121,367,437

Check specified path sign with native current OS signing tools.

published version 2.2.3, 7 years ago0 dependents licensed under $MIT
577

Get the native type of a value.

published version 6.0.3, 5 years ago2151 dependents licensed under $MIT
548,345,680

find or check all paths/values to a key/prop in array of objects or object - when unknown full path to a prop/key

published version 0.5.5, 5 years ago0 dependents licensed under $MIT
2,565

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

published version 7.0.0, 7 years ago2904 dependents licensed under $MIT
433,566,522

Returns true if the value is an object and not an array or null.

published version 4.0.0, 6 years ago1736 dependents licensed under $MIT
243,366,821

Returns true if a value is a plain object, array or function.

published version 1.0.1, 8 years ago887 dependents licensed under $MIT
244,279,085

Returns true if a string has an extglob.

published version 2.1.1, 9 years ago2371 dependents licensed under $MIT
300,067,663

Returns true if an object was created by the `Object` constructor, or Object.create(null).

published version 5.0.0, 5 years ago2617 dependents licensed under $MIT
233,044,497

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.

published version 1.0.2, 7 years ago1235 dependents licensed under $MIT
117,314,673

Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.

published version 0.1.0, 9 years ago83 dependents licensed under $MIT
12,127,722

type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.

published version 0.4.0, 5 years ago1775 dependents licensed under $MIT
291,278,890

Check if a module ID is resolvable with require()

published version 1.1.0, 7 years ago135 dependents licensed under $ISC
17,476,843

Check if a path is the current working directory. This is a fork of sindresorhus/is-path-cwd, but with CommonJS support.

published version 3.0.0, 3 years ago1 dependents licensed under $MIT
67

Validates that all require statements in a project point to an existing path and are correctly cased.

published version 0.3.0, 11 years ago0 dependents licensed under $MIT
621

A powerful JSON path processor with no third-party dependencies. Allows you to traverse JSON object trees with a simple dot-delimited path format e.g. "obj.name"

published version 1.0.0, a year ago0 dependents licensed under $MIT
245