odin-javascript-exercises/node_modules/builtin-modules/index.js

11 lines
217 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
'use strict';
var blacklist = [
'freelist',
'sys'
];
module.exports = Object.keys(process.binding('natives')).filter(function (el) {
return !/^_|^internal|\//.test(el) && blacklist.indexOf(el) === -1;
}).sort();