Wondering what’s next for npm?Check out our public roadmap! »

    @jswork/next-sets

    1.0.1 • 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.

    Keywords

    Install

    npm i @jswork/next-sets

    DownloadsWeekly Downloads

    44

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.61 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar