
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Universal WebAssembly tools for JavaScript.
This project aims to make a common and future-proof solution for WebAssembly modules support suitable for various JavaScript runtimes, Frameworks, and build Tools following WebAssembly/ES Module Integration proposal from WebAssembly Community Group as much as possible.
The development will be split into multiple stages.
[!IMPORTANT] This Project is under development! Join the linked discussions to be involved!
.wasm
files (unjs/unwasm#3)Install package from npm:
# npm
npm install unwasm
# yarn
yarn add unwasm
# pnpm
pnpm install unwasm
# bun
bun install unwasm
import unwasmPlugin from "unwasm/plugin";
export default {
plugins: [
unwasmPlugin.rollup({
/* options */
}),
],
};
esmImport
: Direct import the wasm file instead of bundling, required in Cloudflare Workers (default is false
)lazy
: Import .wasm
files using a lazily evaluated promise for compatibility with runtimes without top-level await support (default is false
)corepack enable
pnpm install
pnpm dev
Made with 💛
Published under MIT License.
FAQs
WebAssembly tools for JavaScript
The npm package unwasm receives a total of 681,054 weekly downloads. As such, unwasm popularity was classified as popular.
We found that unwasm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.