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