@queso/pick-by

Creates an object composed of the object properties for which predicate returns truthy.


Keywords
object, pick, pickby, pick-by, truthy, predicate, properties, no-dependencies, typescript, queso, dependency-free, javascript, javascript-library, library, npm, npm-package, pwa, tiny, typescript-library, utils
License
MIT
Install
npm install @queso/pick-by@0.1.0

Documentation

Lavadrop

Travis Build Status codecov code style: prettier Unicorn Approved lerna Netlify Status

A library of zero-dependency npm modules that do just one thing. A guilt-free alternative to those bulkier utility libraries. Ideal for PWA development or whenever bytes are precious.

See the Documentation Site!

We welcome contributions. Please follow our contribution guidelines.

TypeScript

The source code in this library is written in TypeScript, providing rich editor support via Intellisense. No additional installation steps are required to gain this feature. Type definitions are generated from TypeScript source and bundled together with each npm module.

Documentation

Using the AST provided by the TypeScript compiler API, docs are generated from a combination of author-provided TSDoc comments and the type information extracted from the already-generated type definitions. The README files for each npm package are generated in the same way. This means 100% consistency between the documentation you see within your editor, the README and the docs site!