├── .gitignore ├── .travis.yml ├── README.md ├── benchmarks ├── buffer-alloc │ ├── common-node.js │ ├── node.js │ └── ringo.js ├── file-read │ ├── common-node.js │ ├── node.js │ └── ringo.js ├── file-stream │ ├── common-node.js │ ├── node.js │ └── ringo.js ├── graph ├── hello-world │ ├── common-node.js │ ├── node.js │ └── ringo.js ├── no-alloc │ ├── common-node.js │ ├── node.js │ └── ringo.js ├── run ├── run.js ├── set-timeout │ ├── common-node.js │ ├── node.js │ └── ringo.js └── string-alloc │ ├── common-node.js │ ├── node.js │ └── ringo.js ├── bin └── common-node ├── doc ├── all │ └── index.html ├── assert │ └── index.html ├── binary │ └── index.html ├── fs-base │ └── index.html ├── httpclient │ └── index.html ├── index.html ├── io │ └── index.html ├── jsgi │ └── index.html ├── static │ ├── jquery.js │ ├── jsdoc.css │ ├── jsdoc.js │ └── style.css ├── system │ └── index.html └── test │ └── index.html ├── examples ├── base64.js ├── chat.js ├── hello.js ├── http.js ├── sleep.js ├── spawn.js ├── static.js ├── traceur.js └── twitter.js ├── lib ├── all.js ├── assert.js ├── binary.js ├── console.js ├── fs-base.js ├── global.js ├── httpclient.js ├── httpserver.js ├── io.js ├── ringo │ └── httpclient.js ├── run.js ├── socket.js ├── subprocess.js ├── system.js └── test.js ├── package.json ├── test ├── all.js ├── binary │ ├── all.js │ ├── bytearray-encodings-tests.js │ ├── bytearray-tests.js │ ├── bytestring-encodings-tests.js │ └── bytestring-tests.js ├── fs-base │ ├── all.js │ ├── dirname.js │ ├── extension.js │ ├── iterator.js │ ├── main.js │ ├── normal.js │ ├── path.js │ ├── relative.js │ └── resolve.js ├── http.js ├── io.js ├── jsgi.js └── subprocess.js └── tools └── jsdoc ├── hosted.html ├── jsdoc.css ├── static.html └── style.css /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/buffer-alloc/common-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/buffer-alloc/common-node.js -------------------------------------------------------------------------------- /benchmarks/buffer-alloc/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/buffer-alloc/node.js -------------------------------------------------------------------------------- /benchmarks/buffer-alloc/ringo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/buffer-alloc/ringo.js -------------------------------------------------------------------------------- /benchmarks/file-read/common-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/file-read/common-node.js -------------------------------------------------------------------------------- /benchmarks/file-read/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/file-read/node.js -------------------------------------------------------------------------------- /benchmarks/file-read/ringo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/file-read/ringo.js -------------------------------------------------------------------------------- /benchmarks/file-stream/common-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/file-stream/common-node.js -------------------------------------------------------------------------------- /benchmarks/file-stream/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/file-stream/node.js -------------------------------------------------------------------------------- /benchmarks/file-stream/ringo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/file-stream/ringo.js -------------------------------------------------------------------------------- /benchmarks/graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/graph -------------------------------------------------------------------------------- /benchmarks/hello-world/common-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/hello-world/common-node.js -------------------------------------------------------------------------------- /benchmarks/hello-world/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/hello-world/node.js -------------------------------------------------------------------------------- /benchmarks/hello-world/ringo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/hello-world/ringo.js -------------------------------------------------------------------------------- /benchmarks/no-alloc/common-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/no-alloc/common-node.js -------------------------------------------------------------------------------- /benchmarks/no-alloc/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/no-alloc/node.js -------------------------------------------------------------------------------- /benchmarks/no-alloc/ringo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/no-alloc/ringo.js -------------------------------------------------------------------------------- /benchmarks/run: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/run -------------------------------------------------------------------------------- /benchmarks/run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/run.js -------------------------------------------------------------------------------- /benchmarks/set-timeout/common-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/set-timeout/common-node.js -------------------------------------------------------------------------------- /benchmarks/set-timeout/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/set-timeout/node.js -------------------------------------------------------------------------------- /benchmarks/set-timeout/ringo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/set-timeout/ringo.js -------------------------------------------------------------------------------- /benchmarks/string-alloc/common-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/string-alloc/common-node.js -------------------------------------------------------------------------------- /benchmarks/string-alloc/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/string-alloc/node.js -------------------------------------------------------------------------------- /benchmarks/string-alloc/ringo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/benchmarks/string-alloc/ringo.js -------------------------------------------------------------------------------- /bin/common-node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/bin/common-node -------------------------------------------------------------------------------- /doc/all/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/all/index.html -------------------------------------------------------------------------------- /doc/assert/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/assert/index.html -------------------------------------------------------------------------------- /doc/binary/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/binary/index.html -------------------------------------------------------------------------------- /doc/fs-base/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/fs-base/index.html -------------------------------------------------------------------------------- /doc/httpclient/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/httpclient/index.html -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/index.html -------------------------------------------------------------------------------- /doc/io/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/io/index.html -------------------------------------------------------------------------------- /doc/jsgi/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/jsgi/index.html -------------------------------------------------------------------------------- /doc/static/jquery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/static/jquery.js -------------------------------------------------------------------------------- /doc/static/jsdoc.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/static/jsdoc.css -------------------------------------------------------------------------------- /doc/static/jsdoc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/static/jsdoc.js -------------------------------------------------------------------------------- /doc/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/static/style.css -------------------------------------------------------------------------------- /doc/system/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/system/index.html -------------------------------------------------------------------------------- /doc/test/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/doc/test/index.html -------------------------------------------------------------------------------- /examples/base64.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/base64.js -------------------------------------------------------------------------------- /examples/chat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/chat.js -------------------------------------------------------------------------------- /examples/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/hello.js -------------------------------------------------------------------------------- /examples/http.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/http.js -------------------------------------------------------------------------------- /examples/sleep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/sleep.js -------------------------------------------------------------------------------- /examples/spawn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/spawn.js -------------------------------------------------------------------------------- /examples/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/static.js -------------------------------------------------------------------------------- /examples/traceur.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/traceur.js -------------------------------------------------------------------------------- /examples/twitter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/examples/twitter.js -------------------------------------------------------------------------------- /lib/all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/all.js -------------------------------------------------------------------------------- /lib/assert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/assert.js -------------------------------------------------------------------------------- /lib/binary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/binary.js -------------------------------------------------------------------------------- /lib/console.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/console.js -------------------------------------------------------------------------------- /lib/fs-base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/fs-base.js -------------------------------------------------------------------------------- /lib/global.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/global.js -------------------------------------------------------------------------------- /lib/httpclient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/httpclient.js -------------------------------------------------------------------------------- /lib/httpserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/httpserver.js -------------------------------------------------------------------------------- /lib/io.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/io.js -------------------------------------------------------------------------------- /lib/ringo/httpclient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/ringo/httpclient.js -------------------------------------------------------------------------------- /lib/run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/run.js -------------------------------------------------------------------------------- /lib/socket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/socket.js -------------------------------------------------------------------------------- /lib/subprocess.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/subprocess.js -------------------------------------------------------------------------------- /lib/system.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/system.js -------------------------------------------------------------------------------- /lib/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/lib/test.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/package.json -------------------------------------------------------------------------------- /test/all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/all.js -------------------------------------------------------------------------------- /test/binary/all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/binary/all.js -------------------------------------------------------------------------------- /test/binary/bytearray-encodings-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/binary/bytearray-encodings-tests.js -------------------------------------------------------------------------------- /test/binary/bytearray-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/binary/bytearray-tests.js -------------------------------------------------------------------------------- /test/binary/bytestring-encodings-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/binary/bytestring-encodings-tests.js -------------------------------------------------------------------------------- /test/binary/bytestring-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/binary/bytestring-tests.js -------------------------------------------------------------------------------- /test/fs-base/all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/all.js -------------------------------------------------------------------------------- /test/fs-base/dirname.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/dirname.js -------------------------------------------------------------------------------- /test/fs-base/extension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/extension.js -------------------------------------------------------------------------------- /test/fs-base/iterator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/iterator.js -------------------------------------------------------------------------------- /test/fs-base/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/main.js -------------------------------------------------------------------------------- /test/fs-base/normal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/normal.js -------------------------------------------------------------------------------- /test/fs-base/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/path.js -------------------------------------------------------------------------------- /test/fs-base/relative.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/relative.js -------------------------------------------------------------------------------- /test/fs-base/resolve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/fs-base/resolve.js -------------------------------------------------------------------------------- /test/http.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/http.js -------------------------------------------------------------------------------- /test/io.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/io.js -------------------------------------------------------------------------------- /test/jsgi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/jsgi.js -------------------------------------------------------------------------------- /test/subprocess.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/test/subprocess.js -------------------------------------------------------------------------------- /tools/jsdoc/hosted.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/tools/jsdoc/hosted.html -------------------------------------------------------------------------------- /tools/jsdoc/jsdoc.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/tools/jsdoc/jsdoc.css -------------------------------------------------------------------------------- /tools/jsdoc/static.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/tools/jsdoc/static.html -------------------------------------------------------------------------------- /tools/jsdoc/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olegp/common-node/HEAD/tools/jsdoc/style.css --------------------------------------------------------------------------------