perfBar
perfBar copied to clipboard
Allow module to work for require in nodejs
It would be helpful to be able to require this module into other modules so it can be used with browserify. This is my usecase:
var perfBar = require('perfbar');
perfBar.init({
...
This JS file is being bundled by browserify. I think the way to make this work would be to add the correct file to the main property in package.json, but am unsure if that should be the file in lib or build.