0.23.2 • Published 6 years ago
mongodb-pipeline-factory v0.23.2
mongodb-pipeline-factory
Generate MongoDB pipelines with ease. Save dozens of keystrokes.
Features
- Faster overviews
- pipeline validation
- lightweight library
- 100 % test coverage
Installation
$ npm install mongodb-pipeline-factory --save
Usage
Import the stages or operators you need first.
import { cond, gt, project } from 'mongodb-pipeline-factory'
Now build your first pipeline.
project(
['item', 1],
['discount', cond(
gt('$quantity', 250),
30,
20
)]
)
Author
Julian Claus and contributors.
License
MIT
0.23.2
6 years ago
0.21.1
6 years ago
0.23.1
6 years ago
0.23.0
6 years ago
0.22.0
7 years ago
0.21.0
7 years ago
0.20.1
7 years ago
0.20.0
7 years ago
0.18.0
7 years ago
0.19.0
7 years ago
0.17.0
7 years ago
0.16.0
7 years ago
0.15.0
7 years ago
0.14.2
7 years ago
0.14.1
7 years ago
0.14.0
7 years ago
0.13.0
7 years ago
0.12.1
7 years ago
0.12.0
7 years ago
0.11.0
7 years ago
0.10.0
7 years ago
0.9.2
7 years ago
0.9.1
7 years ago
0.9.0
7 years ago
0.8.0
7 years ago
0.7.1
7 years ago
0.7.0
7 years ago
0.6.1
7 years ago
0.6.0
7 years ago
0.5.0
7 years ago
0.4.1
7 years ago
0.3.0
7 years ago
0.2.0
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.1
7 years ago