File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # FIRE LISt
2+
3+ > node-fire just a runner for these node_modules without cli.
4+
5+ ## Examples
6+
7+
8+ 1 . [ mathjs] ( https://github.com/josdejong/mathjs )
9+
10+ ```
11+ $ npm install mathjs
12+ $ fire mathjs add 5.1 5.2
13+ ```
14+
15+ 2. [node-open](https://github.com/pwnall/node-open)
16+
17+ ```
18+ $ npm install open
19+ $ fire open index.html
20+ $ fire open http://127.0.0.1
21+ ```
22+
23+
24+ ## Support List
25+
26+ * [shelljs](https://github.com/shelljs/shelljs)
27+ * [mathjs](https://github.com/josdejong/mathjs)
28+ * [node-open](https://github.com/pwnall/node-open)
29+ * [public-ip](https://github.com/sindresorhus/public-ip) fire public-ip v4
30+ * [cpy](https://github.com/sindresorhus/cpy) fire cpy ...1.html,2.html
31+ * [find-up](https://github.com/sindresorhus/find-up) fire find-up 1.html
32+ * [md5] fire md5 test
33+ * [sha1] fire sha1 test
34+ * [uuid] fire uuid
Original file line number Diff line number Diff line change 1+ const test = require ( 'ava' )
2+ const exec = require ( './_exec' )
3+ test ( 'calc' , ( t ) => {
4+ t . is ( exec ( '< examples/calc.js add 3 4' ) , '7' )
5+ t . is ( exec ( '< examples/calc.js multiply 3 4' ) , '12' )
6+ t . is ( exec ( '< examples/calc.js pow 3' ) , '9' )
7+ t . is ( exec ( '< examples/calc.js div 8 0 --b 2' ) , '4' )
8+ } )
You can’t perform that action at this time.
0 commit comments