Never Play Metal

    @ndhoule/entries

    2.0.0 • Public • Published

    entries CI

    Utility to get key-value pairs from an object.

    Installation

    $ component install ndhoule/entries
    $ npm install @ndhoule/entries

    API

    entries(object : Object)

    Return a nested array containing an object's iterable, own key-value pairs.

    entries({ a: 1, b: 2 });
    // => [['a', 1], ['b', 2]]

    License

    Released under the MIT license.

    Install

    npm i @ndhoule/entries

    DownloadsWeekly Downloads

    232

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • ndhoule