Socket
Socket
Sign inDemoInstall

@evan/wasm

Package Overview
Dependencies
0
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @evan/wasm

set of wasm modules


Version published
Weekly downloads
223
increased by114.42%
Maintainers
1
Install size
4.51 MB
Created
Weekly downloads
 

Readme

Source

all other wasm modules were slow or/and leaked memory, so I made my own :)

yarn add @evan/wasm

you can find examples in examples/

targets:

  • deno
    • deno.js
    • simd.js
    • fetch.js
  • node
    • node.cjs
    • node.mjs
    • simd.mjs
import * as mod from '@evan/wasm/target/<mod>/<target>';
import * as mod from 'https://unpkg.com/@evan/wasm@0.0.80/target/<mod>/<target>';

// example
import * as snappy from 'https://unpkg.com/@evan/wasm@0.0.80/target/snappy/deno.js';

snappy.compress(new Uint8Array(100));

License

MIT © Evan

Keywords

FAQs

Last updated on 09 Jun 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc