tarruda / has
Object.prototype.hasOwnProperty
☆61Updated last year
Related projects ⓘ
Alternatives and complementary repositories for has
- Read a package.json file☆166Updated last year
- Check if a URL is absolute☆78Updated 3 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆91Updated last year
- Find the closest package.json file☆159Updated last year
- Manipulate the HTTP Vary header☆61Updated 6 months ago
- Write a package.json file☆89Updated 3 months ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Filter object keys and values into a new object☆100Updated 5 months ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Parse milliseconds into an object☆119Updated 6 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆107Updated 2 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Get the real path of the system temp directory☆82Updated 2 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a value is a plain object☆102Updated 6 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- ES6 Proxies based deep clone☆129Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Make a function mimic another one☆91Updated 3 weeks ago
- Start a promise chain☆57Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 3 years ago
- Convert a value to an array☆131Updated 3 years ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated last month