shared-array-buffer
v0.1.2
Published
Literally just the SharedArrayBuffer
Downloads
21
Maintainers
Readme
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.