typedarray

WebJar for typedarray

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

typedarray
Last Version

Last Version

0.0.6
Release Date

Release Date

Type

Type

jar
Description

Description

typedarray
WebJar for typedarray
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/substack/typedarray

Download typedarray

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/typedarray/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>typedarray</artifactId>
    <version>0.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/typedarray/
implementation 'org.webjars.npm:typedarray:0.0.6'
// https://jarcasting.com/artifacts/org.webjars.npm/typedarray/
implementation ("org.webjars.npm:typedarray:0.0.6")
'org.webjars.npm:typedarray:jar:0.0.6'
<dependency org="org.webjars.npm" name="typedarray" rev="0.0.6">
  <artifact name="typedarray" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='typedarray', version='0.0.6')
)
libraryDependencies += "org.webjars.npm" % "typedarray" % "0.0.6"
[org.webjars.npm/typedarray "0.0.6"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

typedarray

TypedArray polyfill ripped from this module.

build status

testling badge

example

var Uint8Array = require('typedarray').Uint8Array;
var ua = new Uint8Array(5);
ua[1] = 256 + 55;
console.log(ua[1]);

output:

55

methods

var TA = require('typedarray')

The TA object has the following constructors:

  • TA.ArrayBuffer
  • TA.DataView
  • TA.Float32Array
  • TA.Float64Array
  • TA.Int8Array
  • TA.Int16Array
  • TA.Int32Array
  • TA.Uint8Array
  • TA.Uint8ClampedArray
  • TA.Uint16Array
  • TA.Uint32Array

install

With npm do:

npm install typedarray

To use this module in the browser, compile with browserify or download a UMD build from browserify CDN:

http://wzrd.in/standalone/typedarray@latest

license

MIT

Versions

Version
0.0.6
0.0.5