1.1.0 • Published 1 year ago

@npmteam2024/quasi-expedita-corporis v1.1.0

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

@npmteam2024/quasi-expedita-corporis

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. @npmteam2024/quasi-expedita-corporis 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, @npmteam2024/quasi-expedita-corporis 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

specflagtypescriptRxJSECMAScript 7loggerECMAScript 3.envvalidatefullinterruptstouchArray.prototype.flatES5dropharmonyconsumevalueInt32ArraystringInt16Arraydefinegloboncefixed-widthpositivetextsearchECMAScript 6tc39packageprefixprivateArrayBuffer.prototype.slicepropertiestacitqueueMicrotaskIteratorenumerablegetterprototypedescriptornegative zeroeditortypanionlibphonenumberassigninputvalidSymbol.toStringTagnpmflagsArray.prototype.flatMapstylesheetsymlinkobjloadingdotenvstreamnodeTypeScripttelephonebuffersPushcomputed-typesdeep-copyStreamfullwidthECMAScript 2016escaperamdaiteratebuffertsbyteconfigworkerYAMLtranspilerfindupprocessmiddlewarethrottleformsCSSStyleDeclarationgradients cssairbnblistenersidleeveryeslint-plugindeepclonespringreduxarrayvarreact-hooksECMAScript 2017deepcopyvesttypeofjavascriptECMAScript 2023monorepoes2015jQueryisConcatSpreadablereact posewritejson-schema-validatorhigher-orderreadablexhriteratorcompilerObservableRegExp.prototype.flagsSymbolUint32ArrayavasymlinksfindLastIndextypeECMAScript 2022outputcryptfolderES2018descriptorsutilsrgbcorssignalrateReflect.getPrototypeOfsetImmediateparentstypesentriesmkdirbootstrap csshttp[[Prototype]]takedomrangeerrortyped arraydependenciesnumbertermcurlhasshellCSSregexpbyteOffsetjsdiffclassnamedeletepyyamltypedarraysauthenticationyupfull-widthcallbindeslintpluginwindowswatchingjsxcensorES2016typedfastcopyindicatorwaitmimekeysdirES8cryptoequalWebSocketwalkingreducertimegraphqljasminefindeast-asian-widthutilcss lesses2018cliconsttappathmoduleObject.valuesletmergepackagesframerjssameValueZerormdirhardlinkspipeoffset3dfunctionsyntaxerrorwidthpromisesString.prototype.trimzodhooksqueueES2021stringifierbundlerpoint-freedataViewjson-schemaapicode pointswarninges2017schematraverseES2022readablestreamasyncfetchgetOwnPropertyDescriptorcacheregexString.prototype.matchAllargvttytrimEnddebugpackage managerutilitiesdayjsjsonvalueses8configurablePromisetrimLeftes-abstractflatMapargsES2023popmotionregular expressionsastdirectorymapArray.prototype.filterponyfilllanguagewaapihttps256busyclassesoptionstyled-componentsmatchfserror-handlinggetoptvalidatorintrinsicreadcompile lessdatawalkmulti-packageWeakSetless csscommand-lineURLdatastructurefastmochaHyBijson-schema-validationchineseinternalhasOwnomittoSortedes5Float64ArraysyntaxexpressBigUint64Arrayauthclientphoneinternal slotwhichgroupByreal-timeObject.getPrototypeOfnames6to5asciidescriptionbddgrouppropjoifindLastzeroutilitylazyexequerycomparecolumnbrowserslistunicodeduplexnamepluginfast-clonepruneES2020momentutil.inspectcurriedincludeshandlersbrowserECMAScript 2018chromiumArray.prototype.containsless compilerAsyncIteratorSetimportelectronwatchopenerObject.definePropertyregularprogresssignalsargumentjesttoobjectarraysemojibabel-coreopensassertsweblastformatchannelgetintrinsicmetadataforEachmake dirObjectWebSocketsfast-copycoredeterministictapeStreamsdefaultReactiveExtensionssuperstructperformantuser-streamsmatchAllfiltertestingoptimizerwebsitestreamsreuseES2015trimStartdebuggerkeyfile systemweakmapUint8ArraysetPrototypeOfinspectcss-in-jswatchFileESbcryptxdg-openlinkstatelessconcurrencyenvironmentchildObject.isArray.prototype.findLastmkdirsformremovecontainscolourthroatbatchlauncherrorpropertyfileenvcodesinferenceqsieserializationcss variableES3Float32Arraypnpm9terminaljwtdependency managersidereact-testing-libraryoperating-systemweaksetestreethreeeventEmittermime-dbWeakMapawesomesaucecssequalityquotefastclonecall-bindcolorrecursiveimmerwritableECMAScript 2015reacttoStringTagloggingECMAScript 5encryptionstatusstyleswordwrapECMAScript 2019dataviewRegExp#flagsmimetypestoolsdom-testing-libraryslotvariablesstructuredClonestarterargparseecmascriptcallenderappartexittddserializenodejscommandform-validationsharedarraybufferrequestgenericskarmawgetnested cssapollolookruntimecircularsharedtslibjsonschemasortkoreanMapspawnperformanceObject.entriesdatecolumnsexpressionnopeInt8Arrayfastifyrobustlrutranspileshimlessesansiupiterationfind-uprfc4122formattingsymbolvariables in cssES6definePropertyflatsigintES2019protobufstylingparsersafefpimmutableArray.prototype.findLastIndexscheme-validationquerystringmakeArraylimiteslintconfigfunctionalopenposeReactiveXcommanderjapaneseextrapromiseESnextinstallcopy__proto__getPrototypeOftrimRightcharacterses6l10nes-shim APIparsepasswordBigInt64Arraylesscsslinuxcollection.es6gdprajvES2017eventDispatchershrinkwrapUint8ClampedArraygesturesjsdompicomatchwatcherinvariantprettylook-upemitArrayBuffer#sliceArray.prototype.flattensanitizationObject.assignStyleSheeteventsmovecss nestingnativeawaitpostcss-pluginratelimitregular expressionsomewordbreakJSONrm -rfpreprocessorextendcollectionpreserve-symlinksstyleguidecallbound
1.1.0

1 year ago

1.0.0

1 year ago