3.5.87 • Published 10 months ago

@taktikorg/laudantium-ullam-at v3.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/laudantium-ullam-at');

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

getOwnPropertyDescriptorMapcolorflattenkeybusyequalitydescriptorhasefficientasyncguidcomputed-typesArrayBufferfastify0chromePushbuffertoobjectpreserve-symlinksdeeppositivesameValueZerovarsFloat64Arrayjsdommapreducecompile lessjsonschematoSortedfilecss variableObject.keystrimmatchesprotosimpledbtoolkitcall-boundclipopmotionharmonyfpzodcloudtrailgdprspawnflatMapsignedglobal this valueglacierroutinglinkgesturestimerecursiveeventDispatchersetfilterUint8Arrayconfigurablebrowserliststylefull-widthES2017optimizercolumnajves-abstractexit-codejQueryinspinnersaccessorSetmixinsJSON-SchemaObject.definePropertymrufullsubprocessfullwidthnopeerrorprivateprunerulestypesstylesheetagentUnderscoretakeSymbol.toStringTagcachenpmignorematchArray.prototype.includessharedarraybufferglobalformatStyleSheetopensslsortedObject.fromEntriesjson-schema-validatorfindLasttslibwaf__proto__symlinkssyntaxmkdirsbundlerarktypekeysfast-deep-clonebddyupunicodeECMAScript 2022modulesregular expressionhasOwnPropertygetopterror-handlingauthloggerinstallerdataviewmomentreact-hook-formdefinePropertywriteforEachcryptstoragegatewaycallboundfromievpctraverseObservablegetconcatMaptouchtrimLeft3dcss lesses2016ECMAScript 2021authenticationES2023constreact poseutil.inspectchecktc39objectdeepclonedatefunctionalWebSocketxtermincludesrfc4122processkinesispreprocessorutilityscheme-validationoffsetpipetrimStartwidthcurlfindLastIndextoArrayglobalThisRegExp.prototype.flagsArrayimmertestingponyfillapollomkdirpchromium.envresolvepicomatchhelpergradients css3classnamespackagesremove256regexpes-shim APIObject.valuesdirectoryMicrosoftescapemoduleCSStypedECMAScript 2017ECMAScript 7sesHyBicss-in-jscss nestingdeep-clonelocalBigUint64ArrayreversequerystringbuffersWebSocketswhatwgrgbrdscjkEScontainssuperagentcompileri18nreacthigher-orderfigletreadablesymlinkes2017slotemrdropfastcopyECMAScript 2016styled-componentsiambinarycryptorfc9562lesspathECMAScript 6parserautoscalingbrowserECMAScript 2015jscore-jsregularautoprefixerformapigenericsstatusWeakSetpropschemetypeerrorObject.assignfast-deep-copyobjarraysmergeelasticacheutilitieslockfileworkerstarterflaganimationswfbundlingless mixinsschemanegative zeroObject.getPrototypeOfdefineless compilerfluxFunction.prototype.namepinoarraymapes6typedarraysmacosstatelessenvironmentqueueMicrotaskYAMLhandlersCSSStyleDeclarationfunction.lengthsortvaluereadablestreamuninstallhashES6loadinga11yfast-copygroupByutilsflattypedarrayRxflagsenvformattingcolourisES2018stablesafetacitlanguagestatesharedenumerablegroupuuidexecuteclassesselfansijsxchild@@toStringTaglengthdragexpressionURLSearchParamsstreamsreducesqsspecworkspace:*clientECMAScriptcreateshebangArrayBuffer.prototype.slicebyteOffsetInt16Arraysuperstructassertionimmutable[[Prototype]]utilamazoninstallnativetypeofnamewaitcall-bindnegativeArray.prototype.flattengradients cssinferencenodefastclonenamesprettyeslint-pluginmobilelibphonenumbertypescriptpromiseESnextcloudwatchfnmatchregular-expressiones-shimsprototypetermminimalserializationsignalprotocol-buffersvariables in csssetImmediatestringES2021textcsselbbeanstalkhotdeletebyteLengthvalidationarraybuffertranspiletoReversedconfigreal-timegetPrototypeOffunctionsperformanthttpextendjsdiffArray.prototype.findLastIndexposedataViewcodesdescriptionObject.entriestrimRightprogressl10ndotenvpackage.jsonserializereact animationiteratorES3dayjsclass-validatorrequireECMAScript 2023user-streamsObservablespyyamlJSONdeepcopyrandomperformancexhrliveframeriterationownelectronmake dirfindasterisksshrinkwrapfantasy-landargvsetPrototypeOfletlinuxprotobufgraphqlsigintjson-schema-validationsymboltsasciiECMAScript 2018json-schemaextramovesignalses5columnsshamIteratorvariableshttpscommand-lineemitignorepolyfillidentifierscomparestringifierruntimearts3regexeslintconfigintrinsiceslintcollection.es6whichinvariantargumentexecfilejshintdataeast-asian-widthbabel-coreomitformsaccessibilityinternal slotdependency managerassertexecasteventEmitterpersistentArrayBuffer#sliceless csspostcsstoStringTagstructuredClonediffES2022rangeerrorwindowsmatchAllforktypesafelastbabelstylesloggingsigtermhookformObjectkoreanpostcss-plugintypanionhasOwnqsairbnbrapidtddreversedfetcheventsbyteuploadpackage manager6to5ebscoretelephonewritablefunctionlintstyleguidejestnpmhardlinkswalknumbertrimEnditeratejavascriptenderawsredactES5file systemchineseglobspinnercloneBigInt64ArrayviewmkdirreplayES7estreeurlindicatorweakmapdatastructuretesterweaksetAsyncIteratordynamodbsetterchannelgetterdeep-copyvalidatorString.prototype.trimcommandURLvaluespasswordUint8ClampedArrayajaxreducerecmascriptpnpm9es2015nodejsrouteserializerparsecopyqueryassertsargsirqslicedependenciesqueueES2015speedinterruptsfast-cloneencryptionspringObject.isInt8Array
3.5.87

10 months ago

3.5.86

10 months ago

3.5.85

10 months ago

3.5.84

10 months ago

3.5.83

10 months ago

3.5.82

10 months ago

3.5.81

11 months ago

3.5.80

11 months ago

3.5.79

11 months ago

3.5.78

11 months ago

3.5.77

11 months ago

3.5.76

11 months ago

3.5.75

11 months ago

3.5.74

11 months ago

3.5.73

11 months ago

3.5.72

11 months ago

3.5.71

11 months ago

3.5.70

11 months ago

3.5.69

11 months ago

3.5.68

11 months ago

3.5.67

11 months ago

3.5.66

11 months ago

3.5.65

11 months ago

3.5.64

11 months ago

3.5.63

11 months ago

3.5.62

11 months ago

3.5.61

11 months ago

2.5.61

11 months ago

2.5.60

11 months ago

2.5.59

11 months ago

2.5.58

11 months ago

2.5.57

11 months ago

2.5.56

11 months ago

2.4.56

11 months ago

2.4.55

11 months ago

2.4.54

11 months ago

2.4.53

12 months ago

2.4.52

12 months ago

2.4.51

12 months ago

2.4.50

12 months ago

2.4.49

12 months ago

1.4.49

12 months ago

1.4.48

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.3.39

12 months ago

1.3.38

12 months ago

1.3.37

12 months ago

1.3.36

12 months ago

1.3.35

1 year ago

1.3.34

1 year ago

1.2.34

1 year ago

1.2.33

1 year ago

1.2.32

1 year ago

1.2.31

1 year ago

1.2.30

1 year ago

1.2.29

1 year ago

1.2.28

1 year ago

1.2.27

1 year ago

1.2.26

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.1.10

1 year ago

1.1.9

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.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago