@jswork/next-sets

1.0.5 • Public • Published

next-sets

Set a lot value value.

version license size download

installation

npm install -S @jswork/next-sets

usage

import '@jswork/next-sets';

const obj = {};

// set value to obj
nx.sets(obj, {
  testA: 'A1',
  testB: 'B1',
  testC: 'C1',
  testD: 'D1',
  'path.key1.a.b': 'b-value1'
});

// set values to nx
nx.sets({
  a: 1,
  b: 2,
  c: 3
})

license

Code released under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    22
    • latest

Version History

Package Sidebar

Install

npm i @jswork/next-sets

Homepage

js.work

Weekly Downloads

22

Version

1.0.5

License

MIT

Unpacked Size

5.34 kB

Total Files

6

Last publish

Collaborators

  • afeiship