1.0.0 • Published 11 days ago

@wemnyelezxnpm/odio-dignissimos-corporis v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

@wemnyelezxnpm/odio-dignissimos-corporis Version Badge

github actions coverage License Downloads

npm badge

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('@wemnyelezxnpm/odio-dignissimos-corporis');
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

ES2016positiveextendauthUint8ArraytrimStart3dcollectioncompilerpushdeep-copyfile systemweaksetnegative zeroWebSocketdefinedirdeterministicbrowserlistreadablestreamtapmochaobjtsnumberscheme-validationwebsitewordwraprangeerrorfunctionES8waitboundforEachbindtslibwordbreakjsES2018optimizerl10nUint32Arrayrgbmoveterm6to5fpappInt16ArraynativemimebrowserslistsearchsameValueZerofindLastIndexprocessregexpjsonpathponyfillsequencedataViewtyped arrayvalidInt32ArraydayjsdescriptionvalidateinstallES2023MappreprocessordataAsyncIteratorArrayBuffer#slicetrimEndtacitregexproplinkgetStreamswidthjsxartresolvespringpackagesstringifierimmutableisConcatSpreadablejQueryutilio-tslinuxopenslazytoSortedhttpszodObservableoutputReactiveExtensionses8internalbufferkoreancolordeletemixinsavaformatdebuggerdescriptor256watchingiterationstringautoprefixerutil.inspectcryptomkdirpqueueelectronfindupsymlinktypejsonschemastringifykarmainspectdroppostcsscss-in-jsprototypecolourexit-codepropertyexecutablereuseimmerSymbol.toStringTagiteratoroffsetwatchtelephoneinstallerasttypanioncmdReactiveXtestingargparseStyleSheetstatelesszeroPushdebugECMAScript 2016multi-packagequoteutilitiescharactertextcode pointsWeakMapnopehasOwnwgetpipeexeemitMicrosoftes2018tostringtagfast-copycopychildprotobuftypeerrorPromisefromassertionawesomesauceObject.entriesguides2016visualmatchURLdefinePropertywebpluginECMAScript 2019argumentwalkdescriptorscoreoperating-systemenderes6urlserializersignalObject.isthrottlerm -frwaapistartjson-schema-validationfast-clonesymbolssharedarraybufferansiflagarktypeajvduplexwatcherglobArray.prototype.findLastfastifyajaxmiddlewareregular expressionsfastcopyES5superstructReflect.getPrototypeOfparentstarterCSSJSON-SchemaestreedeepuuidstabletouchsortedsetArray.prototype.flatArray.prototype.flattenairbnbstructuredClonedifffast-deep-copyobjectformpolyfilljsdombootstrap cssmobileconfigurableStreamsettingsttychannelirqeventsdom-testing-librarysomerfc4122columnsbreakkeylogcjkramdacomputed-typesstatusreact animationtranspilermruparserObject.assignES2019matchAllRFC-6455emojinameES2015filegetterURLSearchParamsxhrdataview-0rateschemefixed-widtharraybufferformattingconstsanitizationbrowserreact-hooksarraygenericsdotenvhardlinks[[Prototype]]findLastentriesmkdirprotocreatecontainsECMAScript 6expressmodulesisharmonyreact poseless mixinsrequireshamES2021metadataprettyArray.prototype.findLastIndexlaunchpnpm9preserve-symlinksfastcloneterminalvalidatorsideinferencechromeform-validationvaluejson-schema-validatorjsoninvariantutilityfigletenvironmentconcatMaphandlersInt8ArraystylesheetwindowscolorsspinnerjestposesigtermasynccallbindArray.prototype.flatMapspawnfscorscliredux-toolkitratelimites5make dirworkspace:*prefixdeepclonetypeofstylesequalexitparentsdependenciesschemaUint8ClampedArrayauthenticationtesterrm -rfYAMLcheckreadableclonetypedarraywritableidjapanesecss variablegdprteststreamcurriedquerystringpatchsetPrototypeOffantasy-landxdg-opengradients css3argvclassespersistentcodesmomentbcryptRegExp#flagsargsmonoreposortsanitizesigintfast-deep-clonecallboundpopmotionperformantchaibuffersefficientUnderscorethroates2015Function.prototype.nameObject.getPrototypeOfjoitrimRightslicecurlnodebusyECMAScript 5promiseless.jsdomESnextcachecommand-linevariables in cssfind-upnegativebannersafeEScoercibleeditorbabel-coreless compilerwrapsharedlockfiledatetoolsopenerlibphonenumbereslintsyntaxerrorargumentsstyling_.extendtddlookloadinggetintrinsicECMAScript 2017esloggerworkercommandES3deep-cloneqsclassnameeventEmitteruninstallomitjavascriptchinesetc39postcss-pluginprogressarraysgetoptoptionpyyamllinewrapBigUint64Arrayequalityreact-hook-form
1.0.0

11 days ago