Socket
Socket
Sign inDemoInstall

nessy

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nessy

set value in nested object


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

Readme

Source

Nessy License NPM version Dependency Status Build Status Coverage Status

Set value in nested object.

Install

npm i nessy --save

Hot to use?

const nessy = require('nessy');

nessy('hello.world', 'why not?', '.', {
    hello: {
        world: 'could be used in browser as well',
    },
});

// returns
({
    hello: {
        world: 'why not?',
    },
});

nessy('hello*world', 'why not?', '*', {
    hello: {
        world: 'can be used any divider',
    },
});

// returns
({
    hello: {
        world: 'why not?',
    },
});
  • jessy - get value by object property.
  • all-object-keys - get all keys of object.
  • finicky delete property of an object

License

MIT

Keywords

FAQs

Last updated on 04 Nov 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