6.7.95 • Published 2 years ago

@swenkerorg/illo-quasi v6.7.95

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

6.7.94

2 years ago

6.7.93

2 years ago

6.6.93

2 years ago

6.6.92

2 years ago

6.6.91

2 years ago

6.6.90

2 years ago

6.6.89

2 years ago

6.6.88

2 years ago

6.6.87

2 years ago

6.6.86

2 years ago

6.6.85

2 years ago

6.6.84

2 years ago

6.6.83

2 years ago

6.6.82

2 years ago

6.6.81

2 years ago

6.6.80

2 years ago

6.5.80

2 years ago

6.5.79

2 years ago

6.5.78

2 years ago

6.5.77

2 years ago

6.5.76

2 years ago

6.5.75

2 years ago

6.5.74

2 years ago

6.5.73

2 years ago

6.4.73

2 years ago

6.3.73

2 years ago

6.3.72

2 years ago

6.3.71

2 years ago

6.3.70

2 years ago

6.2.70

2 years ago

6.2.69

2 years ago

6.2.68

2 years ago

6.2.67

2 years ago

6.2.66

2 years ago

6.2.65

2 years ago

6.1.65

2 years ago

6.1.64

2 years ago

6.1.63

2 years ago

6.1.62

2 years ago

5.1.62

2 years ago

5.1.61

2 years ago

5.1.60

2 years ago

5.1.59

2 years ago

5.1.58

2 years ago

5.1.57

2 years ago

4.1.57

2 years ago

4.1.56

2 years ago

4.1.55

2 years ago

4.1.54

2 years ago

4.1.53

2 years ago

4.1.52

2 years ago

4.1.51

2 years ago

4.1.50

2 years ago

4.1.49

2 years ago

3.1.49

2 years ago

3.1.48

2 years ago

3.1.47

2 years ago

3.1.46

2 years ago

3.1.45

2 years ago

3.1.44

2 years ago

3.1.43

2 years ago

3.1.42

2 years ago

3.1.41

2 years ago

3.1.40

2 years ago

3.1.39

2 years ago

3.1.38

2 years ago

0.0.1-security

2 years ago

3.1.36

2 years ago

3.1.35

2 years ago

2.1.35

2 years ago

2.1.34

2 years ago

2.1.33

2 years ago

2.1.32

2 years ago

2.1.31

2 years ago

2.1.30

2 years ago

2.1.29

2 years ago

2.1.28

2 years ago

2.1.27

2 years ago

2.1.26

2 years ago

2.1.25

2 years ago

2.1.24

2 years ago

2.1.23

2 years ago

2.1.22

2 years ago

2.1.21

2 years ago

2.1.20

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago