@ndhoule/entries

Utility to get key-value pairs from an object

Stats

StarsIssuesVersionUpdatedCreatedSize
@ndhoule/entries
202.0.05 years ago6 years agoMinified + gzip package size for @ndhoule/entries in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.