1.0.0 • Published 4 years ago

@feizheng/next-pick v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

next-pick

Creates an object composed of the picked object properties.

version license size download

installation

npm install -S @feizheng/next-pick

usage

import '@feizheng/next-pick';

const object = {
  'a': 1,
  'c': 'c-value',
  some: {
    what: {
      and: {
        deep: {
          one: 1
        }
      }
    }
  }
};

const picked = nx.pick(object, ['a', 'c', 'some.what.and.deep.one']);

license

Code released under the MIT license.

1.0.0

4 years ago