Socket
Socket
Sign inDemoInstall

set-object-value

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    set-object-value

set object nested value


Version published
Weekly downloads
321
decreased by-66.35%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Set or replace object's nested value

  • GIT
    • https://github.com/react-atomic/react-atomic-organism/tree/master/packages/lib/set-object-value
  • NPM

How to use

import set from 'set-object-value';

const obj={};
set(obj, ['a', 'b'], 'c');

console.log(obj);

//=> { a: { b: 'c' } }

Get Object Value

https://github.com/react-atomic/react-atomic-organism/tree/master/packages/lib/get-object-value

FAQs

Last updated on 27 Mar 2023

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc