1.0.0 • Published 15 days ago

@rabiepenpm/dolores-nisi-dicta v1.0.0

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

@rabiepenpm/dolores-nisi-dicta Version Badge

github actions coverage License Downloads

npm badge

Get the byteLength out of a DataView, 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 DataView.prototype.byteLength has been deleted after this module has loaded.

Example

const dataViewByteLength = require('@rabiepenpm/dolores-nisi-dicta');
const assert = require('assert');

const ab = new ArrayBuffer(42);
const dv = new DataView(ab);
assert.equal(dataViewByteLength(dv), 42);

Tests

Simply clone the repo, npm install, and run npm test

byteObject.assignassertslesscssgetPrototypeOfcolumnguidcall-boundfindendergdprmatchesxtermbuffersauthenticationmetadatatouchconnectimmutablestringifyponyfillconstrandomjasminetoolkitclientlibphonenumberwaitenvironmentshamarraybufferquerycharactersreact poseexecutableURLloggingeditorObject.issymbolspackage managerformscollection.es6asynclengthgetTypeScriptbcryptartweaksetes-abstractcomputed-typeschinesepostcss-pluginlookuser-streamsSetietoArrayemitcall-bindeventsArraytesterUint8ClampedArrayutil.inspectsymlinksESwhichfast-deep-cloneajaxterminalformattingmulti-packagemake dirRegExp#flagsqueuebundlerECMAScript 2022asciilistenersutilutilitiesObject.valuesfromcheckstructuredClonevalidationES6datastylesheetansipluginflatMapnumberInt16Arraystreamconsolesanitizationspinnersinspectrm6to5expressiontostringtagsafevestes2017watchindicatorStreamsnpmwatchervariablescode pointsECMAScript 2016collectionworkspace:*circularlasttacitObservablesjson-schema-validatorjsdifflinuxdatecallpersistent$.extendwriteES2019variables in cssargumentsspeedprotocol-buffersisConcatSpreadablepositivesyntaxpropertiesnativeString.prototype.trimtranspilerES2015classesreactreadablesameValueZeroes2016koreanpruneinferenceJSONes8compilervaluesdeepclonebrowserclisetImmediatewordwrapmatchAllnopestatelessi18nfind-uppropertypackageremoveTypedArrayperformancearraysescapeless csshigher-orderdefinePropertyECMAScript 2021lockfilethrottleconfigcoreeast-asian-widthdebuggerphonefpnested cssargumentinternalpolyfillserializerobustArray.prototype.flatMaphasOwn[[Prototype]]middlewarecommandtapratestableSymbolAsyncIteratorECMAScript 3Array.prototype.flattencolorfunctionalregular expressionObjectoptimizercontainsECMAScript 2018autoprefixerArray.prototype.containsemojikarmakeyReflect.getPrototypeOfaccessibilityconcatMapspec.envRxextendequalgetterURLSearchParamsfastcopyObject.keysStyleSheetes-shim APIbindpromisescheme-validationurlclassnameschromiumpropbundlingutilitywrappnpm9react-hook-formECMAScript 5fixed-widthspawnurlschildESnextWeakSetObject.fromEntriesa11ypoint-freestatustypesafereducesequencetypedarrayes6settingsgraphqlopenerwalknegativeObject.entriesmomenttc39ArrayBufferdayjshookformdeep-copytoobjectreal-timeES2017rangeerrortoolshelpersdeep-clonetypesconfigurablepasswordparseefficientfast-cloneuninstall0parentflatFunction.prototype.nameargvgroupmovecjkchromeslotcallboundwalkingcss nestingarktypeflagregexptermjQueryequalitytddstylespopmotionvalidateobjectdefaultlintfastifycssiterationtypescriptArray.prototype.flat256uuidquerystringhashsuperagentES7serializerdatastructuresigintgenericsestestinghttpsfindupfilelimitedzodposebrowserlistfolderonceReactiveXsymlinkmergewebsiteshrinkwrapcompareshimauthredactsyntaxerrorpromisesfunctionopencodeseslintpluginhandlersfull-widthopenscryptvisualtypanionprefixtypeerrorsuperstructes2015exevalidMicrosoftFloat64Arrayassertgradients cssbyteLengthrequestUint32Arrayloggerfast-copypicomatchwarningxssapiECMAScript 2020WebSocketsjwtlinkrequireimportextensioncharacterES2016Int8ArrayttyrapidsetterObservableobjStreamcopydotenvimmerextraserializationajvdescriptorsomeramdaES5trimargparsebusydescriptorsoptionencryptioncss variableschemexdg-openjestframeworkerror-handlingReactiveExtensionsObject.definePropertydompreserve-symlinksstringlanguagereact-testing-librarynodejsfindLastIndexPromisekeysBigUint64Arrayparentsenumerablehttpmruinternal slotinstallerECMAScript 7dataviewoptimistoperating-systemredux-toolkitmixinsawesomesauceprivatecmdString.prototype.matchAllnodelinewrapio-tsspinnerduplexvalidatorgroupBycss lesserroreslintstylingpackagesdelete
1.0.0

15 days ago