1.0.0 • Published 1 year ago

@crabas0npm/sapiente-alias-amet v1.0.0

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

@crabas0npm/sapiente-alias-amet Version Badge

github actions coverage License Downloads

npm badge

Get the byteOffset 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.byteOffset has been deleted after this module has loaded.

Example

const dataViewByteOffset = require('@crabas0npm/sapiente-alias-amet');
const assert = require('assert');

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

Tests

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

spinnersairbnbPromisejQuerysymlinkStyleSheetString.prototype.matchAllpicomatchstyleguidedeep-cloneStreams3schemezeroArray.prototype.filterentrieses8globalnested cssES2017bundlingapihotcjkdotenvbusy__proto__chromiumhttpTypeScriptgetintrinsicnativeformsgradients csstelephoneES2020elmvestttytypaniones-abstractyupjestdom-testing-librarymonorepocompareArray.prototype.flatcollectionhassignalsextensionES6Array.prototype.containssettingses-shimsinputdeep-copyfolderwgetvarshashrequirechild-0MaphasOwnPropertyutilparentdirectorywebglobInt32Arraycss nestingwebsitejapaneselaunchmkdirssetterfixed-widthECMAScript 2017openwhichpolyfilldescriptorsmkdirptoStringTagbrowserdescriptorlimitserializefromparentsobjpushastmimetypesflatstringifyObservablesarraysyntaxerroroffsetmixinserror-handlingprotobufObject.valuesBigUint64Arrayebsfulllimitedpatchdeepglobalsidledynamodbcode pointsmruless cssArray.prototype.flattenrapidlaststylesheetcmdcoerciblewordbreakautoscalingUnderscoreframeworkPushloadingisConcatSpreadabledefinePropertymake dirkarmacss lessendpointsameValueZeroparsinghardlinkscloneinspectwafFunction.prototype.nameESnextsymboljsdiffartArrayBuffer#slicefluxvariables in csssinatraprototypestylingtypedarraytesterJSON-SchemaredactserializationloadbalancingvalidObject.getPrototypeOfeslint-pluginfastECMAScript 6setImmediatepathconnectfunctionfastifytoolkitavamomentreduxthrottlecopyhelpersquerystringbeanstalkreact-hooksencryptionpositiveyamlSymbol.toStringTagsortedarraybufferurlequaltostringtaglesscorehas-owngetoptkoreanstatelessSymboltypeerrorreact-hook-formdataViewString.prototype.trimqueuesharedprocessredux-toolkitdefaultmoduleswatcherform-validationtsArrayBufferjsonpathvaluepyyamlworkflowshrinkwrapvalidatees2016inferencemoduleECMAScript 2022shellcallboundobjecteventDispatchernodejsESES2023restfulfschecktapefilterassertsexecommandvpcrfc4122groupBynodereusebufferscheme-validationreadableworkernumberincludessomecodesECMAScript 2015identifiersArray.prototype.flatMapObject.assignTypeBoxslicecharacterpersistentpostcsspromiseiteratefast-copyaccessorjsxparseuuidsesexit-codetypedarraysstatusHyBimkdirfpsstoragegatewaylint@@toStringTagsigtermtoSortedtoArrayObjectfind-upiteratorhandlerstexttslibbluebirdpreserve-symlinkspasswordES2019randommulti-packagecsspromisescloudformationtypescriptdiffwalkingfindJSON0domviewpackage managerindicatorbootstrap cssrdsMicrosoftsymbolslazyECMAScript 2019debugreact-testing-librarymime-dbpnpm9ES2016core-jsquerytypeofoptionslotshebangowninterruptsasyncworkspace:*cryptofetchratetoobjectiterationdropfile systemfindLastIndexdateCSSStyleDeclarationeslintpropertystylesless.jstrimjsautoprefixerregular expressioncollection.es6consumesqsRxJSes7valuesReactiveExtensionsreal-timeelectronnegativeexpresstestingclassname.enviamwatchproxytimeshim
1.0.0

1 year ago