From 55401233d61c89230146ea4522ffba198c558903 Mon Sep 17 00:00:00 2001 From: contra Date: Tue, 11 Aug 2020 13:40:07 -0700 Subject: [PATCH] chore: establish fork - update deps --- .gitignore | 3 ++- package.json | 20 ++++++++++---------- readme.md | 13 ++++++++++--- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index b512c09..25c8fdb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +package-lock.json \ No newline at end of file diff --git a/package.json b/package.json index c73767e..a735c65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "ndjson", - "version": "1.5.0", + "name": "ndjson-next", + "version": "1.5.1", "description": "streaming newline delimited json parser + serializer", "main": "index.js", "scripts": { @@ -13,22 +13,22 @@ "license": "BSD-3-Clause", "dependencies": { "json-stringify-safe": "^5.0.1", - "minimist": "^1.2.0", - "split2": "^2.1.0", - "through2": "^2.0.3" + "minimist": "^1.2.5", + "split2": "^3.0.0", + "through2": "^4.0.0" }, "devDependencies": { - "concat-stream": "^1.5.0", - "tape": "^4.6.3" + "concat-stream": "^2.0.0", + "tape": "^5.0.0" }, "repository": { "type": "git", - "url": "git://github.com/maxogden/ndjson.git" + "url": "git://github.com/contra/ndjson.git" }, "bugs": { - "url": "https://github.com/maxogden/ndjson/issues" + "url": "https://github.com/contra/ndjson/issues" }, - "homepage": "https://github.com/maxogden/ndjson", + "homepage": "https://github.com/contra/ndjson", "keywords": [ "ndjson", "ldjson" diff --git a/readme.md b/readme.md index 19dc11b..10e7486 100644 --- a/readme.md +++ b/readme.md @@ -1,13 +1,20 @@ -# ndjson +# Fork Notes + +- Updates all dependencies +- Promises to stay maintained and responsive to PRs + +All thanks to the original maintainer Max Ogden. + +# ndjson-next streaming [newline delimited json](https://en.wikipedia.org/wiki/Line_Delimited_JSON) parser + serializer. Available as a JS API or a command line tool -[![NPM](https://nodei.co/npm/ndjson.png)](https://nodei.co/npm/ndjson/) +[![NPM](https://nodei.co/npm/ndjson-next.png)](https://nodei.co/npm/ndjson-next/) ## usage ``` -var ndjson = require('ndjson') +var ndjson = require('ndjson-next') ``` #### ndjson.parse(opts)