diff --git a/README.md b/README.md index ef2b9d3..318013d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ -# Stream-Reduce +# JSON-Stream-Reduce This is a simplified framework built off Mapbox's [tile-reduce](//github.com/mapbox/tile-reduce) to perform map-reduce functions against large files of line-delimited JSON. This simply removes all of the `tile` processing and instead passes each new line in the file to the map script. This is currently used for geometry-reconstruction of historical OSM objects as output from the [OSM-Wayback](//github.com/osmlab/osm-wayback) utility +### Install + + npm install json-stream-reduce + ### Example Implementation #### File: `example/index.js` @@ -36,13 +40,11 @@ This is currently used for geometry-reconstruction of historical OSM objects as {"count":10} {"count":10} {"count":10} - + #### Use $ node examples/index.js - + >>Starting up 2 workers... Job started. >>Processing lines from file: examples/file.jsonseq >>5 lines processed in 0s. >>Finished, value of count: 50 - - diff --git a/package.json b/package.json index d1024ce..4e91b9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "json-stream-reduce", - "version": "1.0.0", + "version": "1.0.1", "description": "Based on Mapbox's tile-reduce, a framework for map-reduce jobs in Node from streaming input", "main": "src/index.js", "dependencies": {