I noticed that the detector has been published to npm in #98 but the file does not contain any exports and thus it cannot be imported:
typeof require('js-library-detector') === 'undefined'
It'd be great to see:
module.exports = or export default
- some documentation (the published readme file talks about the extension instead of the library)
Here's the published content:
I noticed that the detector has been published to npm in #98 but the file does not contain any exports and thus it cannot be imported:
It'd be great to see:
module.exports =orexport defaultHere's the published content: