Skip to main content

es-to-primitive

v1.3.4LOW Risk

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

A90/100
Install Command
npm install es-to-primitive
orpnpm add es-to-primitive
Typosquat Defense
Authentic Name

No similarity to known typosquatting targets.

Lifecycle Scripts
Clean Execution

Zero preinstall or postinstall arbitrary execution hooks.

License Type
MIT

Permissive open-source license. Safe for enterprise & proprietary software.

Package Specifications

Unpacked Size
46.4 KB
Dependencies
6
Maintainers
1
Last Published
Jun 26, 2026
Free VS Code Extension

Detect Supply Chain Attacks Directly in Your Editor

Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.

Install Dependency Risk Lens

Frequently Asked Questions

Is es-to-primitive safe to use in production?
es-to-primitive received a Security Grade of A (90/100) with a risk evaluation of LOW. It contains zero malicious postinstall scripts.
What license does es-to-primitive use?
es-to-primitive is licensed under the MIT license (PERMISSIVE). This is a permissive open-source license suitable for commercial applications.
How do I install es-to-primitive?
Install it via NPM using: npm install es-to-primitive, or via PNPM: pnpm add es-to-primitive, or Yarn: yarn add es-to-primitive.