Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / pkginfo / examples / object-argument.js
1 /*
2  * object-argument.js: Sample of including specific properties from a package.json file
3  *                     using Object argument syntax.
4  *
5  * (C) 2011, Charlie Robbins
6  *
7  */
8  
9 var util = require('util'),
10     pkginfo = require('../lib/pkginfo')(module, {
11       include: ['version', 'author']
12     });
13
14 exports.someFunction = function () {
15   console.log('some of your custom logic here');
16 };
17
18 console.log('Inspecting module:');
19 console.dir(module.exports);
20
21 console.log('\nAll exports exposed:');
22 console.error(Object.keys(module.exports));