Skip to content

json-aggregate is a javascript utility to perform aggregations on JSON-formatted data.

License

Notifications You must be signed in to change notification settings

salvadr/json-aggregate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-aggregate

Build Status

What is it?

json-aggregate is a javascript utility to perform aggregations on JSON-formatted data. It is inspired by the MongoDB Aggregation Framework, but in no way pretends to cover all its functionality.

Why?

json-aggregate allows developers to perform aggregation queries on JSON data without the need to store it. Nowadays the average app sends/receives JSON from multiple sources/apis/etc., and this utility can help developers extract some insights from the data quickly, and without using a database engine.

How to use

Install via npm / yarn:

npm install json-aggregate

aggregate.js exports a Collection class which must be instantiated with the JSON data:

const { Collection } = require('json-aggregate')

const collection = new Collection(myJsonData)

Documentation

Please check all the methods available as well as live examples in the documentation.

License

MIT

Contact

Salvador Navarrete Garcia salvador.io

About

json-aggregate is a javascript utility to perform aggregations on JSON-formatted data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published