-
http://nodejs.org/api/ -- The api docs. Great reference, i recommend the sections on globals, modules, events, streams, http
-
http://nodemanual.org/latest/nodejs_dev_guide/ - Pretty good bottom-up development guide for understanding common patterns and paradigms of the platform
-
http://www.2bs.nl/nodeconf2012/ -- Good slideshow about libuv and the platform architecture of node
-
https://github.com/joyent/node -- Check out the wiki for updates on the state of the overall project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = | |
env: process.env.NODE_ENV ? 'development' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var fs = require('fs'); | |
var outputFile, outputStream; | |
if (process.argv[1] == __filename) | |
outputFile = process.argv[2]; | |
if (!outputFile) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spec/lumber/transports/process-test.coffee b/spec/lumber/transports/process-test.coffee | |
new file mode 100644 | |
index 0000000..c60b0f9 | |
--- /dev/null | |
+++ b/spec/lumber/transports/process-test.coffee | |
@@ -0,0 +1,53 @@ | |
+fs = require "fs" | |
+path = require "path" | |
+mocha = require "mocha" | |
+assert = require("chai").assert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
compile_javascript: false | |
compile_javascript: css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coffee test.coffee | |
bar | |
bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by CoffeeScript 1.6.2 | |
(function() { | |
var fileName; | |
fileName = 'foo/bar/baz.mustache'; | |
fileName.match(/.+\/(.+)\..+\.mustache$/)[1]; | |
}).call(this); |