🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

rust-wasm-heatmap

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rust-wasm-heatmap - npm Package Compare versions

Comparing version

to
0.1.5

2

package.json

@@ -7,3 +7,3 @@ {

],
"version": "0.1.4",
"version": "0.1.5",
"files": [

@@ -10,0 +10,0 @@ "rust_wasm_heatmap_bg.wasm",

@@ -5,24 +5,26 @@ # Rust HeatMap

## 🚴 Usage
## Usage
### Build with `wasm-pack build`
There is an example in /vite-www.
```
wasm-pack build
cd vite-www
pnpm install
pnpm dev
```
You should add "rust_heatmap_bg.wasm.d.ts" in pkg/package.json
## Build
### use the npm packages
### Build with `wasm-pack`
```
cd vite-www
wasm-pack build
```
pnpm install
Should add "rust_heatmap_bg.wasm.d.ts" in pkg/package.json
pnpm dev
```
## License
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

@@ -255,2 +255,5 @@ let wasm;

}
reset() {
wasm.heatmap_reset(this.__wbg_ptr);
}
/**

@@ -257,0 +260,0 @@ * @param {number} row

@@ -19,2 +19,3 @@ /* tslint:disable */

export function heatmap_heat_value(a: number, b: number, c: number): number;
export function heatmap_reset(a: number): void;
export function heatmap_color_value(a: number, b: number, c: number): number;

@@ -21,0 +22,0 @@ export function heatmap_color_values(a: number): number;

@@ -56,2 +56,3 @@ /* tslint:disable */

heat_value(row: number, col: number): number;
reset(): void;
/**

@@ -58,0 +59,0 @@ * @param {number} row

Sorry, the diff of this file is not supported yet