GoogleChrome / GoogleChrome/omnitone
Using NPM-installed version with bundler
- Dominant language
- JavaScript
- Stars
- 911
- Forks
- 118
- Avg merge
- 2m
- Merged PRs (30d)
- 3
Description
After running `npm install omnitone`, I'm trying the following in my code:
```js
const Omnitone = require('omnitone');
```
This results in an empty object. I see on the browser's console the Omnitone version statement logged, so I know the library is getting bundled and ran.
Any advice on how to properly `require()` this library? I'm using Browserify for bundling.
Contributor guide
Research direction
Start by inspecting the npm package entry point and how Browserify resolves `require('omnitone')`; the issue provides no repository file or test to begin with. Confirm that the bundled import exposes the library API rather than an empty object, and verify the result in the browser console.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100