licenses.dev

filter-object v3.0.0

Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

MIT149
PackageRelationDependenciesPublished
arr-diff • 2.0.0Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.INDIRECT1
arr-diff • 4.0.0Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.INDIRECT0
arr-flatten • 1.1.0Recursively flatten an array or arrays.INDIRECT0
arr-union • 3.1.0Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.INDIRECT0
arr-unique • 1.0.2Get unique values of an array. Really, like deeply unique.INDIRECT31
array-unique • 0.2.1Return an array free of duplicate values. Fastest ES5 implementation.INDIRECT0
array-unique • 0.3.2Remove duplicate values from an array. Fastest ES5 implementation.INDIRECT0
assign-symbols • 1.0.0Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method.INDIRECT0
async-function • 1.0.0A function that returns the normally hidden `AsyncFunction` constructorINDIRECT0
async-generator-function • 1.0.0A function that returns the normally hidden `AsyncGeneratorFunction` constructorINDIRECT0
base • 0.11.2base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.INDIRECT44
braces • 1.8.5Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces specification.INDIRECT14
braces • 2.3.2Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.INDIRECT70
cache-base • 1.0.1Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.INDIRECT28
call-bind-apply-helpers • 1.0.2Helper functions around Function call/apply/bind, for use in `call-bind`INDIRECT2
call-bind • 1.0.9Robustly `.call.bind()` a functionINDIRECT18
call-bound • 1.0.4Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.INDIRECT15
class-utils • 0.3.6Utils for working with JavaScript classes and prototype methods.INDIRECT13
clone-deep • 0.3.0Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.INDIRECT12
collection-visit • 1.0.0Visit a method over the items in an object, or map visit over the objects in an array.INDIRECT3
component-emitter • 1.3.1Event emitterINDIRECT0
copy-descriptor • 0.1.1Copy a descriptor from object A to object BINDIRECT0
debug • 2.6.9small debugging utilityINDIRECT1
decode-uri-component • 0.2.2A better decodeURIComponentINDIRECT0
deep-equal • 1.1.2node's assert.deepEqual algorithmINDIRECT30
define-data-property • 1.1.4Define a data property on an object. Will fall back to assignment in an engine without descriptors.INDIRECT3
define-properties • 1.2.1Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.INDIRECT6
define-property • 0.2.5Define a non-enumerable property on an object.INDIRECT5
define-property • 1.0.0Define a non-enumerable property on an object.INDIRECT5
define-property • 2.0.2Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.INDIRECT6
dunder-proto • 1.0.1If available, the `Object.prototype.__proto__` accessor and mutator, call-boundINDIRECT4
es-define-property • 1.0.1`Object.defineProperty`, but not IE 8's broken one.INDIRECT0
es-errors • 1.3.0A simple cache for a few of the JS Error constructors.INDIRECT0
es-object-atoms • 1.1.2ES Object-related atoms: Object, ToObject, RequireObjectCoercibleINDIRECT1
expand-brackets • 0.1.5Expand POSIX bracket expressions (character classes) in glob patterns.INDIRECT1
expand-brackets • 2.1.4Expand POSIX bracket expressions (character classes) in glob patterns.INDIRECT63
expand-range • 1.8.2Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.INDIRECT12
extend-shallow • 2.0.1Extend an object with the properties of additional objects. node.js/javascript util.INDIRECT1
extend-shallow • 3.0.2Extend an object with the properties of additional objects. node.js/javascript util.INDIRECT4
extglob • 0.3.2Convert extended globs to regex-compatible strings. Add (almost) the expressive power of regular expressions to glob patterns.INDIRECT1
extglob • 2.0.4Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.INDIRECT66
filename-regex • 2.0.1Regular expression for matching file names, with or without extension.INDIRECT0
fill-range • 2.2.4Fill in a range of numbers or letters, optionally passing an increment or multiplier to use.INDIRECT11
fill-range • 4.0.0Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`INDIRECT7
filter-values • 0.4.1Filter an object values using glob patterns or with a `callback` function returns true. DIRECT70
for-in • 0.1.8Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.jsINDIRECT0
for-in • 1.0.2Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.jsINDIRECT0
for-own • 0.1.5Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.INDIRECT1
for-own • 1.0.0Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.INDIRECT1
fragment-cache • 0.2.1A cache for managing namespaced sub-cachesINDIRECT1
function-bind • 1.1.2Implementation of Function.prototype.bindINDIRECT0
functions-have-names • 1.2.3Does this JS environment support the `name` property on functions?INDIRECT0
generator-function • 2.0.1A function that returns the normally hidden `GeneratorFunction` constructorINDIRECT0
get-intrinsic • 1.3.1Get and robustly cache all JS language-level intrinsics at first require timeINDIRECT14
get-proto • 1.0.1Robustly get the [[Prototype]] of an objectINDIRECT6
get-value • 2.0.6Use property paths (`a.b.c`) to get a nested value from an object.INDIRECT0
glob-base • 0.3.0Returns an object with the (non-glob) base path and the actual pattern.INDIRECT3
glob-object • 1.0.0Filter an object using glob patterns and dot notation.DIRECT122
gopd • 1.2.0`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.INDIRECT0
has-property-descriptors • 1.0.2Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.INDIRECT1
has-symbols • 1.1.0Determine if the JS environment has Symbol support. Supports spec, or shams.INDIRECT0
has-tostringtag • 1.0.2Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.INDIRECT1
has-value • 0.3.1Returns true if a value exists, false if empty. Works with deeply nested values using object paths.INDIRECT4
has-value • 1.0.0Returns true if a value exists, false if empty. Works with deeply nested values using object paths.INDIRECT7
has-values • 0.1.4Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. INDIRECT0
has-values • 1.0.0Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. INDIRECT4
hasown • 2.0.3A robust, ES3 compatible, "has own property" predicate.INDIRECT1
is-accessor-descriptor • 1.0.2Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.INDIRECT2
is-arguments • 1.2.0Is this an arguments object? It's a harder question than you think.INDIRECT17
is-buffer • 1.1.6Determine if an object is a BufferINDIRECT0
is-data-descriptor • 1.0.1Returns true if a value has the characteristics of a valid JavaScript data descriptor.INDIRECT2
is-date-object • 1.1.0Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.INDIRECT17
is-descriptor • 0.1.8Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.INDIRECT4
is-descriptor • 1.0.4Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.INDIRECT4
is-dotfile • 1.0.3Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.INDIRECT0
is-equal-shallow • 0.1.3Does a shallow comparison of two objects, returning false if the keys or values differ.INDIRECT1
is-extendable • 0.1.1Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. "can the value have keys?"INDIRECT0
is-extendable • 1.0.1Returns true if a value is a plain object, array or function.INDIRECT2
is-extglob • 1.0.0Returns true if a string has an extglob.INDIRECT0
is-glob • 2.0.1Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a betINDIRECT1
is-match • 0.4.1Create a matching function from a glob pattern, regex, string, array, object or function.INDIRECT69
is-number • 2.1.0Returns true if the value is a number. comprehensive tests.INDIRECT2
is-number • 3.0.0Returns true if the value is a number. comprehensive tests.INDIRECT2
is-number • 4.0.0Returns true if the value is a number. comprehensive tests.INDIRECT0
is-plain-object • 1.0.0Returns true if an object was created by the `Object` constructor.INDIRECT1
is-plain-object • 2.0.4Returns true if an object was created by the `Object` constructor.INDIRECT1
is-posix-bracket • 0.1.1Returns true if the given string is a POSIX bracket expression (POSIX character class).INDIRECT0
is-primitive • 2.0.0Returns `true` if the value is a primitive. INDIRECT0
is-regex • 1.2.1Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTagINDIRECT17
is-windows • 1.0.2Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.INDIRECT0
isarray • 1.0.0Array#isArray for older browsersINDIRECT0
isobject • 0.2.0Returns true if the value is an object and not an array or null.INDIRECT0
isobject • 2.1.0Returns true if the value is an object and not an array or null.INDIRECT1
isobject • 3.0.1Returns true if the value is an object and not an array or null.DIRECT0
kind-of • 2.0.1Get the native type of a value.INDIRECT1
kind-of • 3.2.2Get the native type of a value.INDIRECT1
kind-of • 4.0.0Get the native type of a value.INDIRECT1
kind-of • 6.0.3Get the native type of a value.INDIRECT0
lazy-cache • 0.2.7Cache requires to be lazy-loaded when needed.INDIRECT0
map-cache • 0.2.2Basic cache object for storing key-value pairs.INDIRECT0
map-visit • 1.0.0Map `visit` over an array of objects.INDIRECT2
math-intrinsics • 1.1.0ES Math-related intrinsics and helpers, robustly cached.INDIRECT0
math-random • 1.0.4math-random is an drop-in replacement for Math.random that uses cryptographically secure random number generation, where available. It works in both browser and node environments.INDIRECT0
micromatch • 2.3.11Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.INDIRECT37
micromatch • 3.1.10Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.INDIRECT80
mixin-deep • 1.3.2Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.INDIRECT4
mixin-object • 2.0.1Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.INDIRECT2
ms • 2.0.0Tiny milisecond conversion utilityINDIRECT0
nanomatch • 1.2.13Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)INDIRECT68
normalize-path • 2.1.1Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes unless disabled.INDIRECT1
object-copy • 0.1.0Copy static properties, prototype properties, and descriptors from one object to another.INDIRECT9
object-is • 1.1.6ES2015-compliant shim for Object.is - differentiates between -0 and +0INDIRECT21
object-keys • 1.1.1An Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shimINDIRECT0
object-visit • 1.0.1Call a specified method on each value in the given object.INDIRECT1
object.omit • 2.0.1Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.INDIRECT3
object.pick • 1.3.0Returns a filtered copy of an object with only the specified keys, similar to `_.pick` from lodash / underscore.INDIRECT1
parse-glob • 3.0.4Parse a glob pattern into an object of tokens.INDIRECT5
pascalcase • 0.1.1Convert a string to pascal-case.INDIRECT0
posix-character-classes • 0.1.1POSIX character classes for creating regular expressions.INDIRECT0
preserve • 0.2.0Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.INDIRECT0
randomatic • 3.1.1Generate randomized strings of a specified length using simple character sequences. The original generate-password.INDIRECT3
regex-cache • 0.4.4Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.INDIRECT2
regex-not • 1.0.2Create a javascript regular expression for matching everything except for the given string.INDIRECT7
regexp.prototype.flags • 1.5.4ES6 spec-compliant RegExp.prototype.flags shim.INDIRECT23
repeat-element • 1.1.4Create an array by repeating the given value n times.INDIRECT0
repeat-string • 1.6.1Repeat the given string n times. Fastest implementation for repeating a string.INDIRECT0
resolve-url • 0.2.1Like Node.js’ `path.resolve`/`url.resolve` for the browser.INDIRECT0
ret • 0.1.15Tokenizes a string that represents a regular expression.INDIRECT0
safe-regex • 1.1.0detect possibly catastrophic, exponential-time regular expressionsINDIRECT1
set-function-length • 1.2.2Set a function's length propertyINDIRECT17
set-function-name • 2.0.2Set a function's name propertyINDIRECT6
set-value • 1.0.0Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.INDIRECT7
set-value • 2.0.1Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.INDIRECT8
shallow-clone • 0.1.2Make a shallow clone of an object, array or primitive.INDIRECT6
snapdragon-node • 2.1.1Snapdragon utility for creating a new AST node in custom code, such as plugins.INDIRECT10
snapdragon-util • 3.0.1Utilities for the snapdragon parser/compiler.INDIRECT2
snapdragon • 0.8.2Fast, pluggable and easy-to-use parser-renderer factory.INDIRECT56
source-map-resolve • 0.5.3Resolve the source map and/or sources for a generated file.INDIRECT5
source-map-url • 0.4.1Tools for working with sourceMappingURL comments.INDIRECT0
split-string • 3.1.0Split a string on a character except when the character is escaped.INDIRECT5
static-extend • 0.1.2Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.INDIRECT10
stringify-keys • 0.3.0Build an array of key paths from an object.INDIRECT2
to-object-path • 0.3.0Create an object path from a list or array of strings.INDIRECT2
to-regex-range • 2.1.1Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.INDIRECT4
to-regex • 3.0.2Generate a regex from a string or array of strings.INDIRECT14
union-value • 1.0.1Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.INDIRECT11
unset-value • 1.0.0Delete nested properties from an object using dot notation.INDIRECT6
urix • 0.1.0Makes Windows-style paths more unix and URI friendly.INDIRECT0
use • 3.1.1Easily add plugin support to your node.js application.INDIRECT0
ISC2
PackageRelationDependenciesPublished
glob-parent • 2.0.0Strips glob magic from a string to provide the parent pathINDIRECT2
remove-trailing-separator • 1.1.0Removes separators from the end of the string.INDIRECT0
BSD-3-Clause1
PackageRelationDependenciesPublished
source-map • 0.5.7Generates and consumes source mapsINDIRECT0
Apache-2.0 OR MIT1
PackageRelationDependenciesPublished
atob • 2.1.2atob for Node.JS and Linux / Mac / Windows CLI (it's a one-liner)INDIRECT0
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/npm/filter-object)](https://licenses.dev/npm/filter-object)
<a href="https://licenses.dev/npm/filter-object">
  <img src="https://licenses.dev/b/npm/filter-object" alt="licenses" />
</a>

Or the licenses badge code for the 3.0.0 version:

[![licenses](https://licenses.dev/b/npm/filter-object/3.0.0)](https://licenses.dev/npm/filter-object/3.0.0)
<a href="https://licenses.dev/npm/filter-object/3.0.0">
  <img src="https://licenses.dev/b/npm/filter-object/3.0.0" alt="licenses" />
</a>
GitHub