ipfs storage for images and other nontext items. for use with etica - runs on etica network and currencys
https://collect.etica-stats.org
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.
12 lines
307 B
12 lines
307 B
var parsePath = require('./lib/parse-path') |
|
var setValue = require('./lib/set-value') |
|
|
|
function appendField (store, key, value) { |
|
var steps = parsePath(key) |
|
|
|
steps.reduce(function (context, step) { |
|
return setValue(context, step, context[step.key], value) |
|
}, store) |
|
} |
|
|
|
module.exports = appendField
|
|
|