1.0.0 • Published 15 days ago

@rabiepenpm/nesciunt-minus-cum v1.0.0

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

String.prototype.trimEnd Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2019-spec-compliant String.prototype.trimEnd shim. Invoke its "shim" method to shim String.prototype.trimEnd if it is unavailable.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec. In an ES6 environment, it will also work properly with Symbols.

Most common usage:

var trimEnd = require('@rabiepenpm/nesciunt-minus-cum');

assert(trimEnd(' \t\na \t\n') === 'a \t\n');

if (!String.prototype.trimEnd) {
	trimEnd.shim();
}

assert(trimEnd(' \t\na \t\n ') === ' \t\na \t\n '.trimEnd());

Tests

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

Underscorelook-upshared3dshambcrypthigher-orderes2016workerfilterconsoletesterjsdomcolumnformattinggdprRegExp.prototype.flagsES2023jasminecallYAMLassignavadebugger.envquerystringcorsoptimizerhelpersfastcopyes2018stdlibreact posesortedstylesposearraysHyBivarpostcss-pluginpersistentbootstrap lessmacospyyamlaccessibilitynodejsimporttypesafefastifycharactersomitefficientECMAScript 5linuxdependency managerpipestylefolderObject.getPrototypeOfscheme-validationpositivewrapinternalprocessincludesguidfast-deep-clonestringifierconsumeless.js-0bannerprotocol-bufferslibphonenumberfast-deep-copybuffersprivateassertvalidateflattensignalxhrcjkformsflatMapdirthrottlemodulesdescriptorerror-handlinginspectextraeventDispatcherclientrapidcurriedhooksReflect.getPrototypeOflimitedstringless compilerlogcopysigtermES5promisesargscharactertoStringTagclistylesheetECMAScript 2022dataViewreduxReactiveXECMAScript 2020css variablecollection.es6regexpconcatES3httpSetarktypeyupparsersetterwalkingremovenumberimmerawesomesaucestarterauthenticationTypeScriptbytemake dirObject.isObjectidleplugindeepcopymime-dbautoprefixerasyncstringifyECMAScript 2021fast-copybyteOffsetArray.prototype.findLastIndexwaitrequirecommandercommandprefix$.extendArray.prototype.includesexpresstaplockfileutilityxssdefinelinttexteslintpluginpackage.jsonfunctionsform-validationwritableoptimistdroptrimLeftlookObject.keysES2015typed arraychaibundlingvalidationzero_.extendURLSearchParamschromiumreducesuperstructjson-schemamergeclass-validatorttyargumentObject.definePropertytapeobjwordwraplimiterror0real-timespecgetOwnPropertyDescriptorloadingflatgesturesclassnamescryptofsgetTypedArrayrateES2022ECMAScript 2015writewatchingzodArray.prototype.containsconcatMapformweakmappoint-freegettertoolkitphonedependenciescall-bindES2017sortdomcensorArray.prototype.flatECMAScript 2023Streampatchlengthstreams2extensionES2019utiliterateArray.prototype.findLastiterationduplexupString.prototype.trimtslibmochareadablestreamfastcloneequalapisymlinkES7momentonceecmascriptfast-cloneES8loggerwidthconfigurableviewrgbcommand-lineeslintstreamsoutputRxSymbol.toStringTaginstallergroupwgetvalidatorprivate datawebgetPrototypeOffunctionalbusyvestoptionbindconnectpropertieslinktoSortedmkdirsequencejapanesepreserve-symlinkstrimRightgetoptpnpm9signalsMicrosoftes2017mkdirseslint-pluginencryptionyamleslintconfigstableansibluebirdlesscsseventEmitterfromtestsuperagentthreekoreansymbolsfind-upthroatcompile lessArrayBuffer#slicelruestreecontainsimmutablejsonschemaObject.assignmimetypestimemonorepoweaksetajaxRxJSmatchAllgradients css3Int16Arrayrmdirreuseinternal slotreact animationwatchFileprunedirectorylinewraptypedarraystypeerrorlanguagevariablesPushkarmarfc4122descriptorsisIteratorbundlerFunction.prototype.namedrageast-asian-widthFloat32ArrayunicodeSymboldeterministicpreprocessorES2020jsxprogressUint16ArraysameValueZeroreact-hooksfseventscss-in-jsargparsestructuredClonematchesairbnbflagsArrayBufferCSSreact-testing-libraryredux-toolkitgloblistenersuuidtacitprotobufdom-testing-libraryArrayhardlinksserializationlessi18nTypeBoxgenericsjsdiffconcurrencyArray.prototype.flatMapJSON-SchemaasciiresolveprotoStyleSheetvalidECMAScript 2016postcssperformanta11yirqgetintrinsicwhichequalitygradients csschannelObservableString.prototype.matchAll[[Prototype]]loggingReactiveExtensionsregexexecreactoperating-systemserializeslicepicomatchmakemulti-packagepurecallbackUint8ArraystatusES2021regular expressiontraverserandomrmsearchcodestasktypedexitobjectAsyncIteratorserializerpathnpmES2018WeakMaptranspilertelephoneprototype6to5json-schema-validatorfastreact-hook-formquotemrurangeerrortypedarraytypegroupByesvalueswalktoolscoremobilepackagesidejQueryassertsES6EScircularmodulepromisereadableiteratorchromesetPrototypeOftoArrayexpressionmapminimalWebSocketcolorsless csstouch__proto__visualwatchinstallpolyfilldatastructurees-abstractbddcoerciblemixinscomparerobustwatcherslotfunctiondeepclonefilebuffer256handlersanimationdeepnested cssclonecomputed-typesregularsanitizationdate
1.0.0

15 days ago