sindresorhus / has-own-propView external linksLinks
A safer `.hasOwnProperty()`
☆29Jun 21, 2023Updated 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:
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Check if a Buffer/Uint8Array is a WebP image☆21Sep 18, 2021Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Strip comments from JSON. Lets you use comments in your JSON files!☆26Nov 1, 2023Updated 2 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Prefix CSS using Autoprefixer☆34May 1, 2024Updated last year
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Strip comments from CSS☆29Nov 1, 2023Updated 2 years ago
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Check if a number is in a given range☆22Jan 23, 2021Updated 5 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago