emscripten-core/emscripten

Publish emsdk on npm + integrate with npm

Open

#5.774 geöffnet am 13. Nov. 2017

Auf GitHub ansehen
 (28 Kommentare) (14 Reaktionen) (0 zugewiesene Personen)C++ (3.519 Forks)batch import
help wantedwontfix

Repository-Metriken

Stars
 (27.361 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19T 10h) (147 gemergte PRs in 30 T)

Beschreibung

Right now it's kind of kludgy to create npm packages that are built from C sources using Emscripten. Normally, when doing a local 'npm install', the devDependencies for the package are pulled from npm. But if Emscripten is a development dependency, people need to "manually" install emsdk, activate the right version, etc. It would be great if Emscripten could also be pulled from npm to 1) make this less kludgy 2) enable automatically activating the Emscripten/node/llvm versions required for the project in question, for example based on additional info in the package.json file.

Contributor Guide