1.2.18 • Published 2 years ago

@taktikorg/laudantium-ullam-at v1.2.18

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('@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

2 years ago

3.5.86

2 years ago

3.5.85

2 years ago

3.5.84

2 years ago

3.5.83

2 years ago

3.5.82

2 years ago

3.5.81

2 years ago

3.5.80

2 years ago

3.5.79

2 years ago

3.5.78

2 years ago

3.5.77

2 years ago

3.5.76

2 years ago

3.5.75

2 years ago

3.5.74

2 years ago

3.5.73

2 years ago

3.5.72

2 years ago

3.5.71

2 years ago

3.5.70

2 years ago

3.5.69

2 years ago

3.5.68

2 years ago

3.5.67

2 years ago

3.5.66

2 years ago

3.5.65

2 years ago

3.5.64

2 years ago

3.5.63

2 years ago

3.5.62

2 years ago

3.5.61

2 years ago

2.5.61

2 years ago

2.5.60

2 years ago

2.5.59

2 years ago

2.5.58

2 years ago

2.5.57

2 years ago

2.5.56

2 years ago

2.4.56

2 years ago

2.4.55

2 years ago

2.4.54

2 years ago

2.4.53

2 years ago

2.4.52

2 years ago

2.4.51

2 years ago

2.4.50

2 years ago

2.4.49

2 years ago

1.4.49

2 years ago

1.4.48

2 years ago

1.4.47

2 years ago

1.4.46

2 years ago

1.4.45

2 years ago

1.4.44

2 years ago

1.4.43

2 years ago

1.4.42

2 years ago

1.4.41

2 years ago

1.4.40

2 years ago

1.4.39

2 years ago

1.3.39

2 years ago

1.3.38

2 years ago

1.3.37

2 years ago

1.3.36

2 years ago

1.3.35

2 years ago

1.3.34

2 years ago

1.2.34

2 years ago

1.2.33

2 years ago

1.2.32

2 years ago

1.2.31

2 years ago

1.2.30

2 years ago

1.2.29

2 years ago

1.2.28

2 years ago

1.2.27

2 years ago

1.2.26

2 years ago

1.2.25

2 years ago

1.2.24

2 years ago

1.2.23

2 years ago

1.2.22

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

2 years ago

1.2.11

2 years ago

1.2.10

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago