test/node_modules/builtin-modules/index.js

11 lines
217 B
JavaScript
Raw Normal View History

2018-12-13 14:35:46 +01: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();