Licence
MIT
Version
1.0.0
Deps
3
Size
11 kB
Vulns
0
Weekly
0
@saoviettest/dolor-culpa-dicta-ab 
Get the ArrayBuffer out of a TypedArray, robustly.
This will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property.
It will also work in modern engines where TypedArray.prototype.buffer has been deleted after this module has loaded.
Example
const typedArrayBuffer = require('@saoviettest/dolor-culpa-dicta-ab');
const assert = require('assert');
const arr = new Uint8Array(0);
assert.equal(arr.buffer, typedArrayBuffer(arr));
Tests
Simply clone the repo, npm install, and run npm test
Keywords
RFC-6455swfwhichpasswordawesomesaucees2018awsidobjecttypedarraymatchAlleslintpluginwafthroatECMAScript 2023defineminimalrobustgradients cssnegativea11yfindarktypeES2019trimLeftstyleguideworkspace:*apishrinkwrapworkflowastcharacterfromdebugshamextensionstringpostcssloggingTypeBoxless.jselmhigher-orderstreams2lesscssdebuggerPushjsxzeroclassesimmerPromisehardlinkssequencemonorepoarraysvalidjsonclassname-0exectoArrayfastbrowserslistCSSincludesratelimitpackageescapei18nwritablenpmES2018argumentlinewrapcollectionbluebirdquoteunicodemiddlewarewarnings3flagnativenamesbytedirectoryArrayBuffer.prototype.sliceECMAScript 2020parsestreamsstartersetPrototypeOfhookformvalidationredactcolumnsutilECMAScript 6ReactiveExtensionsmatchesjapanesestyleES3look-upURLhttpsbyteOffsethasOwnes-shimsHyBiassignroutingformattingpatchformatArray.prototype.includescurlMicrosofttesterwriteponyfillaccessibilityInt16Arrayinternal slotequalityargparsesortwatchingreduxauthenticationspecglobbootstrap cssspeedform-validationfsregular expressionec2dynamodbES8saferemovecallbackiscloudsearchtoSortedjoifixed-widthnodeeast-asian-widtheventsgradients css3YAMLentriesECMAScript 2018loadbalancingcommand-linebindcolourfilepersistentcharactersbyteLengthdependenciesredux-toolkitfluxhttpsortedinBigUint64ArraychaistylingtoobjecttapeUint8ClampedArraylockfilepropertiesES2020functionspicomatchMaprmdirenvironmentflattimereadabledeepcopystyled-componentsES2016compile lesscallqueueCSSStyleDeclarationsameValueZerocloudwatchefficientqsArray.prototype.findLastIndexhooksurlvariablescommandergetintrinsicconcatMapcss lessdeep-cloneflatMapcloudfrontawaitArray.prototype.containssqsresolveendpointrfc4122enderlogreal-timepromiseECMAScript 3Array.prototype.findLastspinnersyntaxerrordataviewimportlruequalpackage.jsonpolyfillconsumefast-clonediffreades2017fetchbatchwalkprogressWebSocketpropargvfindLastfunctionalsuperagentprunergbES7omithas-ownoutputexpressionoffsetoptimisttexttraverseshebangpropertystructuredClonelastredirectmimetty
