2 * object-argument.js: Sample of including specific properties from a package.json file
3 * using Object argument syntax.
5 * (C) 2011, Charlie Robbins
9 var util = require('util'),
10 pkginfo = require('../lib/pkginfo')(module, {
11 include: ['version', 'author']
14 exports.someFunction = function () {
15 console.log('some of your custom logic here');
18 console.log('Inspecting module:');
19 console.dir(module.exports);
21 console.log('\nAll exports exposed:');
22 console.error(Object.keys(module.exports));