require-yaml

require('require-yaml') lets you load YAML/YML files using require syntax. For example: var config = require('./config.yaml');

Reference

http://nodejs.org/api/all.html#all_require_extensions