5.5.87 • Published 1 year ago

@taktikorg/ea-cum v5.5.87

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

1 year ago

5.5.86

1 year ago

5.5.85

1 year ago

5.5.84

1 year ago

5.5.83

1 year ago

5.5.82

1 year ago

4.5.82

1 year ago

4.5.81

1 year ago

4.5.80

1 year ago

4.5.79

1 year ago

4.5.78

1 year ago

4.5.77

1 year ago

4.5.76

1 year ago

4.5.75

1 year ago

4.5.74

1 year ago

4.5.73

1 year ago

4.5.72

1 year ago

4.5.71

1 year ago

4.5.70

1 year ago

4.5.69

1 year ago

3.5.69

1 year ago

3.5.68

1 year ago

3.5.67

1 year ago

3.4.67

1 year ago

3.4.66

1 year ago

3.4.65

1 year ago

3.4.64

1 year ago

3.4.63

1 year ago

3.4.62

1 year ago

3.4.61

1 year ago

3.4.60

1 year ago

3.4.59

1 year ago

3.4.58

1 year ago

3.4.57

1 year ago

3.4.56

1 year ago

3.4.55

1 year ago

3.4.54

1 year ago

3.4.53

1 year ago

3.4.52

1 year ago

3.4.51

1 year ago

3.4.50

1 year ago

3.4.49

1 year ago

3.4.48

1 year ago

3.4.47

1 year ago

2.4.47

1 year ago

1.4.47

1 year ago

1.4.46

1 year ago

1.4.45

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.4.42

1 year ago

1.4.41

1 year ago

1.4.40

1 year ago

1.4.39

1 year ago

1.4.38

1 year ago

1.4.37

1 year 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