Skip to content

Commit

Permalink
Add small crappy manpage (please improve)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 15, 2010
1 parent 9996b45 commit d7e7161
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -7,7 +7,6 @@ tags
doc/api.xml
doc/api/*.html
doc/changelog.html
doc/node.1
tools/nodejs.pc
test/fixtures/hello.txt
tmp/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -60,7 +60,7 @@ website-upload: doc
scp doc/* ryan@nodejs.org:~/web/nodejs.org/

docclean:
@-rm -f doc/node.1 doc/api/*.html doc/changelog.html
@-rm -f doc/api/*.html doc/changelog.html

clean:
@$(WAF) clean
Expand Down
62 changes: 62 additions & 0 deletions doc/node.1
@@ -0,0 +1,62 @@
.TH NODE.JS "1" "2010" "" ""


.SH "NAME"
node \- Server-side JavaScript

.SH SYNOPSIS


.B node
[
.B \-v
]
[
.B \-\-debug
|
.B \-\-debug-brk
]
[
.B \-\-v8-options
]
.br
[
.B \-e
.I command
|
.I script.js
]
[
.I arguments
]

Execute without arguments to start the REPL.


.SH DESCRIPTION

Node is a set of libraries for javascript which allows
it to be used outside of the browser. It is primarally
focused on creating simple, easy to build network clients
and servers.


.SH ENVIRONMENT VARIABLES

.IP NODE_PATH
':'-separated list of directories prefixed to the module search path,
require.paths.

.IP NODE_MODULE_CONTEXTS
If set to 1 then modules will load in their own global contexts.

.IP NODE_DISABLE_COLORS
If set to 1 then colors will not be used in the REPL.

.SH RESOURCES AND DOCUMENTATION

See the website for documentation http://nodejs.org/

Mailing list: http://groups.google.com/group/nodejs

IRC: irc.freenode.net #node.js

0 comments on commit d7e7161

Please sign in to comment.