JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 224947
  • Score
    100M100P100Q11332F
  • License MIT

List of prototype properties for JavaScript types

Package Exports

  • proto-props
  • proto-props/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (proto-props) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

proto-props Build Status

List of prototype properties for JavaScript types

It's just a JSON file and can be used wherever.

Install

$ npm install proto-props

Usage

const prototypeProperties = require('proto-props');

console.log(prototypeProperties);
/*
{
    Array: [
        'length',
        'constructor',
        'toString',
        'toLocaleString',
        'join',
        'pop',
        …
    ],
    ArrayBuffer: [
        'constructor',
        'byteLength',
        'slice'
    ],
    …
}
*/

Dev

The JSON file is generated by running:

$ npm run make

License

MIT © Sindre Sorhus