documentit/node_modules/builtin-modules/index.js

11 lines
217 B
JavaScript
Raw Permalink Normal View History

2018-01-05 18:48:13 +00: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();