lib_um_crypto_rust/um_wasm_loader
鲁树人 fdc867bbc3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore: bump to v0.1.0
2024-09-24 22:32:52 +01:00
..
src [wasm/qtfm] feat: add qtfm wasm glue 2024-09-20 21:14:31 +01:00
.gitignore build: experimental build with node package 2024-09-03 00:17:54 +01:00
.npmrc [wasm] chore: change npm package namespace 2024-09-14 18:45:51 +01:00
build.js CI: Build and publish (#7) 2024-09-24 21:31:18 +00:00
ci_publish.sh CI: Build and publish (#7) 2024-09-24 21:31:18 +00:00
package.json chore: bump to v0.1.0 2024-09-24 22:32:52 +01:00
pnpm-lock.yaml [wasm] build: fix build with node/browser 2024-09-14 19:55:53 +01:00
Readme.MD [wasm] chore: change npm package namespace 2024-09-14 18:45:51 +01:00
Release.MD build: experimental build with node package 2024-09-03 00:17:54 +01:00
rollup.config.mjs [wasm] feat: expose library version 2024-09-19 00:00:30 +01:00
test.cjs [wasm] build: fix build with node/browser 2024-09-14 19:55:53 +01:00
test.mjs [wasm] build: fix build with node/browser 2024-09-14 19:55:53 +01:00

@unlock-music/crypto

用于 Unlock Music 的加解密支持库。

使用 Rust 编写,并使用 wasm-pack 转义到 WebAssembly 格式,用于在不同的平台(浏览器)运行。

使用

在项目根目录下,建立或更改 .npmrc 文件,确保下述行存在:

@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/

使用你喜欢的包管理器安装,例如 npmpnpm

# 使用 npm
npm install @unlock-music/crypto

# 使用 pnpm
pnpm install @unlock-music/crypto

具体能干啥… 参考源码吧。