shared-array-buffer

0.1.2 • Public • Published

shared-array-buffer

Literally just the SharedArrayBuffer.

Warning this module does not allow postMessage with SharedArrayBuffer as cross origin isolation is still required to do so.

import SharedArrayBuffer from 'shared-array-buffer';

// or

const SharedArrayBuffer = require('shared-array-buffer');

That's it, the SharedArrayBuffer constructor will then be usable even out of cross origin isolated content.

See this discussion.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i shared-array-buffer

    Weekly Downloads

    3

    Version

    0.1.2

    License

    ISC

    Unpacked Size

    2.14 kB

    Total Files

    5

    Last publish

    Collaborators

    • webreflection