JSPM

wasm-uint

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q17756F
  • License MIT

uint utilities for WebAssembly

Package Exports

  • wasm-uint

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wasm-uint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wasm-uint

uint utilities for WebAssembly

npm i wasm-uint --save

Included functions

all function return a new Uint8ClampedArray

import { uint8 } from 'wasm-uint'  // 8 bit unsigned int
import { uint16 } from 'wasm-uint' // 16 bit unsigned int
import { uint32 } from 'wasm-uint' // 32 bit unsigned int

import { int_u } from 'wasm-uint'  // unsigned int algorithm