obs-websocket-community-projects / obs-websocket-js

Consumes https://github.com/obsproject/obs-websocket
MIT License
680 stars 96 forks source link

Bower Installation Empty #281

Open OptrixAU opened 2 years ago

OptrixAU commented 2 years ago

Description:

I'm trying to use this from a web-page, and when I install from Bower, I don't get much - a few .json files and the types folder.

There's no src folder, and no dist folder, so unless there's another undocumented step (I've noticed there's a package.json, but that won't build because there's no src files), the Bower installer is broken.

t2t2 commented 2 years ago

Don't think anyone's gonna be interested in maintaining bower version anymore since all bundlers are configured to use node_modules (so npm/yarn/pnpm) or grab the standalone file (v4 / v5) when using it as script tag

OptrixAU commented 2 years ago

That's fair - but probably best to remove it from the documentation. I know it's an old page, but I don't believe the v5 version of the API is out in the wild yet, so it's still the 'active' version of the product.

Thanks for the link though - that's a huge help.

I'm obviously old and broken-down - I'm not a big fan of downloading web content through Node modules, as I've been burned by NPM packages being made for Node.js and not for the web. At the end of the day, I love a Javascript package for the web to just having a single, downloadable .JS file, exactly like the one you sent me.