Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Ben Noordhuis 5fba3b85c5 fs: fix ReferenceError in truncateSync()
Fixes a minor oversight introduced in 168a555, resulting in the following error:

  fs.js:467
      return fs.ftruncateSync(path, len, callback);
                                         ^
  ReferenceError: callback is not defined
      at Object.fs.truncateSync (fs.js:467:40)
2012-08-08 23:07:18 +02:00
benchmark benchmark: add single process tls connection benchmark 2012-07-14 01:43:34 +02:00
deps uv: upgrade to 41b1265 2012-08-07 01:58:00 +02:00
doc net: fix listen() regression, revert patches 2012-08-06 23:55:38 +02:00
lib fs: fix ReferenceError in truncateSync() 2012-08-08 23:07:18 +02:00
src dns: use uv_inet_ntop/uv_inet_pton instead of c-ares equivalents 2012-08-07 01:57:58 +02:00
test net: fix listen() regression, revert patches 2012-08-06 23:55:38 +02:00
tools installer: remove c-ares header files 2012-08-08 20:25:33 +02:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore .gitignore: Don't ignore node_modules (breaks npm) 2012-07-10 16:16:43 -07:00
.mailmap Add a .mailmap file, and clean up AUTHORS somewhat 2012-07-09 16:55:09 +02:00
.travis.yml test: add `.travis.yml` for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS Merge remote-tracking branch 'ry/v0.8' 2012-08-03 16:23:14 -07:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
ChangeLog Merge remote-tracking branch 'ry/v0.8' 2012-08-03 16:23:14 -07:00
LICENSE Update npm's license 2012-06-18 18:08:45 -07:00
Makefile Makefile: DRY js lint 2012-08-05 23:40:39 +02:00
README.md doc: build requires GNU make 3.81+ 2012-07-18 14:23:39 +02:00
common.gypi build: unbreak ustack on smartos 2012-07-19 18:20:34 +02:00
configure build: improve armv7 / hard-float detection 2012-07-26 23:38:34 +02:00
node.gyp dns: don't rely on libuv for c-ares integration 2012-08-07 01:57:50 +02:00
vcbuild.bat vcbuild.bat: add duplicate arg-ok label to work around cmd.exe bug 2012-06-14 00:56:43 +02:00

README.md

Evented I/O for V8 javascript. Build Status

To build:

Unix/Macintosh. Requires python 2.6 or 2.7 and GNU make 3.81 or newer:

./configure
make
make install

Windows:

vcbuild.bat

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