This package has been deprecated

Author message:

This package is no longer maintained.

mfl

0.1.0 • Public • Published

MFL

MongoDB Filter Language

This is a simple string parser than generates MongoDB compatiable filter objects from a string.

Use it for search forms or api endpoint queries.

Turns: type:c created_by:ffan client.name:?hospital

into:

{
  type: 'c',
  created_by: 'ffan',
  'client.name': {$regex:new RegExp('hospital'), options:'i'}
}

#License

Apache-2.0

/mfl/

    Package Sidebar

    Install

    npm i mfl

    Weekly Downloads

    1

    Version

    0.1.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • metasansana