5.13.92 • Published 12 months ago

@diotoborg/nisi-eaque-eaque v5.13.92

Weekly downloads
-
License
MIT
Repository
github
Last release
12 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('@diotoborg/nisi-eaque-eaque');

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

make dirselfpnpm9definePropertybusyramdaReflect.getPrototypeOfpushclirandomimmutableeffect-tsinprogressenumerablepruneURLSearchParamssyntaxerrorregular-expressionkoreanpackage.jsonchaiFunction.prototype.nameSymbol.toStringTagoffsetfunctionsidentifiersprotobufoptimistebsschemaexitjsdiffcolorsjson-schemadeepcloneless compilercryptobundlingcodescertificatestestingES2022performantmatchconcatMapcall-bindjson-schema-validationownwarning_.extendTypeBoxes8execfileparselengthsameValueZerothreetouchvaliddeep-clonebyteOffsetObject.keysECMAScript 7arraypathtypedarrayfastclonedataViewsqslinuxxhrpinostateformtacitshellfastcopybootstrap lessdropprotoreact-componentvaluesdescriptorsstringifyiteratorclasseses2016SymbolArray.prototype.filterglobalsespostcssgraphqlisConcatSpreadableawsperformanceURLsignednamesexit-codeObject.fromEntriesinternal slotproxycomputed-typessignalfunction.lengthrequestrgbcloudfrontexecutestructuredCloneESnextvalidationresolvestyleguidechannelimmerreal-timecollection.es6specqueueMicrotaskislastpackagescolumnroutenative-0reverseECMAScript 2021installsomeserializationswfstartertrimRightdeleteemrauthenticationES2015forkformattingbrowserlanguagePromisecontainstyped arrayobjES8hashUint32ArrayserializerfindLastfull-widthglaciercopyslotpropertytypedenvfile systemTypeScriptES2016rfc9562harmonyreplayWeakMapparsercolourString.prototype.matchAlloptimizerpolyfillasyncio-tsflatMapapollocloudformationlruRegExp#flagslintgettypesafefluxcompilersidetimesharedglobalsspinnerspropertiesposecolorgetOwnPropertyDescriptorfunctionnegative zerojson-schema-validatorpostcss-pluginendpointfnmatchnodejsstylesheetoperating-systeminvariantuninstalldescriptorhookformequalhttpstoSortedshimcloudwatchObject.valuesajaxassignvisualsubprocessSetmruhttpString.prototype.trimlazyObjectarraybuffertoolsflatinspectfastcallbackcache[[Prototype]]entriesbrowserslistBigUint64Arraydeepcopyeslint-plugin@@toStringTagutilitylibphonenumbergdprflattenform-validationcjkUnderscoreeveryanimationframerArray.prototype.flatES3ECMAScript 2022streammergemapelmwaapilogoutputRxJSdragiterationes-shim APIInt16Arrayasciiwidthpackage managerglobal objectutilsrequirejavascriptes2018trimStartprefixnamecss variablecallboundUint8ArrayrecursivextermMicrosoftfullconfiggetPrototypeOf256setImmediatescheme-validationreusesettershrinkwrapCSSStyleDeclarationtrimdayjssettingsvalidatechinesemanagerfast-clonerfc4122css lesscommanderECMAScript 2023groupBydeep-copytoolkitvaluewhatwgPushAsyncIteratorasttddstatuswaituuidmobileintrinsicfileenvironmentsWebSocketsreducerIteratorapiemit__proto__binaryregexpsigintObservableArray.prototype.findLastIndexfixed-widthstatelesses2015typesfpsidleES2020regulartc39argumentcoercibletelephonerobustconsumesuperstructiefastifycurlsymlinkflag$.extendsetgradients css3jsxbufferpicomatchclass-validatoreslintconfigreact-hook-formECMAScript 2019ArrayBuffer.prototype.sliceautoprefixercore-jsHyBiECMAScript 2020reduceajvmixinsprototypeefficientjQuerytypanionflagstoobjectes5errorpoint-freegenericscommand-linees-shimsconfigurableroutingworkspace:*consoleloadbalancingvpcYAMLbddmakeunicodedatazxwindowsObject.isECMAScript 2018inferenceeventDispatchersyntaxsymbolsminimalremoveaccessorhasOwnbindreactbannermatchesbytekeysmovedirectorycompareeast-asian-widthloggingmapreducesignalsfindLastIndexreadless cssextendcompile lessirqwalkmkdirECMAScript 2016runtimesortweaksetdatastructurenested cssbabelECMAScriptfetchchildmulti-packageArray.prototype.findLastesqscloneutilES6definemetadataweakmapTypedArraynpmInt8Arraynpmignorelessspeedbrowserlistvariables in cssslicemomentelbES2021rapidObject.getPrototypeOfpersistentArray.prototype.flatMapsortedtypeofreadablestreamvesttraverseansiReactiveXdependenciespropinputRxworkerdateregexautoscalingelasticacheserializecallbindnodes3ec2modulestoArraynumbertostringtagstreamsvariablesECMAScript 2017varswgetimportcss-in-jslistenersquotefigletgetoptJSON-Schemareact-testing-libraryUint16ArrayiteratecircularWeakSetES2019sigtermprocesstypeerrorjsdomspinneres2017csseventspreprocessorcollectionplugincensorcloudtrailsimpledbArray.prototype.includesreact animationStreamlockfileinterruptsnopegesturesmkdirstoReversedbabel-coretakeoptioniamloggerpasswordgitignorefromes7jsona11ykinesisObject.assignwritees-abstracttrimEndincludesurlschemecurriedsymbollocaljsStreamsenderprotocol-buffersReactiveExtensionsgetintrinsicbyteLengthcallRegExp.prototype.flagsFloat64Arrayinternalcss nestingreversedArray.prototype.flattenSystem.globalInt32Arrayexpressconcatkeybeanstalkargvarraysfpdiffawesomesaucebuffersi18nobjectassertsMappromiseelectronhotartlinkpureargsspringstylingpyyaml
5.13.92

12 months ago

4.13.92

12 months ago

4.13.91

12 months ago

4.13.90

1 year ago

4.12.90

1 year ago

4.12.89

1 year ago

4.12.88

1 year ago

4.11.88

1 year ago

4.11.87

1 year ago

4.10.87

1 year ago

4.10.86

1 year ago

4.10.85

1 year ago

4.10.84

1 year ago

4.10.83

1 year ago

4.10.82

1 year ago

4.10.81

1 year ago

4.9.81

1 year ago

4.9.80

1 year ago

4.9.79

1 year ago

4.9.78

1 year ago

4.9.77

1 year ago

4.9.76

1 year ago

4.9.75

1 year ago

4.8.75

1 year ago

4.7.75

1 year ago

4.6.75

1 year ago

4.6.74

1 year ago

4.6.73

1 year ago

4.6.72

1 year ago

4.6.71

1 year ago

4.6.70

1 year ago

4.6.69

1 year ago

4.6.68

1 year ago

4.6.67

1 year ago

4.6.66

1 year ago

3.6.66

1 year ago

3.6.65

1 year ago

3.6.64

1 year ago

3.5.64

1 year ago

3.5.63

1 year ago

3.5.62

1 year ago

3.5.61

1 year ago

3.5.60

1 year ago

3.5.59

1 year ago

3.5.58

1 year ago

3.5.57

1 year ago

3.5.56

1 year ago

3.5.55

1 year ago

3.5.54

1 year ago

3.5.53

1 year ago

3.5.52

1 year ago

3.5.51

1 year ago

3.5.50

1 year ago

3.5.49

1 year ago

3.5.48

1 year ago

3.5.47

1 year ago

3.5.46

1 year ago

2.5.46

1 year ago

2.5.45

1 year ago

2.5.44

1 year ago

2.5.43

1 year ago

2.5.42

1 year ago

2.5.41

1 year ago

2.5.40

1 year ago

2.5.39

1 year ago

2.5.38

1 year ago

2.5.37

1 year ago

2.5.36

1 year ago

2.5.35

1 year ago

2.5.34

1 year ago

2.5.33

1 year ago

2.5.32

1 year ago

2.5.31

1 year ago

2.5.30

1 year ago

2.5.29

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

2.4.26

1 year ago

2.4.25

1 year ago

2.4.24

1 year ago

2.4.23

1 year ago

2.4.22

1 year ago

1.4.22

1 year ago

1.4.21

1 year ago

1.4.20

1 year ago

1.4.19

1 year ago

1.4.18

1 year ago

1.4.17

1 year ago

1.4.16

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.3.12

1 year ago

1.3.11

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago