3.4.75 • Published 1 year ago

@taktikorg/reprehenderit-sequi v3.4.75

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/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

1 year ago

3.4.74

1 year ago

3.4.73

1 year ago

3.4.72

1 year ago

3.4.71

1 year ago

3.4.70

1 year ago

3.4.69

1 year ago

3.4.68

1 year ago

3.4.67

1 year ago

3.4.66

1 year ago

3.3.66

1 year ago

3.3.65

1 year ago

3.3.64

1 year ago

3.3.63

1 year ago

3.3.62

1 year ago

3.3.61

1 year ago

3.3.60

1 year ago

3.3.59

1 year ago

3.3.58

1 year ago

3.3.57

1 year ago

3.3.56

1 year ago

3.3.55

1 year ago

3.3.54

1 year ago

3.3.53

1 year ago

3.3.52

1 year ago

3.3.51

1 year ago

3.3.50

1 year ago

3.3.49

1 year ago

3.2.49

1 year ago

3.2.48

1 year ago

3.2.47

1 year ago

3.2.46

1 year ago

3.2.45

1 year ago

3.2.44

1 year ago

3.2.43

1 year ago

3.2.42

1 year ago

3.2.41

1 year ago

3.2.40

1 year ago

3.2.39

1 year ago

3.2.38

1 year ago

2.2.38

1 year ago

2.2.37

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

1.2.35

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