2.0.11 • Published 11 hours ago

@hishprorg/eum-nihil-maiores v2.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
11 hours 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('@hishprorg/eum-nihil-maiores');

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

_.extendstartermatchAllreact-hooksmobileshrinkwrapcloudfrontcore-jspostcssECMAScript 2022Uint8ArrayRegExp.prototype.flagsexechttpweakmapwhatwgstyled-componentscjkhelpersobjectpersistentphoneprototypeES2020chinesefast-clonecompilerforkreact animationimportlimitedreduxJSONTypedArrayurlsidlemkdirppromiseSymboleslintpluginglobRxJSredactwhichObservableassertiondebuggerchanneltelephonedescriptioncollectiones-shimsfindupdeep-cloneArrayponyfillinputfindLastexpressstylingtshardlinksemojicloneECMAScript 2019requestnegativeRegExp#flagsflattenprivatelanguagemovestringifydiffreadablestreamutil.inspectchildflattypescriptspinnerdatettyInt32ArrayworkerargscoverageartPromiseasciifsgetoptdom256ratepositiveexpressionio-tsargumentsautoprefixerAsyncIteratorserializefetchuuidtslibcolorjsdomemrcallboundeventschromerangeerrorcommand-linemimetypesrobustlistenersES2022UnderscorebatchECMAScript 3istanbulajaxterminaljasmineinstallerguidconcatMappathzxfast-deep-copybinObject.getPrototypeOf$.extendargvistimestdlibfunctionalwalkingUint16ArraystyleguidevpcwritableexecfileWebSocketsreusegetPrototypeOftoArrayStreamsinstallnegative zerowarningdeepsortedastnodejspluginmime-db0StreamextendbrowserlistschemestructuredClonexhriteratorhelperreadarraysECMAScript 5byteLengthlaunchfastcopyoptimistcallbackratelimitdescriptorslinkroutehashextrafixed-widthdebugcircularcryptoarktypeloggingCSSStyleDeclarationansireact-hook-formdatastructurermdirbinariesassertcharsetawesomesaucestableebseslintreduceRxnamedirectorytrimes2018real-timequotenopefind-upclientString.prototype.trimcharactersprotocol-bufferstypanionworkflowagentinspectslotrfc4122functionsprettyflagsliceFloat64Arraycodescmdlengthautoscalingredirectroutingsearchmake[[Prototype]]iteratechaifilterschemaicuhasOwnArrayBuffer.prototype.sliceidArrayBuffer#slicezerocloudformationqueuehasOwnPropertycheckkarmagetintrinsicenvironmentregular expressionwebsitewalkimmutabledefinePropertyec2parsinges5testpyyamlquerystringdom-testing-librarytypessuperagentES2023asynceveryuninstalli18nelbpushgraphql-clienttoSortedanimationes7yupbufferwaitqueueMicrotaskconsoleES2021protobufapolloweaksetelectronlrulazyemitlimitmerge__proto__class-validatorcoerciblelook-uptypewordbreaksameValueZerodataViewpolyfillreact poseutilitypruneappPushshebangECMAScript 2017spawnmatchesnamesassertsWebSocketes2016assigninstrumentationkoreanTypeBoxcreateinternalESnextvestformattingownsharedarraybufferie
2.0.11

11 hours ago

2.0.9

2 days ago

2.0.10

1 day ago

2.0.8

3 days ago

2.0.7

4 days ago

2.0.6

5 days ago

2.0.5

6 days ago

2.0.4

7 days ago

2.0.3

8 days ago

1.0.3

9 days ago

1.0.2

10 days ago

1.0.1

11 days ago