mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
20 lines
523 B
JavaScript
20 lines
523 B
JavaScript
![]() |
/*
|
||
|
* 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));
|