1.0.0 • Published 1 year ago

@ptkhanh94npm/quas-rem-eveniet v1.0.0

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

@ptkhanh94npm/quas-rem-eveniet Version Badge

github actions coverage License Downloads

npm badge

An ES-spec-compliant shim/polyfill/replacement for ArrayBuffer base64 methods that works as far down as ES3

This package implements the es-shim API “multi” interface. It works in an ES3-supported environment and complies with the spec.

Because the Iterator.prototype methods depend on a receiver (the this value), the main export in each subdirectory takes the string to operate on as the first argument.

The main export of the package itself is simply an array of the available directory names. It’s sole intended use is for build tooling and testing.

If Uint8Array is not present, the shim functions and auto entrypoints will be a no-op.

Supported things

Getting started

npm install --save @ptkhanh94npm/quas-rem-eveniet

Usage/Examples

const fromHex = require('@ptkhanh94npm/quas-rem-eveniet/Uint8Array.fromHex');
const toHex = require('@ptkhanh94npm/quas-rem-eveniet/Uint8Array.prototype.toHex');
const assert = require('assert');

const array = new Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]);
const hex = '48656c6c6f20576f726c64';

assert.deepEqual(fromHex(hex), array);
assert.equal(toHex(array), hex);
require('./auto'); // shim all of the methods

require('./Uint8Array.fromHex/auto'); // shim the “fromHex” method

Tests

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

bindvestfunctionalsearchgroupByObservableschemarandomcolorscommand-lineclassnamewaapi$.extendFloat32ArrayPromisedebughardlinkspostcss-pluginefficientglobconnectgenericsoncedebuggertypescriptirqnpmreactnativeSymbol.toStringTagimmeres6findLast256walkpatchreadeslintTypeBoxforEachJSONregular expressionrmexeclookrecursiveUint8ArraygroupsetterECMAScript 2019deterministicformattingjQuerycomparevaluesimportawesomesaucewrapargumentstreamdom-testing-libraryECMAScript 2015sequencevalidationpasswordmulti-packagesymlinklintdotenves-shim APImomentECMAScript 7less cssprocessstdlibvalidinputsetPrototypeOfeslintpluginstylesheetObject.definePropertyfast3dflagsformstreams2negativebundlingnamees-abstractmixinsmkdirpsortimmutableaccessibilitymodulesjsondatautileslibphonenumber-0assertsjsdomframerinferencea11ylengthfastifyextendpackagewatchingcore-jscircularequalautoprefixersetcall-bindchromeflattenopenURLSearchParamsboundoffsettsserializereact posefulldomES2017writabletypeofexit-codetypetoStringTagObject.entriesmakeReactiveXmkdirsrobustremovepushcopypositivecontainsexpressionoperating-systemstringbrowserlistenersbyteOffsetredux-toolkitsortedgradients css3nopeES2022buffersisquotees7pnpm9apijapanese6to5form-validationclonebootstrap lessdescriptiontestieuuidwgetxhrtypedarrayspostcssregularcss-in-jsArray.prototype.flattenRxJSworkercss nestingless compilercommandertypedajvreadablees-shimsassertutilitiesstylingoutputcallboundArray.prototype.findLastkarmakeyfast-copyjsonpathconsumeuser-streamsauthenticationconcatspinnerfastcloneserializationoptimistdirectoryloggerwordwrapFunction.prototype.namereusedeletecolumnshigher-orderbannerastsuperstructcacheES2018pipevaluedataViewavacallstreamsjson-schema-validatorresolvedefineargsequalityfile__proto__getintrinsicthroatruntimebabelregexpdeep-cloneArray.prototype.filtershamreact-hook-formECMAScript 2018PushlessSymbolletcollectiondataviewemojiparsejwttranspilerfixed-widthfunctionreact-testing-libraryshellwarningbrowserlisthookformcallbackMicrosoftreact-hooksECMAScript 2016loglesscssECMAScript 3Object.assignarktypefull-widthString.prototype.matchAlltouchtslibhelpersdirclass-validatordescriptorsgdprprogressfseventsobjlockfileposejson-schema-validationreadablestreamsameValueZeromake dirbyteLengthnumberiteratepropertyinternalObject.valuesguidsharedarraybufferreducedefinePropertymrulrutranspileincludesObject.isfolderpackagesfsreducerfindLastIndexUint32ArrayxtermeventsjsdiffeventEmittersyntaxartbusyzodperformance.envcolorcompile lessbufferargvtimeclassnamesfindshimansieast-asian-widthsafeMapcryptolimitdatestylesfromfast-deep-clonepluginhookssigtermshebangweakmapoptimizerio-tsInt32ArrayvisualmodulefullwidthsymbolstructuredClonetddrgbsetImmediateES2020protocol-bufferstasklinuxnodejsObject.getPrototypeOfprivateconcurrencyhttpfilterECMAScript 6RegExp.prototype.flagsnamesCSSStyleDeclarationexitauthintrinsiccommandsettingsshrinkwrappromisehttpsRxvariables in cssprototypetrimRighttrimStartbabel-corecensorArray.prototype.findLastIndexmonorepodragECMAScript 5l10ngetoptfetchthreescheme
1.0.0

1 year ago