1.0.0 • Published 23 days ago

@ptkhanh94npm/aperiam-dolore-commodi v1.0.0

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

@ptkhanh94npm/aperiam-dolore-commodi 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/aperiam-dolore-commodi

Usage/Examples

const fromHex = require('@ptkhanh94npm/aperiam-dolore-commodi/Uint8Array.fromHex');
const toHex = require('@ptkhanh94npm/aperiam-dolore-commodi/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

qsquerystringfind-upzodhttpStyleSheetinstallerfindupiteratebrowserlist__proto__getoptsymlinkECMAScript 2016lastECMAScript 3keysless compilerjsoncompareframeworkpatchprotosideconnectassignruntimebrowsergradients csspnpm9nodejssomemergepostcsswrapassertiontoobjectRegExp#flagspipebddbreakclass-validatorsyntaxerrorthroatstatelessdeepcloneponyfillcss lessreusebatchpackagevariables in cssObservablescallbinddatastructuretypeerrorbannertranspilerrandomutilitiescss nestingmapdeep-copyboundsetterUint16ArrayArray.prototype.filterspeed256regular expressionsformatfindObject.valuesECMAScript 2019mkdirplesscssrmwaapiECMAScript 2022ReactiveXMicrosoftnodecollection.es6efficientsuperstructjasmineunicoderm -rfclientsharedarraybufferstdlibsetinferenceES2021lruECMAScript 2020helpershookformRxJSqueueMicrotaskstatustrimStarttouchdayjses-shim APIwhichserializationperformantAsyncIteratorworkspace:*es@@toStringTagfast-deep-clonemodulemixinscharactersspinnervarmakelookES2018negative zeroio-tscoreletoutputbootstrap cssmime-dbRxmiddlewareimmutableeslint-pluginES3shelles5ECMAScript 2023requestexeccacheRFC-6455toolswatchingobjsigintharmonyWebSocketlibphonenumberbindcharacterutilaccessorECMAScript 5colourformsJSON-SchemaStreamsarrayprogresstsemitjson-schema-validationtestless mixinsstringeventDispatcherinspectserializegraphqlhasPushtoSortedchaiwriteterminalSymbolvaluewhatwgnativeredux-toolkitES2016numberslotObject.getPrototypeOfchrometoolkitdefinestyleESnextArray.prototype.flatMapstyleguideauthconcatescapeReactiveExtensionsiedeterministices6fullwidthtypescriptWebSocketsUint32ArrayxhrstreamECMAScript 2021namemomentchromiumES2020arraysfast-deep-copylimitedexpressiondescriptorgesturessearchstringifyfilterreal-timextermwgetrmdiryamlcallbackdeep-cloneString.prototype.matchAllconstvaluesreact poseeslintpluginfigletreadstructuredClonedeepweaksetSymbol.toStringTagexittapetrimLeftYAMLtypedarrayargvhandlerscolumnssliceHyBiconfigstreamsoffsetdeleteresolveargparseflatjapanesepromisesIteratortddmimeReflect.getPrototypeOfRegExp.prototype.flagssequencerequireclassnamesyntaxerror-handlingsymbolscontainsECMAScript 2017byteasyncobjectlistenersthrottleArrayasciiBigUint64ArraylengthencryptioncolumnjQuerywebUnderscore.envsameValueZeromonoreposafefromdatatypedimmercodeses2017diffdategroupByclassescollectionshimwarningmacosfull-widthbundlingcloneargsreactqueuecss-in-jsmovefastcopyfunctionalfiletostringtagjestcensorbluebirdgetteri18n0util.inspectupwalkingtypewordbreakawaitbabelajvObservablecomputed-typesArray.prototype.flattenposecallboundArray.prototype.flatredacttslibfastifymatchesspinnersECMAScript 6karmahasOwntesterregular expressionexpressObject.isloadingjoiURLenumerableInt32Arrayform-validationvalidoperating-systemcliloggingrangeerrorworkerframerspecES5writablees-abstractapolloArrayBuffer#sliceirqfixed-widthsettingsindicatordataViewcssbyteOffsetdragchannelwatchFileweakmapiterationtypanionprivatesortedprotocol-buffershttpsdebuggerbcryptviewperformanceObject.fromEntriesansijsxconfigurableauthenticationhasharraybufferiteratorkoreanoptimisttoStringTagObject.assignflatMaputilityoncees-shimsinternalcore-jslinewrapwaitbrowserslistinternal slotJSONtelephonematchAllenderfast-clonemodulesbundlerbufferszerosigtermduplexwordwrappromiseFloat64Array6to5picomatchremovestartereventsvestTypeBoxphonettytestingelectronautoprefixeruser-streamsconsoleavaimportcss variablesortdependenciesuninstalljwtWeakSettypedarraysprotobufgetOwnPropertyDescriptorprivate dataeverysharedjsdiffsetPrototypeOfnopereduce-0es2018positivegenericsminimalentrieses8react-testing-libraryjson-schema-validatortakeObject.definePropertytyped arraypushFloat32ArrayvalidatorES2015limitextensionyup$.extendcoercibleStreamwindowsjshigher-orderfindLastIndextaskInt8Arraycall-boundObject.entriesopennested cssuuidmkdirdropargumentpropertymake dirmrureact-hook-formformattingArray.prototype.findLastcreatejsonpathbootstrap lessbyteLengthES6reduxequalityURLSearchParamsintrinsiccommanderCSSeast-asian-widthparsedescriptorsartreadableawesomesaucecommand-linefsenvironmenttrimRightsymbolisConcatSpreadableES8mkdirsfunctionwalkflattencurldataviewtrimEndlesssignalPromisekeyfastcjkshebanginputpackage.jsonSetreact animationwatcherrortaptimestylespruneshampasswordstreams2prototypecryptomatchprettyserializerES2019ajaxpreserve-symlinkssymlinkspreprocessormimetypesless csssetImmediatevariablesWeakMapjsdomUint8ArrayArray.prototype.includespyyamlregexlanguageaccessibilityArray.prototype.containsECMAScript 7postcss-pluginfoldercall-bindfast-copyTypedArrayassertparentstableregexpreadablestreamdirArray.prototype.findLastIndexcheckECMAScript 2018persistenttc39stylingregularisfetchreducersuperagentbabel-coreclassnamesrapiddotenvthreeCSSStyleDeclarationtypeofjavascriptpathcolorsUint8ClampedArrayvisualequalbusycolorratelimit
1.0.0

23 days ago