muse-js-tinybuild
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

muse-js-tinybuild

npm i muse-js-tinybuild

Browser: <script src="https://cdn.jsdelivr.net/npm/muse-js-tinybuild@0.0.2/dist/muse.min.js"></script> then MuseClient will be in the window

Just a repackaging of MuseClient to try to minify the library as much as possible using tinybuild.

The bundle has MuseClient available as a global so it can be included right in your html files and used in script tags. Run the index.html on a local server or use the tinybuild command for a quick test.

We got it down to 187kb minified, which is... a lot... but I blame the use of rxjs. This bundle includes types.

To run this repo, open the root in terminal and type:

npm i

then

npm start

or

npm i -g tinybuild & tinybuild which will also handle missing dependencies

Might rewrite this down the line to be clean of fluff.

Readme

Keywords

Package Sidebar

Install

npm i muse-js-tinybuild

Weekly Downloads

1

Version

1.0.0

License

AGPL-3.0-or-later

Unpacked Size

395 kB

Total Files

12

Last publish

Collaborators

  • moothyknight