3.4.75 • Published 10 months ago

@taktikorg/reprehenderit-sequi v3.4.75

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/reprehenderit-sequi');

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

intypeofstyled-componentsArrayBuffer.prototype.slicefull-widthtrimLeftxhrhookswarningforEachsometypesECMAScript 7colorsjsdomremoveendernopesortES7Float32ArrayReactiveXObject.entriesvestreadablestreamrequirefrompackagescallbackfiltermodulesmetadatatrimEndwhatwgisECMAScript 2019hasOwntestfullfsbddredux-toolkithandlersdeleteelectronvarES2017function.lengthstreamsincludesES2019validationbundleroperating-systemHyBiposetrimRightwidthString.prototype.matchAllECMAScript 2023deepMapl10nbindebsESjsdiffSymbol.toStringTagCSStostringtagoptimistreact poseequalfindLastIndexvisualexecuteaccessibilityconcati18nsimpledbBigInt64ArraycompilernegativedayjsharmonyamazonWeakSetwindowCSSStyleDeclarationgitignorerapidECMAScript 3childwgetregular expressionreact0storagegatewaygesturescore-jsjsecmascriptpromisesideregexpArray.prototype.filterlocationless compilerYAMLshebangfetchdataViewnodejsflattenfunctionsless mixinstestingboundunicodeescapeoutput6to5managernameoptimizerclonecollectiones8Arrayspecbootstrap lessiestylesheetfixed-widthtermfile systemfast-cloneworkflowPromiseUnderscoreTypeBoxcollection.es6curriedmovecolouropensslpyyamlinternalshelljshintlastexpressscheme-validationsharedreact-componentjQueryStreambufferpruneoptionstatelessapolloeventDispatcherhasreact-hook-forma11yObject.keysECMAScript 2020installviewfastifycolumnsJSONjsondirectoryreducerliveregular-expressiones2016parsecloudwatchreact animationroutingelbargumentjwtworkersignalssnsconsumequeryinspectprivateframerclassnamegettercallemitmatchjapanesevpccolumnchaihas-owniterationassignutilflatMaptddsymbolmulti-packageiteratorarrayspoint-freewriteacornstreamauthfast-deep-cloneextenddrag_.extendyamlpicomatchlogformatmatchesRxJSArrayBuffer#slicefullwidtheslintlistenersasteriskssliceanimationreuseObject.definePropertyes2015configurableclassnamesECMAScript 2021deep-copypersistentinternal slotcurlrobustdefinePropertyObject.getPrototypeOfajaxperformantless.jsInt8ArrayvaluespropertiessetterglobalThistacitownStyleSheetutilityestreeRegExp#flagsefficientnpmcall-boundcommand-linesymbolstyped arrayECMAScript 2016sequenceutilitiespackage.jsoncertificatesresolveansidescriptorssettingsstructuredClonehookformwritableES2021dependency managermixinstelephonesubprocessstatusreadObject.istypedarraysarraybuffercloudformationroutecss lessprefixclidatebundlingformString.prototype.trim
3.4.75

10 months ago

3.4.74

10 months ago

3.4.73

10 months ago

3.4.72

10 months ago

3.4.71

10 months ago

3.4.70

10 months ago

3.4.69

10 months ago

3.4.68

11 months ago

3.4.67

11 months ago

3.4.66

11 months ago

3.3.66

11 months ago

3.3.65

11 months ago

3.3.64

11 months ago

3.3.63

11 months ago

3.3.62

11 months ago

3.3.61

11 months ago

3.3.60

11 months ago

3.3.59

11 months ago

3.3.58

11 months ago

3.3.57

11 months ago

3.3.56

11 months ago

3.3.55

11 months ago

3.3.54

11 months ago

3.3.53

11 months ago

3.3.52

11 months ago

3.3.51

11 months ago

3.3.50

11 months ago

3.3.49

11 months ago

3.2.49

11 months ago

3.2.48

11 months ago

3.2.47

11 months ago

3.2.46

11 months ago

3.2.45

11 months ago

3.2.44

11 months ago

3.2.43

11 months ago

3.2.42

11 months ago

3.2.41

11 months ago

3.2.40

12 months ago

3.2.39

12 months ago

3.2.38

12 months ago

2.2.38

12 months ago

2.2.37

12 months ago

2.2.36

12 months ago

2.2.35

12 months ago

1.2.35

12 months ago

1.2.34

12 months ago

1.2.33

12 months ago

1.2.32

12 months ago

1.2.31

12 months ago

1.2.30

12 months ago

1.2.29

12 months ago

1.2.28

12 months ago

1.2.27

12 months ago

1.2.26

12 months ago

1.2.25

12 months ago

1.2.24

12 months ago

1.2.23

12 months 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.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

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

1 year ago

1.0.0

1 year ago