[Node.js] Reverse Reference Memo

Tadashi Shigeoka ·  Sun, September 8, 2013

A reverse reference memo for when you want to “do this” in Node.js.

Things limited to JavaScript only are summarized separately.

[JavaScript] 逆引きメモ | CodeNote.net


File

Check if a file exists.

var path = require("path");
path.existsSync("/tmp/upload/some_file.txt");

Error Handling

Node and Test - badatmath/jsdojo

That’s all from the Gemba.