Files: f87cf52b80cde6f8bec32cfd25ce0f2fce489fcb / modules / index.js
154 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 | |
10 |
Built with git-ssb-web