tarruda / has
Object.prototype.hasOwnProperty
☆60Updated last year
Alternatives and similar repositories for has:
Users that are interested in has are comparing it to the libraries listed below
- 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 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Manipulate the HTTP Vary header☆61Updated 9 months ago
- Read a package.json file☆166Updated last year
- Check if a value is a plain object☆102Updated 9 months ago
- Check if your package was installed globally☆70Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Find the closest package.json file☆162Updated last year
- Check whether a request can be retried based on the `error.code`☆79Updated 3 years ago
- Parse milliseconds into an object☆119Updated 9 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Tests whether one path is inside another path☆41Updated 4 years ago
- Make a callback- or promise-based function support both promises and callbacks.☆112Updated last year
- Check if something is a Node.js stream☆110Updated 3 months ago
- Import a globally installed module☆57Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 6 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the path of the parent module☆77Updated last year
- Check if a string matches the name of a Node.js builtin module☆58Updated 9 months ago
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Write a package.json file☆89Updated 6 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago