$ cnpm install jessy
Get value by object property.
npm i jessy --save
import {jessy} from 'jessy';
jessy('hello.world', {
hello: {
world: 'could be used in browser as well',
},
});
// returns
'could be used in browser as well';
jessy('work-with-divider', '-', {
work: {
with: {
divider: 'could use divider as well',
},
},
});
// returns
'could use divider as well';
jessy('', {
hello: 'world',
});
// returns
{
hello: 'world';
}
MIT
Copyright 2013 - present © cnpmjs.org | Home |