0.23.2 • Published 5 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
5 years ago
0.21.1
5 years ago
0.23.1
5 years ago
0.23.0
5 years ago
0.22.0
6 years ago
0.21.0
6 years ago
0.20.1
6 years ago
0.20.0
6 years ago
0.18.0
6 years ago
0.19.0
6 years ago
0.17.0
6 years ago
0.16.0
6 years ago
0.15.0
6 years ago
0.14.2
6 years ago
0.14.1
6 years ago
0.14.0
6 years ago
0.13.0
6 years ago
0.12.1
6 years ago
0.12.0
6 years ago
0.11.0
6 years ago
0.10.0
6 years ago
0.9.2
6 years ago
0.9.1
6 years ago
0.9.0
6 years ago
0.8.0
6 years ago
0.7.1
6 years ago
0.7.0
6 years ago
0.6.1
6 years ago
0.6.0
6 years ago
0.5.0
6 years ago
0.4.1
6 years ago
0.3.0
6 years ago
0.2.0
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.1
6 years ago