Socket
Socket
Sign inDemoInstall

jessy

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jessy

get value by object property


Version published
Weekly downloads
16K
decreased by-12.69%
Maintainers
1
Install size
8.09 kB
Created
Weekly downloads
 

Readme

Source

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'
}
  • nessy - set value in nested object.
  • all-object-keys - get all keys of object.
  • finicky - delete property of an object

License

MIT

Keywords

FAQs

Last updated on 01 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc