elements-kinds

0.0.1 • Public • Published

elements-kinds

JS helper function to debug elements kinds in v8

More details in this blogpost by Mathias Bynes

Installation

yarn add elements-kinds

// npm
npm install elements-kinds

Usage

const getElementKinds = require("elements-kinds");

console.log(getElementKinds(new Array(12));
// HOLEY_SMI_ELEMENTS
console.log(getElementKinds([1, 2, "1", "3", 1.21]));
// PACKED_ELEMENTS

Readme

Keywords

Package Sidebar

Install

npm i elements-kinds

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

3.66 kB

Total Files

4

Last publish

Collaborators

  • vignesh.shanmugam