copenhagen icon indicating copy to clipboard operation
copenhagen copied to clipboard

Distribute as an npm package

Open miguelrk opened this issue 4 years ago • 0 comments

Hey! First of all thanks for open-sourcing the Copenhagen editor, the web was in need of a lightweight alternative to Monaco and Copenhaguen just works great!

I believe that a much needed step in making this more accessible is to package the code as an npm package, so that it is easier to consume as a dependency. Publishing to npm will also automatically publish it to CDN serivces like skypack for importing with <script src="..."> directly. This would make the editor easier to get started with and I think would enhance the dev experience.

My use case is using it inside a Vue.js SPA. Is bundling as a npm package planned? Would there be interest in doing so? Thanks!

miguelrk avatar Aug 10 '21 07:08 miguelrk