Sha256: d631d6d95b831c4eb9243bb1de7bc6bcfb32783cea7179098264c871118cbc17
Contents?: true
Size: 523 Bytes
Versions: 38
Compression:
Stored size: 523 Bytes
Contents
/* * multiple-properties.js: Sample of including multiple properties from a package.json file * * (C) 2011, Charlie Robbins * */ var util = require('util'), path = require('path'), pkginfo = require('../lib/pkginfo')(module, { dir: path.resolve(__dirname, 'subdir' )}); 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));
Version data entries
38 entries across 38 versions & 4 rubygems