[Pkg-javascript-commits] [node-jsonstream] 97/214: fix missing brackets

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 12:58:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-jsonstream.

commit e33e3e5a97b013275ab4c807b517d92cb2fa1b97
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Sun Sep 1 12:03:50 2013 +0100

    fix missing brackets
---
 readme.markdown | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/readme.markdown b/readme.markdown
index e737cc4..39040e5 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -96,7 +96,12 @@ stream.on('root', function(root, count) {
 awesome!
 
 
-`JSONStream.parser('docs..value')` (or `JSONStream.parser('docs', {recurse: true}, 'value')` using an array) will emit every `value` object that is a child, grand-child, etc. of the `docs` object. In this example, it will match exactly 5 times at various depth levels, emitting 0, 1, 2, 3 and 4 as results.
+`JSONStream.parser('docs..value')` 
+(or `JSONStream.parser(['docs', {recurse: true}, 'value'])` using an array)
+will emit every `value` object that is a child, grand-child, etc. of the 
+`docs` object. In this example, it will match exactly 5 times at various depth
+levels, emitting 0, 1, 2, 3 and 4 as results.
+
 ```js
 {
   "total": 5,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-jsonstream.git



More information about the Pkg-javascript-commits mailing list