@jswork/next-object-filter

1.0.0 • Public • Published

next-object-filter

Get new object like array filter.

version license size download

installation

npm install -S @jswork/next-object-filter

usage

import '@jswork/next-object-filter';

const env = process.env;
const res = nx.objectFilter(env, function (key, value) {
  return key.includes('npm_config');
});
const keys = Object.keys(res);
const allTruthy = keys.every(key => key.includes('npm_config'));

// true

license

Code released under the MIT license.

/@jswork/next-object-filter/

    Package Sidebar

    Install

    npm i @jswork/next-object-filter

    Weekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.83 kB

    Total Files

    5

    Last publish

    Collaborators

    • afeiship
    • yujiao.luo