0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
Cross-platform JavaScript runtime environment https://nodejs.org/
Go to file
Mathias Schreck 7c5fabe405 doc: fix modules require.resolve documentation
The behavior of the `node_modules` lookup algorithm was
changed in #1177, but the documentation was not updated completely
to describe the new behavior.

The pseudocode of the lookup algorithm did not metion that
`index.json` is tried to be loaded if you require a folder.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
2014-09-15 17:17:05 +04:00
benchmark buffer: improve {read,write}{U}Int* methods 2014-06-23 16:58:55 -07:00
deps configure: add --openssl-no-asm flag 2014-09-03 17:35:18 +04:00
doc doc: fix modules require.resolve documentation 2014-09-15 17:17:05 +04:00
lib url: Add support for RFC 3490 separators 2014-08-27 14:36:04 +04:00
src Now working on 0.10.32 2014-08-19 18:12:30 -04:00
test tests: add test for non-integer delay timers. 2014-09-02 22:22:57 +04:00
tools Now working on 0.10.31 2014-07-31 11:12:08 -07:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore timers: backport f8193ab 2014-07-31 08:53:24 -07:00
.mailmap Update .mailmap and AUTHORS 2013-03-19 20:07:38 +01:00
.travis.yml test: add .travis.yml for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS 2014.08.19, Version 0.10.31 (Stable) 2014-08-19 11:19:52 -04:00
BSDmakefile
ChangeLog 2014.08.19, Version 0.10.31 (Stable) 2014-08-19 11:19:52 -04:00
common.gypi gyp: use --export-dynamic on FreeBSD 2014-08-27 00:20:10 +04:00
configure configure: add --openssl-no-asm flag 2014-09-03 17:35:18 +04:00
CONTRIBUTING.md node: signing the CLA is no longer a requirement 2014-06-11 11:51:53 -04:00
LICENSE doc: Update LICENSE for npm's Artistic 2.0 2013-08-05 13:56:05 -07:00
Makefile timers: backport f8193ab 2014-07-31 08:53:24 -07:00
node.gyp gyp: preserve v8dbg syms on freebsd too 2014-08-18 17:58:36 +04:00
README.md doc: link to pre-built binaries, add install note 2013-10-01 08:37:32 +02:00
vcbuild.bat build: windows signing should include timestamps 2014-03-27 11:54:13 -07:00

Evented I/O for V8 javascript. Build Status

To build:

Prerequisites (Unix only):

* GCC 4.2 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./configure
make
make install

Windows:

vcbuild.bat

You can download pre-built binaries for various operating systems from http://nodejs.org/download/. The Windows and OS X installers will prompt you for the location to install to. The tarballs are self-contained; you can extract them to a local directory with:

tar xzf /path/to/node-<version>-<platform>-<arch>.tar.gz

Or system-wide with:

cd /usr/local && tar --strip-components 1 -xzf \
                     /path/to/node-<version>-<platform>-<arch>.tar.gz

To run the tests:

Unix/Macintosh:

make test

Windows:

vcbuild.bat test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers