sindresorhus / has-own-propLinks
A safer `.hasOwnProperty()`
☆29Updated 2 years ago
Alternatives and similar repositories for has-own-prop
Users that are interested in has-own-prop are comparing it to the libraries listed below
Sorting:
- Check if a path is inside another path☆40Updated 4 months ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 4 months ago
- Check if a number is in a given range☆22Updated 5 years ago
- Regular expression for matching JavaScript comments☆32Updated 6 months ago
- Modify the values of an object☆29Updated 4 years ago
- Filter object keys and values into a new object☆105Updated last year
- Get a random key from an object☆18Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Check if a string is a scoped npm package name☆25Updated 3 years ago
- Extract the article title of a HTML document☆56Updated 4 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Get the version of a binary in semver format☆42Updated last year
- Get metadata on the default editor or a specific editor☆55Updated 4 months ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- Split lines into an array of lines☆46Updated 2 years ago
- Get the path of the parent module☆79Updated 4 months ago
- Check if a value is an object☆42Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Check if a file path is a compressed file☆19Updated last year
- Check if a path exists☆26Updated 2 years ago
- Regular expression for matching reserved filename characters☆52Updated 4 months ago
- Create an array without duplicates☆74Updated 4 years ago