immutable-helper

Immutable helper

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
immutable-helper
0.0.58 years ago8 years agoMinified + gzip package size for immutable-helper in KB

Readme

immutable-helper

Some help methods for immutable.js.

Usage

var immutableHelper = require('immutable-helper');
	var map = Immutable.Map({
    a: Immutable.Map({
        b: 1
    })
});

	var b = immutableHelper.findByPath(map, "a/b");

API

getByPath(obj, path)

setByPath(obj, path, val)

pushByPath(obj, path, val)

deleteByPath(obj, path)

findByProperty(list, propName, propVal)

LICENSE

MIT