Skip to content

Commit d7e7161

Browse files
committed
Add small crappy manpage (please improve)
1 parent 9996b45 commit d7e7161

3 files changed

Lines changed: 63 additions & 2 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ tags
77
doc/api.xml
88
doc/api/*.html
99
doc/changelog.html
10-
doc/node.1
1110
tools/nodejs.pc
1211
test/fixtures/hello.txt
1312
tmp/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ website-upload: doc
6060
scp doc/* ryan@nodejs.org:~/web/nodejs.org/
6161

6262
docclean:
63-
@-rm -f doc/node.1 doc/api/*.html doc/changelog.html
63+
@-rm -f doc/api/*.html doc/changelog.html
6464

6565
clean:
6666
@$(WAF) clean

doc/node.1

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
.TH NODE.JS "1" "2010" "" ""
2+
3+
4+
.SH "NAME"
5+
node \- Server-side JavaScript
6+
7+
.SH SYNOPSIS
8+
9+
10+
.B node
11+
[
12+
.B \-v
13+
]
14+
[
15+
.B \-\-debug
16+
|
17+
.B \-\-debug-brk
18+
]
19+
[
20+
.B \-\-v8-options
21+
]
22+
.br
23+
[
24+
.B \-e
25+
.I command
26+
|
27+
.I script.js
28+
]
29+
[
30+
.I arguments
31+
]
32+
33+
Execute without arguments to start the REPL.
34+
35+
36+
.SH DESCRIPTION
37+
38+
Node is a set of libraries for javascript which allows
39+
it to be used outside of the browser. It is primarally
40+
focused on creating simple, easy to build network clients
41+
and servers.
42+
43+
44+
.SH ENVIRONMENT VARIABLES
45+
46+
.IP NODE_PATH
47+
':'-separated list of directories prefixed to the module search path,
48+
require.paths.
49+
50+
.IP NODE_MODULE_CONTEXTS
51+
If set to 1 then modules will load in their own global contexts.
52+
53+
.IP NODE_DISABLE_COLORS
54+
If set to 1 then colors will not be used in the REPL.
55+
56+
.SH RESOURCES AND DOCUMENTATION
57+
58+
See the website for documentation http://nodejs.org/
59+
60+
Mailing list: http://groups.google.com/group/nodejs
61+
62+
IRC: irc.freenode.net #node.js

0 commit comments

Comments
 (0)