hasown
A robust, ES3 compatible, "has own property" predicate.
$
npm install hasownOfficial docs outline
Extra Credit builds an outline of hasown's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
shebang-regex Regular expression for matching a shebang line
-
@jridgewell/sourcemap-codec Encode/decode sourcemap mappings
-
minipass minimal implementation of a PassThrough stream
-
picocolors The tiniest and the fastest library for terminal output formatting with ANSI colors
-
globals Global identifiers from different JavaScript environments
-
json5 JSON for Humans
-
webidl-conversions Implements the WebIDL algorithms for converting to and from JavaScript values
-
whatwg-url An implementation of the WHATWG URL Standard's URL API and parsing machinery
-
path-to-regexp Express style path to RegExp utility
-
resolve-from Resolve the path of a module like `require.resolve()` but from a given path
-
cookie HTTP server cookie parsing and serialization
-
yaml JavaScript parser and stringifier for YAML