Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Distopico Vegan 9e639edc8d style: reformat indent 6 years ago
..
index.js style: reformat indent 6 years ago
license style: reformat indent 6 years ago
package.json style: reformat indent 6 years ago
readme.md style: reformat indent 6 years ago

readme.md

modify-values Build Status

Modify the values of an object

Install

$ npm install --save modify-values

Usage

var modifyValues = require('modify-values');
modifyValues({foo: 'UNICORN'}, function (value, key) {
return value.toLowerCase();
});
//=> {foo: 'unicorn'}

API

modifyValues(input, modifier)

Modifies the values and returns a new object.

input

Required
Type: object

modifier(value, key)

Required
Type: function

Gets the value and key for each item and is expected to return the new value.

See modify-keys for modifying the keys of an object.

License

MIT © Sindre Sorhus