You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
440 B
19 lines
440 B
3 years ago
|
/*
|
||
|
* all-properties.js: Sample of including all properties from a package.json file
|
||
|
*
|
||
|
* (C) 2011, Charlie Robbins
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
var util = require('util'),
|
||
|
pkginfo = require('../lib/pkginfo')(module);
|
||
|
|
||
|
exports.someFunction = function () {
|
||
|
console.log('some of your custom logic here');
|
||
|
};
|
||
|
|
||
|
console.log('Inspecting module:');
|
||
|
console.dir(module.exports);
|
||
|
|
||
|
console.log('\nAll exports exposed:');
|
||
|
console.error(Object.keys(module.exports));
|