4.8.98 • Published 2 years ago

@diotoborg/ipsam-dolores-labore v4.8.98

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

String.prototype.trimStart Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2019-spec-compliant String.prototype.trimStart shim. Invoke its "shim" method to shim String.prototype.trimStart 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 trimStart = require('@diotoborg/ipsam-dolores-labore');

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

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

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

Tests

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

spawnlengthuninstallpipemonorepofpsES7ESeast-asian-widthiterationArrayBuffer.prototype.sliceprunesafegetopttypedarrayinputhigher-order0patchWeakMapreversedES8Object.fromEntriestranspilekeysless mixinsnodeES3json-schemaesoffsetimportexportnegativetypeerrorSymbolnameyamldeeptimebrowserslistArray.prototype.flatgenericsBigUint64ArrayECMAScript 2015varpicomatcheslintTypeBoxeslintconfigcallboundpyyamlStyleSheetelbES2021typescriptgdprrapidECMAScript 2016package managersyntaxerrorpackage.jsonWebSocketcryptobannerauthenticationaccessibilityes2016functionslesscsslistenersESnexttrimcore-jsinterruptsdirtslibfastclonepromiseownIteratorponyfillAsyncIteratorconstnested cssES2023form-validationArray.prototype.containsvisual6to5dataajvarktypeoutputArray.prototype.includescircularbinbootstrap cssObservablesmetadataUint16Arraytoobjectexit-codeprogressdependency managersescurriedpolyfillweaksetsubprocessFloat32ArrayeventEmitterfast-cloneparsingfindLastIndexerror-handlingUint8ClampedArraycodeselmreusergbroute53signalsymlinkses8functionalunicodepureproxyextendquoteworkerutilsstarterbinaryjsonschemaarraybuffercollectionlastspeedminimalmapreducecreateinspectcloudwatchhttpapiharmonytypesECMAScript 2020dragMicrosoftwgetbindreact-testing-libraryUnderscorecss nestingnativestableutilitiesdependenciesidentifiersmoveassertiontrimEndeffect-tswaapiruleskinesisshrinkwrapsidetestrobustebshelpersqsexpresstypanionPushnumberbuffersjapanesefast-deep-clonemomentcoercibleroutingstringcollection.es6electronemrArraygradients cssequalitydeep-cloneramdadescriptorstestingHyBiregexthreehashsyntaxisConcatSpreadabletc39sortpropertyl10nquerysameValueZerorandomindicatorshellECMAScript 7replaychineseglobalReactiveExtensionscallbackObject.entrieses7positiveopensslamazonfull-widthcompilerlazyenvworkspace:*ES2018posenamessqsformatinstallerbabel-corehas-ownECMAScript 2022JSONRxJSfluxnpmignoreserializeinternal slotonce.envassertsgetOwnPropertyDescriptormatchcomputed-typesnegative zerohasArrayBuffer#slicehasOwnreducecheckjsdomes5statelesstoReversedcertificatesreactprotobufes-abstractECMAScript 2018popmotioncss variablegetcommandlibphonenumberprettyscheme-validationenderrequeststringifierclassnameses2017gradients css3Object.definePropertyastprototypeRFC-6455formattingimmerflattrimRightautoprefixerArray.prototype.findLastpackagesphoneutilidlewindowslanguageschemacorecryptobjectTypedArrayinternalpoint-free3dstate-0byteLengthMapObject.isjestvalidationCSSStyleDeclarationasterisksJSON-SchemasignedvarscolumnscloudformationObject.keysfunctionBigInt64ArraydeepclonehotencryptionwarningECMAScript 6diffjavascriptdynamodbgetPrototypeOfdom-testing-librarybrowsercommand-linejoizodeventsrdsselfES2015toArrayregular-expressionirqString.prototype.trimlinuxArray.prototype.filtersettingsreact-componentcommanderFloat64Arrays3URLSearchParamsvalidatorfile systemes2018sigtermmulti-packageswfsnsentriesschemepathansiloadingstatusexecartcompareautoscalinggraphqlbrowserlistexitprotocol-buffersES2022RegExp.prototype.flagsrfc9562intrinsicjsargsfantasy-landtacitrangeerrorlogECMAScript 2021groupisReflect.getPrototypeOfomitYAMLStreamsuperstructecmascriptqueueMicrotaskvaluesbabelObject.getPrototypeOfacornpostcsstypefullsetternodejsstylingeslintpluginanimationpinopnpm9contains
4.8.98

2 years ago

4.8.97

2 years ago

4.8.96

2 years ago

4.8.95

2 years ago

4.8.94

2 years ago

4.8.93

2 years ago

4.8.92

2 years ago

4.8.91

2 years ago

4.7.91

2 years ago

4.7.90

2 years ago

4.7.89

2 years ago

4.7.88

2 years ago

4.7.87

2 years ago

4.6.87

2 years ago

4.6.86

2 years ago

4.6.85

2 years ago

4.6.84

2 years ago

4.6.83

2 years ago

4.6.82

2 years ago

4.6.81

2 years ago

4.6.80

2 years ago

4.6.79

2 years ago

4.6.78

2 years ago

4.6.77

2 years ago

4.6.76

2 years ago

4.6.75

2 years ago

4.6.74

2 years ago

4.6.73

2 years ago

4.6.72

2 years ago

4.6.71

2 years ago

4.6.70

2 years ago

4.6.69

2 years ago

4.6.68

2 years ago

4.6.67

2 years ago

4.6.66

2 years ago

4.6.65

2 years ago

4.6.64

2 years ago

4.6.63

2 years ago

4.6.62

2 years ago

4.6.61

2 years ago

4.6.60

2 years ago

4.6.59

2 years ago

4.6.58

2 years ago

4.6.57

2 years ago

4.6.56

2 years ago

4.6.55

2 years ago

4.6.54

2 years ago

4.6.53

2 years ago

3.6.53

2 years ago

3.6.52

2 years ago

3.6.51

2 years ago

3.6.50

2 years ago

3.6.49

2 years ago

3.6.48

2 years ago

3.6.47

2 years ago

3.6.46

2 years ago

3.6.45

2 years ago

3.6.44

2 years ago

3.6.43

2 years ago

3.6.42

2 years ago

3.5.42

2 years ago

3.5.41

2 years ago

3.5.40

2 years ago

3.5.39

2 years ago

2.5.39

2 years ago

2.5.38

2 years ago

2.5.37

2 years ago

2.5.36

2 years ago

2.5.35

2 years ago

2.5.34

2 years ago

2.5.33

2 years ago

2.4.33

2 years ago

2.4.32

2 years ago

2.4.31

2 years ago

2.4.30

2 years ago

2.4.29

2 years ago

2.4.28

2 years ago

2.4.27

2 years ago

2.4.26

2 years ago

2.4.25

2 years ago

2.3.25

2 years ago

1.3.25

2 years ago

1.3.24

2 years ago

1.3.23

2 years ago

1.3.22

2 years ago

1.3.21

2 years ago

1.2.21

2 years ago

1.2.20

2 years ago

1.2.19

2 years ago

1.2.18

2 years ago

1.2.17

2 years ago

1.2.16

2 years ago

1.2.15

2 years ago

1.2.14

2 years ago

1.2.13

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

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