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
// }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i mqf

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • airam