Files: 3814f0bab283660b1d7e93e049986e2c4c211a90 / modules / index.js
153 bytesRaw
1 | var fs = require('fs') |
2 | |
3 | fs.readdirSync(__dirname).forEach(function (e) { |
4 | if(e !== '_index.js' && /\js$/.test(e)) |
5 | exports[e] = require('./'+e) |
6 | }) |
7 | |
8 | |
9 |
Built with git-ssb-web