Permalink
Browse files

node packaged manuscript

  • Loading branch information...
1 parent 9d676e9 commit c0defecdfbf2a2589e6609baa2594ede71578348 @substack committed Jun 2, 2014
Showing with 26 additions and 1 deletion.
  1. +6 −0 bin/cmd.js
  2. +7 −1 package.json
  3. +13 −0 readme.markdown
View
@@ -0,0 +1,6 @@
+#!/usr/bin/env node
+
+var fs = require('fs');
+var pager = require('default-pager');
+
+fs.createReadStream(__dirname + '/../readme.markdown').pipe(pager());
View
@@ -18,5 +18,11 @@
"email": "mail@substack.net",
"url": "http://substack.net"
},
- "license": "cc-by-3.0"
+ "license": "cc-by-3.0",
+ "dependencies": {
+ "default-pager": "^1.0.1"
+ },
+ "bin": {
+ "browserify-handbook": "bin/cmd.js"
+ }
}
View
@@ -27,6 +27,7 @@ front or backend alike.
- [introduction](#introduction)
- [table of contents](#table-of-contents)
+- [node packaged manuscript](#node-packaged-manuscript)
- [node packaged modules](#node-packaged-modules)
- [require](#require)
- [exports](#exports)
@@ -75,6 +76,18 @@ front or backend alike.
- [browser-unpack](#browser-unpack)
- [plugins](#plugins)
+# node packaged manuscript
+
+You can install this handbook with npm, appropriately enough. Just do:
+
+```
+npm install -g browserify-handbook
+```
+
+Now you will have a `browserify-handbook` command that will open this readme
+file in your `$PAGER`. Otherwise, you many continue reading this document as you
+are presently doing.
+
# node packaged modules
Before we can dive too deeply into how to use browserify and how it works, it is

0 comments on commit c0defec

Please sign in to comment.