6.7.95 • Published 10 months ago

@swenkerorg/illo-quasi v6.7.95

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months 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('@swenkerorg/illo-quasi');

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

popmotionhashESnextgettereventEmitterTypeBoxmulti-packagebinaryStreaminstallchromiummatchAllES7qstypanionformatroute53zodenvironmentamazonlintobjectAsyncIteratorworkflowelbcensorendercode pointsStreamsjasmineclitrimRightSystem.globalmatchflatMapselfawsPushdescriptionflagscss-in-js_.extendquerystringhas-ownxmlcallboundappoptimizertypedarraytapwalkwgetreduceraccessorstablekeysflatteneveryES2019es-shim APIlengthtranspilerdropstylingreducesortedeslinttty@@toStringTagdayjsinstallerpicomatchdiristanbulrm -frtostringtagmergezxtyped arraycompareeventDispatcherdeterministictoolkitsyntaxerrorECMAScript 2015prototypeio-tscolorsfindupyamlformsdeepcopyWeakSetserializerpinodebugenvironmentsESloadbalancingstringifierdebuggerreact-hooksglobalasyncbundlingwriteArray.prototype.filtermomentqueueincludeshtmlpolyfillreal-timeoutputreact animationjsxInt8ArrayES2017spinnerWeakMapsubprocessECMAScript 5rssprotocol-buffersRFC-6455utilitieslocationrestwidthcloudformationpostcssArrayBufferfschildstringifyperformanteslint-pluginsomejson-schema-validationbyteOffsetfullwidthUint8ClampedArraytrimStartURLSearchParamsrandomtransforminvariantTypeScriptjQueryenves5pyyamlcloudfrontonceecmascriptgetOwnPropertyDescriptorReactiveExtensionsfindbrowserslistforEachconstrangeerrorbuffersruntimeprunedeepFloat64Arrayaccessibilityrfc4122resolvestarterfeedviewprivate databufferiamObjectRxslotstreamrdstypesmodulesxtermfunction.lengthfullparseeslintpluginramdaArrayBuffer.prototype.slicecompileremojicjkpropsinatrahttpmapclassesefficientposeassertscontainseast-asian-widthvalueforkfile systemcoreredactES2016superstructeffect-tsprocessbinclientsuperagenterrorrouteObservablescommand-lineautoprefixerenumerablepropertiesparsersymlinkseslintconfignpmignorethreeECMAScript 2023writablesharedarraybufferspawnmkdirpbannersyntaxES2015httpstelephoneasciifind-upes2016es6lruSymbol.toStringTagpackagesschemecollectiontypescriptcheckCSSlogshimredux-toolkitnegativecolorRegExp.prototype.flagscachediffArray.prototype.flatcloneclass-validatorcharacter__proto__WebSocketspeedform-validationfindLastframerglobal this valueapollodependency managersesnegative zeroECMAScript 7browserutil.inspectString.prototype.matchAllweaksetglobalThisdirectoryregular expressionsnsrgbjson-schema-validatoromittypeoffindLastIndexparentboundtslibignoremoduletestingArray.prototype.flattengdprwarningObject.definePropertycore-jstoArrayautoscalingmovecircularreadablestreamextend.gitignorefetchidupebsloadingObject.valuesanimationcallbackreact-testing-libraryemitArrayes-shimsArray.prototype.containssliceInt16ArrayfastifyswfreactwaapiprotoArray.prototype.findLastIndextoSortedzerojsdomastequalcloudwatchcomputed-types0ECMAScript 3Object.getPrototypeOfconcatcommandYAMLcommanderRxJSArray.prototype.includesworkerkeyReactiveXlockfilevarsMicrosoftrapidbabel-corel10nidentifierspositivedataec2functionsspinnersairbnbstyleguidesortlookcolourimmertesteryuptacitpackage.jsonwindowsimpledbminimaltoStringTagconfigurablestreamsES8managerpatchString.prototype.trimhookformpipeisConcatSpreadablescheme-validationa11yexecUint32ArraybabelurlweakmapBigInt64ArrayextraproxyReflect.getPrototypeOfarrayperformancefast-deep-copyreduxcloudtrailglobal objectdependenciesmocharemove.envformattingtraversepathhelperdataViewdatemetadataestapeargsshamcopycollection.es6jsonschemainputsource mapHyBijoiFunction.prototype.nameharmonyajvchromeelectroncurriedinternalatomsameValueZeroURLcharactersStyleSheetassignmobileloggingUint8Arrayrequiredeepclonesetter6to5descriptorphonekoreanxhrassertmonorepoflatargumentfast-deep-clonecallbindvarInt32ArrayutilgetopttypechaitransportclassnamesearchendpointbundlermapreducecssdefineimmutableelasticacheUnderscoreexecuterulesasterisksfolderequalityBigUint64Arraytermnamegitignore
6.7.95

10 months ago

6.7.94

10 months ago

6.7.93

10 months ago

6.6.93

10 months ago

6.6.92

10 months ago

6.6.91

11 months ago

6.6.90

11 months ago

6.6.89

11 months ago

6.6.88

11 months ago

6.6.87

11 months ago

6.6.86

11 months ago

6.6.85

11 months ago

6.6.84

11 months ago

6.6.83

11 months ago

6.6.82

11 months ago

6.6.81

11 months ago

6.6.80

11 months ago

6.5.80

11 months ago

6.5.79

11 months ago

6.5.78

11 months ago

6.5.77

11 months ago

6.5.76

11 months ago

6.5.75

11 months ago

6.5.74

11 months ago

6.5.73

11 months ago

6.4.73

11 months ago

6.3.73

11 months ago

6.3.72

11 months ago

6.3.71

11 months ago

6.3.70

11 months ago

6.2.70

11 months ago

6.2.69

11 months ago

6.2.68

11 months ago

6.2.67

11 months ago

6.2.66

11 months ago

6.2.65

12 months ago

6.1.65

12 months ago

6.1.64

12 months ago

6.1.63

12 months ago

6.1.62

12 months ago

5.1.62

12 months ago

5.1.61

12 months ago

5.1.60

12 months ago

5.1.59

12 months ago

5.1.58

12 months ago

5.1.57

12 months ago

4.1.57

12 months ago

4.1.56

12 months ago

4.1.55

12 months ago

4.1.54

12 months ago

4.1.53

12 months ago

4.1.52

12 months ago

4.1.51

12 months ago

4.1.50

12 months ago

4.1.49

12 months ago

3.1.49

1 year ago

3.1.48

1 year ago

3.1.47

1 year ago

3.1.46

1 year ago

3.1.45

1 year ago

3.1.44

1 year ago

3.1.43

1 year ago

3.1.42

1 year ago

3.1.41

1 year ago

3.1.40

1 year ago

3.1.39

1 year ago

3.1.38

1 year ago

0.0.1-security

1 year ago

3.1.36

1 year ago

3.1.35

1 year ago

2.1.35

1 year ago

2.1.34

1 year ago

2.1.33

1 year ago

2.1.32

1 year ago

2.1.31

1 year ago

2.1.30

1 year ago

2.1.29

1 year ago

2.1.28

1 year ago

2.1.27

1 year ago

2.1.26

1 year ago

2.1.25

1 year ago

2.1.24

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago