ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
by ljharbJavaScript
Last 12 weeks · 1 commit
4 of 6 standards met
Repository: ljharb/es-to-primitive. Description: ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions. Stars: 22, Forks: 8. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: ecmascript, javascript, primitive, spec, toprimitive. Open PRs: 0, open issues: 1. Last activity: 2mo ago. Community health: 85%. Top contributors: ljharb, ExE-Boss.
If you want I can write a TypeScript type declaration file for this package so that TS developers can utilise the type-checking feature of the language as they use this package. Let me know if you are interested.