obj-props

    1.3.0 • Public • Published

    obj-props Build Status

    List of properties for JavaScript objects

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

    Forked from Sindre Sorhus' proto-props

    Install

    $ npm install --save obj-props
    

    Usage

    var objProps = require('obj-props');
     
    console.log(objProps);
    /*
    {
        "Array": [
            "arguments",
            "caller",
            "from",
            "isArray",
            "length",
            "name",
            "of",
            "prototype"
        ],
        "ArrayBuffer": [
            "arguments",
            "caller",
            "isView",
            "length",
            "name",
            "prototype"
        ],
        "Boolean": [
            "arguments",
            "caller",
            "length",
            "name",
            "prototype"
        ],
        ...
    */

    Dev

    The JSON file is generated by running:

    $ npm run generate
    

    License

    MIT © Dustin Specker

    Install

    npm i obj-props

    DownloadsWeekly Downloads

    48,275

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    8.03 kB

    Total Files

    4

    Last publish

    Collaborators

    • dustinspecker