Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Ben Noordhuis f0c1376e07 net: make .write() throw on bad input
Passing a non-buffer or non-string argument to Socket.prototype.write triggered
an assert:

  Assertion failed: (Buffer::HasInstance(args[0])), function Write,
  file ../src/stream_wrap.cc, line 289.

Fixes #2532.
2012-01-14 02:13:24 +01:00
benchmark bench: add /echo endpoint to http_simple 2011-12-30 02:03:10 +01:00
deps update libuv to 855764406e 2012-01-11 19:35:03 -08:00
doc website: Add "Api Docs" button next to "Download" 2012-01-12 14:24:40 -08:00
lib net: make .write() throw on bad input 2012-01-14 02:13:24 +01:00
src dgram: use slab memory allocator 2012-01-12 17:34:15 +01:00
test net: make .write() throw on bad input 2012-01-14 02:13:24 +01:00
tools Use .jpg instead of .bmp for .msi 2012-01-10 14:26:22 -08:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore .gitignore core and vgcore files 2011-12-14 03:38:41 +01:00
.travis.yml test: add `.travis.yml` for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS 2012.01.06, Version 0.6.7 (stable) 2012-01-06 16:31:03 -08:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
ChangeLog docs: fix ChangeLog 2012-01-07 07:51:51 +01:00
LICENSE s/NPM/npm/ 2011-12-05 16:20:44 -08:00
Makefile makefile: ignore `lib/punycode.js` while linting 2012-01-11 10:42:33 +01:00
Makefile-gyp build: fix breakage when resuming make 2011-09-12 21:48:30 +00:00
README.md docs: mention that python 2.6 or 2.7 is required 2012-01-05 16:44:22 +01:00
common.gypi Support native extension loading on Windows 2011-10-29 01:06:51 +02:00
configure build: honour the PYTHON environment variable 2012-01-08 21:25:04 +01:00
configure-gyp build: fixups for sunos 2011-09-12 21:48:30 +00:00
node.gyp support nosnapshot in vcbuild.bat 2012-01-06 16:26:16 -08:00
vcbuild.bat support nosnapshot in vcbuild.bat 2012-01-06 16:26:16 -08:00
wscript simple DTrace ustack helper 2011-12-16 11:38:20 -08:00

README.md

Evented I/O for V8 javascript. Build Status

To build:

Unix/Macintosh (requires python 2.6 or 2.7):

./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