which-boxed-primitive
npmv1.1.1TypeScriptWhich kind of boxed JS primitive is this?
Overview
which-boxed-primitive is an npm package that which kind of boxed JS primitive is this?. The latest version is 1.1.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need which kind of boxed JS primitive is this? and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (23 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of which-boxed-primitive.
Dependencies
Runtime (5)
Dev (18)
Used by
Popular packages that depend on which-boxed-primitive.
Alternatives to which-boxed-primitive
`Object.defineProperty`, but not IE 8's broken one.
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
An AST-based pattern checker for JavaScript.
Get and robustly cache all JS language-level intrinsics at first require time
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
A simple cache for a few of the JS Error constructors.
A JavaScript parser
An Esprima-compatible JavaScript parser built on Acorn
A query library for ECMAScript AST using a CSS selector like query language.
A robust, ES3 compatible, "has own property" predicate.
Robustly `.call.bind()` a function
Frequently installed together
The semantic version parser used by npm.
Store information about any JS value in a side channel. Uses WeakMap if available.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly `.call.bind()` a function
Array#isArray for older browsers
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Is this an arguments object? It's a harder question than you think.
Is this value a JS SharedArrayBuffer?
An AST-based pattern checker for JavaScript.
Get and robustly cache all JS language-level intrinsics at first require time
Version history
| Version | Published | License |
|---|---|---|
| 1.1.1latest | 1 year ago | MIT |
| 1.1.0 | 1 year ago | MIT |
| 1.0.2 | 5 years ago | MIT |
| 1.0.1 | 7 years ago | MIT |
| 1.0.0 | 7 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install which-boxed-primitive?
Run `npm install which-boxed-primitive` to add which-boxed-primitive to your npm project.
What license is which-boxed-primitive released under?
which-boxed-primitive is distributed under the MIT license.
How popular is which-boxed-primitive?
which-boxed-primitive has approximately 0 downloads per week and 1 known dependent packages.