{"id":37019335,"url":"https://github.com/devappd/emscripten-sdk-npm","last_synced_at":"2026-01-14T02:08:20.769Z","repository":{"id":47710815,"uuid":"322978844","full_name":"devappd/emscripten-sdk-npm","owner":"devappd","description":"Install the Emscripten SDK using NPM. Provides a CLI and API for Node.js.","archived":false,"fork":true,"pushed_at":"2022-09-26T21:39:41.000Z","size":182,"stargazers_count":3,"open_issues_count":4,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-12T12:14:48.313Z","etag":null,"topics":["emscripten","emscripten-sdk","emsdk","nodejs","npm","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/emscripten-sdk","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"bvibber/emsdk-npm","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devappd.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-20T02:35:06.000Z","updated_at":"2024-07-19T01:34:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/devappd/emscripten-sdk-npm","commit_stats":null,"previous_names":["devappd/emsdk-npm"],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/devappd/emscripten-sdk-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devappd%2Femscripten-sdk-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devappd%2Femscripten-sdk-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devappd%2Femscripten-sdk-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devappd%2Femscripten-sdk-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devappd","download_url":"https://codeload.github.com/devappd/emscripten-sdk-npm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devappd%2Femscripten-sdk-npm/sbom","scorecard":{"id":336804,"data":{"date":"2025-08-11","repo":{"name":"github.com/devappd/emscripten-sdk-npm","commit":"dc1bf3e7f12ced2a9a424fb8b4c37e2dcb5b9124"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-emsdk.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/check-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-emsdk.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/check-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-emsdk.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/check-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-emsdk.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/check-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-emsdk.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-emsdk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-npm.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-npm.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-npm.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-npm.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-npm.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-npm.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-npm.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-npm.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-npm.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/deploy-npm.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-branch.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/test-branch.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-branch.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/devappd/emscripten-sdk-npm/test-branch.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/deploy-emsdk.yml:26","Warn: npmCommand not pinned by hash: .github/workflows/deploy-npm.yml:28","Warn: npmCommand not pinned by hash: .github/workflows/test-branch.yml:33","Info:   0 out of  17 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/check-emsdk.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy-emsdk.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy-npm.yml:1","Warn: no topLevel permission defined: .github/workflows/test-branch.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T04:55:23.346Z","repository_id":47710815,"created_at":"2025-08-18T04:55:23.355Z","updated_at":"2025-08-18T04:55:23.355Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emscripten","emscripten-sdk","emsdk","nodejs","npm","wasm","webassembly"],"created_at":"2026-01-14T02:08:20.300Z","updated_at":"2026-01-14T02:08:20.763Z","avatar_url":"https://github.com/devappd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emscripten-sdk\n\n[![test-branch](https://github.com/devappd/emsdk-npm/workflows/test-branch/badge.svg)](https://github.com/devappd/emsdk-npm/actions?query=workflow%3Atest-branch) [![emscripten-sdk](https://img.shields.io/npm/v/emscripten-sdk)](https://www.npmjs.com/package/emscripten-sdk) [![mit-license](https://img.shields.io/github/license/devappd/emsdk-npm?color=yellow)](https://github.com/devappd/emsdk-npm/blob/master/LICENSE)\n\nAn NPM wrapper for the [Emscripten SDK](https://emscripten.org/).\n\nThis package installs the Emscripten compiler and provides a command line and a JS interface to use in your build scripts.\n\nYou may install one of these two packages:\n\n* [emscripten-sdk](https://www.npmjs.com/package/emscripten-sdk) -- Control the SDK version via the NPM package version. Recommended.\n* [emscripten-sdk-npm](https://www.npmjs.com/package/emscripten-sdk-npm) -- Control the SDK version via CLI/API parameters. For advanced use.\n\n## Command line usage\n\n```sh\nnpx emsdk-checkout\n# To update SDK tags, run both `npx emsdk-pull` and `npx emsdk update-tags`\nnpx emsdk install \u003cversion\u003e\nnpx emsdk activate \u003cversion\u003e\nnpx emsdk-run emcc test/test.c -o test/test.html\n```\n\nThe `version` parameter is not required when using the `emscripten-sdk` package.\n\n## JavaScript usage\n\n```js\nconst emsdk = require('emsdk-npm');\n\nemsdk.checkout()\n.then(() =\u003e emsdk.update())\n.then(() =\u003e emsdk.install(version))\n.then(() =\u003e emsdk.activate(version))\n.then(() =\u003e emsdk.run(\n    'emcc',\n    [\n        // Arguments\n        'test/test.c', '-o', 'test/test.html'\n    ], \n    { \n        // child_process.spawn options, e.g., cwd\n    }\n))\n.catch((err) =\u003e {\n    // handle err...\n});\n```\n\nThe JS interface will skip installing the SDK and version if they already exist.\n\nThe `version` parameter is not required when using the `emscripten-sdk` package.\n\n## Install\n\n```sh\nnpm install --save-dev emscripten-sdk\n```\n\nBefore you install this package, you must install Python 3.6+ on your system. You may download it at [python.org](https://www.python.org/downloads/) or your OS's package manager.\n\nBy default, the SDK is installed into your `node_modules` tree. You may specify a custom path by\n[modifying your NPM config](https://docs.npmjs.com/cli/v6/using-npm/config) via one of the commands below. Do this **before** you install the package:\n\n|Action|Command\n|------|-------\n| Save the path to your project `.npmrc` | `npm config --userconfig \"/your/project/root/.npmrc\" set emsdk \"/your/absolute/custom/path\"`\n| Save the path to your user `.npmrc` | `npm config set emsdk \"/your/absolute/custom/path\"`\n| Set an environment variable | `set NPM_CONFIG_EMSDK=/your/absolute/custom/path`\n| Use a config argument to NPM temporarily | `npm [command] --emsdk=\"/your/absolute/custom/path\"`\n\n## Version selection\n\nIf you install the `emscripten-sdk` package, then the Emscripten version is selected via the NPM\npackage version. Change the version you need by editing your `package.json`.\n\nFor example, to force version `1.40.1`, you specify the NPM tag as `sdk-1.40.1`. On the command line:\n\n```sh\nnpm install --save-dev emscripten-sdk@sdk-1.40.1\n```\n\nYou may only specify single versions this way. You may not specify version ranges. If you do not specify a version, then the latest version will be selected.\n\nIf you install the `emscripten-sdk-npm` package, then you will specify the `version` parameter in the command line and JS API. To force version `1.40.1`, you specify `1.40.1`. To select the most recent version, you specify `latest`.\n\n### Upgrading the SDK\n\nIf you install the `emscripten-sdk` package, then you are locked into your selected SDK version unless\nyou opt-in to a newer version. If you selected `latest`, then you are locked into the most recent\nversion at the time of installation.\n\nTo upgrade, enter this command once a new version is published:\n\n```sh\nnpm install --save-dev emscripten-sdk@latest\n```\n\nIf you install the `emscripten-sdk-npm` package, then you will receive updates so long as you update\nthe SDK store via `npx emsdk-pull` or the API `emscripten.update()`, then install the `latest` SDK version.\n\n## License\n\nMIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevappd%2Femscripten-sdk-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevappd%2Femscripten-sdk-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevappd%2Femscripten-sdk-npm/lists"}