[Pkg-javascript-commits] [node-module-deps] 03/444: bin script

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:38 UTC 2017


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

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

commit 62388e9ad34de46928c00ab3d3cfe481d30c1db0
Author: James Halliday <mail at substack.net>
Date:   Mon Feb 11 06:31:30 2013 -0800

    bin script
---
 cmd.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/cmd.js b/cmd.js
new file mode 100755
index 0000000..6cc0411
--- /dev/null
+++ b/cmd.js
@@ -0,0 +1,8 @@
+#!/usr/bin/env node
+var parser = require('./');
+var JSONStream = require('JSONStream');
+
+var stringify = JSONStream.stringify();
+stringify.pipe(process.stdout);
+
+parser(process.argv.slice(2)).pipe(stringify);

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



More information about the Pkg-javascript-commits mailing list