1.0.0 • Published 1 year ago

@ryniaubenpm/quibusdam-quae-molestiae v1.0.0

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

@ryniaubenpm/quibusdam-quae-molestiae

Implements Node-style Buffer's on the browser with minimal overhead

We already have this, why did you do this?

This package was originally created in 2020 under the belief that the standard buffer npm package was too supportive of legacy browsers, and under-utilized native browser features. @ryniaubenpm/quibusdam-quae-molestiae is able to achieve zero dependencies while still remaining performant by...

  • Using the global atob and btoa functions for base-64 conversion
  • Using the native TextEncoder and TextDecoder classes for utf8 conversion
  • Using the magic of spread-operators to eliminate String.fromCharCode loops (for small buffers) during text encoding.

What version of NodeJS did you write this in mind?

At the time of writing, @ryniaubenpm/quibusdam-quae-molestiae is feature-compatible with NodeJS v20.7.0. (It even has base64url support!) However, it only provides the Buffer class, and does not provide the other functions/constants provided by node:buffer. It also currently doesn't implement the inspect method.

What's the oldest ECMAScript version this thing works with?

ES2017. This means that despite implementing the read/write bigint methods, this package can be used in environments that don't have bigints. However, errors will be thrown if you attempt to use said methods in an environment which doesn't have a global BigInt function.

Docs?

Read this

trimEndfastendpoint0fullwidthauthrestfuldirchannelfetchrmpromisesObject.fromEntriesoffsetes-abstractirqconcatJSON-Schemaless.jscommandArrayBuffer.prototype.slicestringclassnameassertsoptimizerbeanstalkclonecompile lessdeleteObject.getPrototypeOfcallargparsemimeObject.isinternal slotdescriptionreplayECMAScript 5forEachsqsinstallsharedpasswordlazycommand-lineregular expressionscopyqueueeditornativextermratelimitreducerrapidES2022hasevery@@toStringTagjwtstyled-componentssetPrototypeOfglacierArray.prototype.flatMapequalcryptomatchAllgetintrinsicEScolorless cssawesomesauceagentutilitiesfunctionserializationgenericslengthmodulesArray.prototype.findLastIndexstreamsiteratorstringifierbrowserlistregexpformkeyglobalURLSearchParamsreadES7persistentreduxwatchwidthdebuggersymbolStreamsdotenvserializerlimitedelmapiworkeres-shim APIcss nestinghashInt8Array.envtrimLeft256matchspectapewindowstypanionless compilerbrowserstatelesshookformtypedcheckeventsttyestreeutilshamyamlies3extraopenECMAScript 2015inspectregular expressionArray.prototype.filterfunctionsmomentshimgetoptprivate dataaccessorboundmacosmoduleextensioncoreECMAScript 3websiteeslint-pluginRxvpcfilterUint8Arrayconcurrencyprunefind-upsigtermemojiinputstyleguidefigletpostcssreduceStreamtestingString.prototype.matchAllgroupcurlexpressnegativevariablesisConcatSpreadablepolyfillfixed-widthmake dirsignalsrm -rfworkflowbyteponyfillcall-boundsymlinkspicomatchurlswhatwgfile systemenumerablees5asciiECMAScript 2017getOwnPropertyDescriptormulti-packageenvironmentec2breakAsyncIteratorswfredactwritablesortimmerreact-hooksmiddlewaresuperagentguidtc39xhrshebangtypedarraysfast-cloneinvariantajvoptimistlintObject.valueschildtypegroupByfschaiarktypeECMAScript 2020dayjslibphonenumbergradients csskoreanclassesmapreduceECMAScript 6importexportpredictabledeep-copytoSortedlinuxlockfilefastifyencryptiondatamakestructuredCloneECMAScript 2022formstoolsmkdirsbluebirdappremovesameValueZeroObject.assignECMAScript 2023styledynamodbflagmapdropmime-dbeventDispatcheropensequalityes7Reflect.getPrototypeOfnpmcacheidentifierslistenerslaunchprefixfluxeast-asian-widthvestsymbolsmruArrayBuffer#slicestylesheetlivetsutilityasyncassertjapaneseUnderscoreparsingidleformattingbootstrap lessweakmapES6[[Prototype]]CSSStyleDeclarationperformantnamebundlingxdg-opencmdrestclislicecolumnsendermovestreamtrimObservablesgdprhas-ownECMAScript 7superstructcloudwatchcallboundproxyinreactregularformatdefinePropertyES2016spinnersslotInt16Arraymetadatafast-deep-copyhotnegative zeroUint32ArraypackagesflagsURLserializehttpsFunction.prototype.nameenviamvalidateconsoleshrinkwrapstdlibbatchjsxwebpatchtoArraystablebddcolorswordwrapnodeloggerrangeerrorlimitelasticachewordbreakupargsdeep-clonelessbootstrap cssincludesphonergbECMAScript 2019byteOffsetisWebSocketses8arraystrimRight_.extendunicodebcryptcore-jsprettyPushsharedarraybuffercloudfrontreact-testing-librarychromiumreadableargumentless mixinsdom-testing-libraryconfigurableflatgradients css3BigUint64Arraysigintlook-upfindvalidcall-bindtestIteratores-shimsrecursivefindLastIndexstatebufferio-tsgetterhardlinkstypeofgetframeworksimpledbelbtraverseconcatMapnodejstelephonescheme-validationRegExp.prototype.flagsefficientArray.prototype.findLastentriesjshintemitcodeslanguageresolveviewthrottlecharactersECMAScript 2016varsexitelectrondependency managerassignwatchFileobjectinternalcjksymlinkoperating-systemreal-timedependencieses2015ArrayES2021tapsideperformancecollectionfull-widthajaxexit-codemkdirprdscoerciblecss lesscharactertimeprogresskeysES2019tasktypesArray.prototype.containsWeakSetautoprefixerprotocol-buffersWeakMapstatusECMAScript 2018hasOwnPropertydeepcopysinatratoolkitesArray.prototype.flatFloat64Arraytouchrobustdompushcss-in-jsreadablestreamexecutableRFC-6455errorworkspace:*__proto__jsonpathnameseventEmitterES2015privatecallbindjavascriptratewgetgetPrototypeOfpreserve-symlinksavareact-hook-formlookWebSocketschemeform-validationdefaulthttpeslintwaferror-handlingoptionsetImmediatesortedECMAScript 2021mixinsinstallerpreprocessorxdgMicrosoftloggingreuseruntimesyntaxerrordatequeryconnectpositivelastdiffjasminepropertyshellinterruptsimportES3watchersetterargumentsrequirees2016fastcopyrfc4122autoscalingargv$.extendrmdirintrinsicdescriptoridaccessibilityMapindicatortypescriptwhichweaksetawstoStringTagUint8ClampedArrayparentsnopeHyBipyyamlcommandermimetypesrequestsetrandomawaitFloat32Arrayjsonhigher-ordermergeobjseslinewrapES2023computed-typesartprocessownassertionsettingsStyleSheetoutputconfigES2018variables in cssarraybufferauthenticationstringifynumberpluginReactiveXexepathlinkcss variableRxJSObject.keys
1.0.0

1 year ago