jessy

3.1.1 • Public • Published

Jessy License NPM version Dependency Status Build Status Coverage Status

Get value by object property.

Install

npm i jessy --save

Hot to use?

const jessy = require('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'
}

Related

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i jessy

Weekly Downloads

12,301

Version

3.1.1

License

MIT

Unpacked Size

7.44 kB

Total Files

5

Last publish

Collaborators

  • coderaiser