1.0.0 • Published 1 year ago

@f1stnpm2/aspernatur-facilis-animi v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@f1stnpm2/aspernatur-facilis-animi 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('@f1stnpm2/aspernatur-facilis-animi');
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

RegExp.prototype.flagsastclass-validatorflagstaskArray.prototype.flatMapchromelessiterationPromisestructuredClonejsonschemaTypeScriptarrayconsttsmakecompilernativeES8__proto__fastcloneoncemergegetassertiones-shim APImkdirpjson-schema-validationvaluesObject.fromEntriesfetchoptimistfast-copywritepopmotionbyteFloat32Arrayless mixinslockfilequerystringesramdaECMAScript 3lengthflagcopyfolderdatefind-upmixinsvaluei18nqueuewhichinternalwatchFileprunefixed-widthmkdirjestisinstallhasOwnredux-toolkitextensionWebSocketslanguagetimemovejsonfullwidthwarningECMAScript 6plugintermjavascriptsomeprefixwaapireadArray.prototype.includesfsrangeerrorparsertrimRightrfc4122loggingartgetPrototypeOfbabel-coreES2017Object.keyscjkgradients css3textcryptwhatwgRegExp#flagsshellRxJSeventDispatcheraccessor_.extendbreaknamesqueryECMAScript 5postcssnumbercollection.es6creategraphqllistenerses-abstractHyBihelpersfindLaststatusWeakMapUint32ArrayunicodebabeltypesafevisualpersistentjsdiffECMAScript 2021mobileprotocallboundMapeslintfiltercolorpromiseshookformkeysapollo@@toStringTagECMAScript 2020syntaxreact-hooksauthsharedhigher-ordernegative zerojQueryjoiextrapolyfillauthenticationESbufferinputnope$.extendArrayBuffer#slicetrimLeftserializationes5fpsameValueZeroutil.inspectdiffconcatMapmatchAlltelephoneECMAScript 2015configurableomitYAMLformUnderscorephoneMicrosoftpackagermdirmetadatasharedarraybuffereslintconfigfile systemfast-cloneES3macosimportmake dirgetoptdependency managerspeedString.prototype.trimsliceschemenested csstostringtagcolumnreuseshrinkwrappropequalitystyled-componentsstablejsObservableconsumejson-schema-validatorcli.env[[Prototype]]ECMAScript 2017propertieslesscsscss variablecodespasswordtypescriptperformanceinspectpromisees2018toobjectoptiondeletecss nestinganimationSetqueueMicrotaskSymbolratenegativeinstallerstylereal-timesyntaxerrorcss-in-jstypeyamlstringdescriptionnamebrowserbatchconcurrencyboundFunction.prototype.nameargvprogresssortdommimetypeseast-asian-widthvalidateexit-coderapidReflect.getPrototypeOfuser-streamszodfindupwalkyupinferencebootstrap cssgroupBysafeArray.prototype.flatgenericsajaxhardlinksreact-testing-libraryrm -frenvWebSocketshebangenumerablerobustshamthrottleURLformattingdataviewcoerciblewidthbindsearchstylesheetWeakSettoSortedstylesduplexawesomesaucecomputed-typestesterArray.prototype.findLastIndexcachereduxlinkweaksetjasmineuninstallextendArray.prototype.filterdeepinterruptstypedarraycss lessObject.getPrototypeOf6to5regexjson-schemabcryptbluebirdECMAScript 2016superagentmoduledeep-cloneArraydependencieslazycheckvestschemaflatframeworktrimStartzerowatcherstreamsObjectlinewrapcryptoremovehttpssetImmediateObject.isbrowserslistminimaltypedECMAScript 2019everydataViewbyteOffsetglobflattenmodulesFloat64ArrayparentsreadablecolourinvariantsanitizationdefinePropertycore-jstoStringTagwgetfseventstapreactdeep-copyslotimmutableconnectless cssintrinsicoutputArrayBufferbrowserlistvalidUint8ArraycontainsopentypeoffigletdropObject.entrieses2017nodejsimmerES6cloneratelimittrimtyped arrayshimfunctionalIteratorcode pointsInt16ArraypushtoArraywatchworkspace:*pathpurecurriediterateprettyresolveregular expressionspoint-freeairbnbCSSStyleDeclarationsymbolsasciigetintrinsicstylingtranspilefastifysetPrototypeOfES2019sequencepackage.jsonwritablecallbindassertES2023expressionrmcensorreact posepyyamlfull-widthbufferserror-handling256fastcopypostcss-pluginlaststatelesstacitutilityparseRFC-6455patchCSSxhrefficientstyleguide-0monorepoharmonyprotobufgetterterminalassertsfast-deep-copyUint8ClampedArraytslibperformantcallbackECMAScript 7signalsutilitieslibphonenumberidleexpressdefinecorsviewsuperstructURLSearchParamsrequiresortedrandomBigInt64Arrayfantasy-landuuidmrudeepclonewrapmochascheme-validationjsonpathprocessES2022ajvsymlinkinternal slotpnpm9privatesigterma11yeventEmitterJSON-Schemadirbootstrap lessdeterministicloadingxsstranspilerserializerdebuggerforEachmkdirsobjcommandspringtoolsincludessideconsolebundlerstarterfromArrayBuffer.prototype.sliceexecES2015classesAsyncIteratorindicatorkoreantrimEndECMAScript 2018private dataruntimeisConcatSpreadableoptimizerfast-deep-clonethreematchtddconfigObservablestypeerrorpackage managerexittoolkitreducertestInt32Arraypositiveclassnamesbddspecdom-testing-libraryobjecthttpTypedArrayform-validationentriesformatlruirqes2016chaixtermES2016posepreserve-symlinksstringifiervariables in csses7weakmaputilses8compile lessarraybufferArray.prototype.containspreprocessorECMAScript 2022pipetraversecssBigUint64Arrayoperating-systemregularredactaccessibilitygradients cssRxchromiumtc39signalvargroupnpmstdlibargumentTypeBoxwordbreakjsxmomentrgbstreams2l10ndatamime-dbdotenvsettingsclientvalidationdirectorypackagesansisetterspinnersless.jsreducepicomatchargparseava
1.0.0

1 year ago