1.0.0 • Published 14 days ago

@ptkhanh94npm/labore-veniam-velit v1.0.0

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

@ptkhanh94npm/labore-veniam-velit 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('@ptkhanh94npm/labore-veniam-velit');
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

efficientfasteslintoptimizercjksyntaxhasOwnchannelnativereadlistenersstreams2concatvarcsscorstypesafetelephonebrowserkarmaiterationtextassigntypeerrormixinsframeworkcolumnArray.prototype.flattenfastcloneRegExp#flagsletboundpatchsequenceStreamssettingseslintpluginpushnegative zeroESstylereducewaapibabelsetdeep-clonebufferthroates5classesthrottlemergesetPrototypeOfencryptioneslint-plugindescriptionreact posetostringtagphonebootstrap cssjsObservablescryptoReactiveXapibannerwritablearraybuffergroupintrinsictypekoreanmakeio-tsdragmochaES2023typesscheme-validationlinuxES2022equalityairbnbinterruptscolourbyteLengthfullfast-deep-cloneJSON-Schemafigletbluebirdless mixinspyyamlaccessibilityinstallereventEmittercompile lessmake dirURLSearchParamsvariablesserializenegativepersistentcallbackapolloECMAScript 2018graphqlexec0chrometerminalstructuredClonecliSetsortedjesttestingprettylintparserpathforEachframererrorcharacterlookStyleSheetes2018signalreadableassertioncode pointssharedquerystringajaxcomputed-typeswarningwebcss variablesliceharmonyjsonObject.definePropertycryptObject.isfpECMAScript 7AsyncIteratordeepcopygradients cssdescriptorsspinnerobjdependencieselectronObject.valuesjson-schema-validationendersymlinkscall-boundanimationbundlerpackageECMAScript 2020StreamInt16Arrayspeedjson-schemareact-testing-libraryextraJSONes2016typanionminimaltoobjectES2016quotelibphonenumbershrinkwrapfindtrimpicomatchreal-timejsdiffentrieshigher-orderargvcallboundchai$.extendpureschemaconsoleconcatMapperformantfilepreserve-symlinksqueuejsxarraysoncematchAllCSSStyleDeclarationtraverseenumerablefolderrfc4122postcss-pluginexit-coderuntimepoint-freeredactrm -rfthreemulti-packagejapanesetoolsnamebreak_.extendratelimitmkdirpformsArray.prototype.filtercollectionirqextensionextendrmdirprototypeidleecmascriptRFC-6455tsreact animationtoolkitsetterimmutabledomInt8ArraycommanderslotdataviewdayjstouchregexRegExp.prototype.flagsArrayBuffernamespropertyargumentstringArrayObservableregexpkeyworkspace:*ieECMAScript 2022getponyfillfullwidthiteratorauthwindowsES2021randommkdiroptimistcommand-lineArray.prototype.findLasttapewidthclonestarterfindupvalidationobjectwatchHyBioffsetdataArray.prototype.containsWebSocketsramdamkdirslimitbootstrap lesszodbatchuuidWeakSetinstallhashESnextrequirestylesheetCSSRxJSqsredux-toolkithassanitizeemojiObject.getPrototypeOfbrowserslistMapstreamsECMAScript 2019deepschemeES7busytoArraystylesmonoreporeducerless compilerArray.prototype.flatbrowserlistbddinternal slotECMAScript 2021jsonschemaES2018superagentaccessorbundlingmetadataBigInt64ArrayFloat32Array
1.0.0

14 days ago