Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esm support #93

Open
jimmywarting opened this issue Feb 13, 2021 · 5 comments
Open

esm support #93

jimmywarting opened this issue Feb 13, 2021 · 5 comments

Comments

@jimmywarting
Copy link

Would very much like to just simply use (async) import from a CDN without bundling the code

@bengreenier
Copy link

bengreenier commented Apr 24, 2023

FWIW - I forked and created https://www.npmjs.com/package/@bengreenier/sdp-transform (gh link) for my needs, I'm no ESM expert but I think it's sufficient for most ESM use cases.

@jimmywarting
Copy link
Author

why didn't you just send a PR and stick to plain vanilla javascript and some jsDoc? i think typescript syntax is unnecessary, more complicated and require compiling, which is unnecessary, not the original code, so it's then also harder to debug.

@bengreenier
Copy link

I wanted my fork to be typescript 🤷‍♂️ feel free to ignore it and/or do those things yourself.

@lostmsu
Copy link

lostmsu commented Aug 11, 2023

@bengreenier does your fork have a release I could just download and import without NPM?

@bengreenier
Copy link

@bengreenier does your fork have a release I could just download and import without NPM?

Like a standalone GitHub release? Unfortunately it currently does not. Though I suppose you could grab the tarball from npm, same as you could for this original package. Maybe something like https://stackoverflow.com/questions/15035786/download-source-from-npm-without-installing-it would meet your needs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants