mqf

1.0.0 • Public • Published

mqf

Like classNames for React but for MongoDB queries or whatever you want.

npm version

Usage

Note: mqf creates a new object with the filtered query.

mqf(
  { a: 3 }],
  [{ b: 5 }, !isNaN(3)],
  [{ c: 3 }, false
);
 
// Output
// {
//   a: 3,
//   b: 5
// }

Package Sidebar

Install

npm i mqf

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • airam