polar_codec_wasm 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "polar_codec_wasm",
3
+ "version": "1.0.0",
4
+ "author": "Aluria",
5
+ "description": "(Rust bindings) A Rust implementation of polar codes, a class of error-correcting codes that achieve the capacity of symmetric binary-input discrete memoryless channels.",
6
+ "keywords": [
7
+ "polar codes",
8
+ "error-correcting codes",
9
+ "wasm",
10
+ "rust",
11
+ "browser",
12
+ "node"
13
+ ],
14
+ "homepage": "https://github.com/Wu-Yijun/polar_codec_wasm#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/Wu-Yijun/polar_codec_wasm/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/Wu-Yijun/polar_codec_wasm.git"
21
+ },
22
+ "license": "MIT",
23
+ "sideEffects": false,
24
+ "engines": {
25
+ "node": ">=16.0.0"
26
+ },
27
+ "type": "module",
28
+ "main": "./dist/index.cjs",
29
+ "module": "./dist/index.mjs",
30
+ "types": "./dist/index.d.mts",
31
+ "unpkg": "./dist/index.iife.js",
32
+ "jsdelivr": "./dist/index.iife.js",
33
+ "exports": {
34
+ ".": {
35
+ "types": "./dist/index.d.mts",
36
+ "import": "./dist/index.mjs",
37
+ "require": "./dist/index.cjs",
38
+ "default": "./dist/index.mjs"
39
+ }
40
+ },
41
+ "files": [
42
+ "dist",
43
+ "README.md",
44
+ "LICENSE-MIT",
45
+ "LICENSE-APACHE"
46
+ ],
47
+ "devDependencies": {
48
+ "@types/node": "^26.0.1",
49
+ "tsdown": "^0.22.3",
50
+ "typescript": "^6.0.3"
51
+ },
52
+ "scripts": {
53
+ "build": "node ./scripts/build.ts",
54
+ "examples": "node ./examples/basic.ts && node ./examples/parameters.ts && node ./examples/noise.ts && node ./examples/performanec.ts"
55
+ }
56
+ }