diff options
| author | Arman <[email protected]> | 2018-08-02 16:50:59 -0700 |
|---|---|---|
| committer | Arman <[email protected]> | 2018-08-02 16:50:59 -0700 |
| commit | 7d5a0696ccc642db0d14aae8677ecada40bf85d1 (patch) | |
| tree | 1bbbcf2f4c4a3a733326ac2401375f8d891cb2f1 /node_modules/map-obj/readme.md | |
| parent | dialog box for adding items (diff) | |
| download | launcher-7d5a0696ccc642db0d14aae8677ecada40bf85d1.tar.xz launcher-7d5a0696ccc642db0d14aae8677ecada40bf85d1.zip | |
inital commit
Diffstat (limited to 'node_modules/map-obj/readme.md')
| -rw-r--r-- | node_modules/map-obj/readme.md | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/node_modules/map-obj/readme.md b/node_modules/map-obj/readme.md deleted file mode 100644 index fee03d9..0000000 --- a/node_modules/map-obj/readme.md +++ /dev/null @@ -1,29 +0,0 @@ -# map-obj [](https://travis-ci.org/sindresorhus/map-obj) - -> Map object keys and values into a new object - - -## Install - -``` -$ npm install --save map-obj -``` - - -## Usage - -```js -var mapObj = require('map-obj'); - -var newObject = mapObj({foo: 'bar'}, function (key, value, object) { - // first element is the new key and second is the new value - // here we reverse the order - return [value, key]; -}); -//=> {bar: 'foo'} -``` - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) |