UNPKG

not-empty-object

Version:

Shortcut. Check if a thing is a "not-empty-object". Also the opposite, if it's "not-object-or-is-empty".

11 lines (7 loc) 159 B
const Register = require('file-register'); // The lib. const lib = Register(); // Register files. lib.register(__dirname); // Export. module.exports = lib;