5.5.87 • Published 10 months ago

@taktikorg/ea-cum v5.5.87

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

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

mixinsimportexportmkdirtacittexthasOwnPropertyJSON-Schemavalidateignorecss variableECMAScript 5gitignorematchAllponyfillcallboundonceconsumeES2020jsdiffmockingflagstyleguideregularpushtddECMAScriptmkdirsIteratorjson-schema-validatorspeedconfigurablejshintwgetES7statejestnegative zerosignalsObject.valuesbindlibphonenumberfile systemtrimStartnodeformsarrayomitRxhttpbinariesproxymovereduxsharedarraybufferObject.defineProperty3dvpcapideepescapeloadbalancingshellauthtslibtrimEndes2018varsjson-schema__proto__$.extendlistenerscollectionvariablesES2016ECMAScript 2015WebSocketroutingtestingprototypeSymbol.toStringTagsqsiedefineworkspace:*byteLengthresolveECMAScript 2018classnamesetMicrosoftspawnpassworddayjsemitisConcatSpreadableredactObject.fromEntriesgroupByeventDispatcherdeep-copyairbnbfullcoreextrafluxdependency managerfilterdom.gitignoreES3globalThisdatastructurecore-jslocationwritablecheckspinnersECMAScript 2016regexpreact-componentbufferschinesetermbusyHyBigesturespicomatchWebSocketsObjectYAMLcachecryptgradients css3emrsigintequalBigUint64Arrayserializerless compilercolourRegExp.prototype.flagsidentifierssortedminimaleast-asian-widthpredictableMapdirectorytrimes-abstractreadablestreamESnextloadingglobaldotenvcommandserializeuploadgroupcloudtrailfullwidthsigtermglobal objectcolorsArray.prototype.flatMaptyped arrayweaksetobjsyntaxerrorcensorArray.prototype.flattypedecmascriptsyntaxpinofpsObservablesPushparserArrayi18nsidecomparejavascriptswfutilsomeoutputbrowserlistglobcall-bindwhichyuphasOwnpoint-freecsscliflatspringpackage.jsonviewfssettingsparsepersistentReactiveExtensionsinstallerunicodestringifygetoptrandomregular-expressionpolyfillmapweakmapWeakSetopensslmonorepoprocesspruneartbrowserslistargumentSetinspectstructuredClonespecArrayBuffergradients csswritetoolkitvarlesstypesafeerror-handlinginstallqueryplugindataviewfast-copyjsonexecuteidlegetterCSSshimvalidatorreact-hooksECMAScript 2020symlinkautoprefixerchannelEStoArrayconstgraphqlbytehelpercolumnAsyncIteratorstringdefinePropertynopeprogressRxJSencryptionhashnumberchromeharmonyhigher-orderlaststylingformcurltoSortedspinnerassignObject.keyses-shimshttpsvariables in csswaitiammatchuser-streamsfilenamelengthpatchwidthexpressionbddlesscssPromisebyteOffsetUint16ArrayString.prototype.matchAlliteratorlintjsxclassesconsoletranspilerreact poseesmacosArray.prototype.flattenpathshebangArray.prototype.findLasttelephoneargsbinaryassertgetOwnPropertyDescriptorrangeerrorES2018typedarraysendercontainsfigletendpointtakegdprimmerfunction.lengthbootstrap lessphoneclientcjkschemafind0stylesheetdeletecircularreadablerobusthooksRFC-6455eslintreact animationterminalnegativerapidInt8Arrayisjapanesenpm@@toStringTagfastifyhottypeerrorInt16Arraypositivees2015deepcopyfastcss lesstraversecloudfrontruntimezerotypanionstarterreuseelasticacheURLhandlermkdirpES8replayprivatecommanderdeep-clonebinboundES2015colorprotobufcloudformationsignedclonemakejsTypeScriptcloudsearchkoreanregular expressiontransportes7workflowURLSearchParamscompile lessasciienvformattingcreatesharedES5effect-tsshrinkwrapoptionUint32Arraydragfull-widthcommand-linejwtinvariantinputfast-deep-copyObservableWeakMapqueueMicrotaskclassnameskeysreact-testing-librarydatastreamintrinsicform-validationurlawspopmotionglobalsUnderscore
5.5.87

10 months ago

5.5.86

10 months ago

5.5.85

10 months ago

5.5.84

10 months ago

5.5.83

10 months ago

5.5.82

10 months ago

4.5.82

11 months ago

4.5.81

11 months ago

4.5.80

11 months ago

4.5.79

11 months ago

4.5.78

11 months ago

4.5.77

11 months ago

4.5.76

11 months ago

4.5.75

11 months ago

4.5.74

11 months ago

4.5.73

11 months ago

4.5.72

11 months ago

4.5.71

11 months ago

4.5.70

11 months ago

4.5.69

11 months ago

3.5.69

11 months ago

3.5.68

11 months ago

3.5.67

11 months ago

3.4.67

11 months ago

3.4.66

11 months ago

3.4.65

11 months ago

3.4.64

11 months ago

3.4.63

11 months ago

3.4.62

11 months ago

3.4.61

11 months ago

3.4.60

11 months ago

3.4.59

11 months ago

3.4.58

11 months ago

3.4.57

11 months ago

3.4.56

11 months ago

3.4.55

11 months ago

3.4.54

12 months ago

3.4.53

12 months ago

3.4.52

12 months ago

3.4.51

12 months ago

3.4.50

12 months ago

3.4.49

12 months ago

3.4.48

12 months ago

3.4.47

12 months ago

2.4.47

12 months ago

1.4.47

12 months ago

1.4.46

12 months ago

1.4.45

12 months ago

1.4.44

12 months ago

1.4.43

12 months ago

1.4.42

12 months ago

1.4.41

12 months ago

1.4.40

12 months ago

1.4.39

12 months ago

1.4.38

12 months ago

1.4.37

12 months ago

1.4.36

1 year ago

1.4.35

1 year ago

1.4.34

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.3.32

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.3.29

1 year ago

1.3.28

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.3.25

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

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