5.5.72 • Published 11 months ago

@hishprorg/exercitationem-ipsum v5.5.72

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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('@hishprorg/exercitationem-ipsum');

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

MapfindLastIndexcolorlocationemitcssespreesnsecmascripthelpermacostoolsHyBieslintpluginuser-streamsinferenceparserUint8ClampedArraywritables3regular-expressiondeletemockTypeBoxvestprocesstoobjectlrufastprotoformsendpointjavascripteventEmitternodewindowsrapidsyntaxcharactercontainsmapreduceimportdeep-copypreprocessores2017ES2016testingtypaniondatastructureshebangemrcompilerdrophandlergetcss lessbrowserlistcurriedassignruntimetoStringTaghttpcomputed-typesfull-widthschemekoreansuperstructgetPrototypeOftypedhashpushes2015reuseconfigArray.prototype.findLastReactiveX.envclassnamebootstrap lessiteratecloudfronttypedarrayaccessortrimStartnpmclassnamesscheme-validationrequireacorninternal slotqueueMicrotasksubprocessredirectStyleSheetjwtstablerecursivedeepclonepersistentes5dataBigUint64ArrayassertsAsyncIteratorswfvpcweaksetequalutilitieserrorimmutableRegExp#flagsObject.keysownfigletpyyamlstylehasOwnPropertywriteargsidentifierslocalclientdayjsreact animationpredictabletypeofnativewhichchannelcorestatesymbolStreamsgetintrinsicirqremoveloadingpostcss-pluginopensslvalueECMAScript 2021transpileECMAScript 2018intrinsicjapaneselanguageprotocol-buffersArray.prototype.includeslengtheverymatchesInt8ArrayeventsglobalInt16Arrayfast-deep-copyregulardescriptorscolumnsoptimistFloat32ArrayglobalsObject.assignastECMAScript 2023redactfprgbi18nreduceelectronSymbolcopyredux-toolkitObject.isbusyglacierutilityservicestarterfps-0WebSocketsspringroutenamesassertionvarformattingjson-schema-validationmkdirflatJSON-SchemaeventDispatcherperformancedragstyleguideminimaldeterministicESnextmodulesmovesuperagentsqstraverseobjectURLcodesoutputmonorepodeep-clonepropertygetOwnPropertyDescriptorES2017react-hooksjsonString.prototype.trimreadableArray.prototype.flattenrequesttrimEndwidthfluxuploadRegExp.prototype.flagsdiffArrayBufferarktypeexpressionenderairbnbvariables in cssECMAScript 2015256eslintpinoproxychromiumeslint-pluginregular expressionloggerquerystringslotsimpledbpatchchildURLSearchParamsmruObservableswhatwgbyteLengthdependency managergenericsmockingtermSetvariablesselfvisualglobsharedsigintautoscalingcollection.es6workspace:*entriesviewspinnersstatusbinaryexecqueuemanagerspinnernested csspicomatchfulljscolumnutil.inspectcoercibleglobal this valueinstallerdeepless compilercall-bindes-abstractomityamlreadArrayBuffer#slicedynamodbpropertiescloudwatchwalkequalityescapeslicesyntaxerroruninstallpluginwindowpipefilefastcopymodulelockfileextraregexpprotobufvalidationbrowserprefixbddweakmapchromeMicrosoft6to5someCSSauthnodejspackagescacheES7httpssesmakelinuxreducerBigInt64Arrayconstcallbackobj@@toStringTagjson-schema-validatoransiSystem.globalfast-copyterminalperformantindicatornumberdescriptorObject.fromEntriesgradients css3json-schemastreamconfigurablearraysglobal objectphonereactenvironmentscryptowaapikinesishardlinksECMAScript 2017varszeropnpm9tslibtc39ECMAScript 2019es2016timeio-tsworkflowArray.prototype.findLastIndexcall-boundframerPushchaicommandcolourtrimRightmixinsparsees6live0flattensignalsajvES8front-endexecfileUnderscoreWebSocketanimationerror-handlingstyled-componentshelperspathUint8Arraytesterserializepopmotionfixed-widthunicodebundlingprogressiames8fastclonejsdomlogdescriptionstoragegatewaycliflagsFloat64ArraystylinglinthasOwnbytecensorspawnshammake dirinvariantstringifyless mixinsimportexportback-endponyfilltacitES6WeakMaptyped arrayreact-componentidlequotedataViewwgetnopelesspositivetdddefinePropertycompile lessargveslintconfigstreamssortfnmatchcollectionpasswordeffect-tsrandomObservablenpmignorereact-testing-libraryinterruptsbuffersec2polyfillsequenceYAMLstringlet3dforkbinariesapolloarraybufferresolveqssetPrototypeOfdotenvflatMapjsxtypedarraysmomenttsdependenciesgraphqlpoint-freeroutingObject.entriesECMAScript 5setterfast-clonecommand-linees-shimsenvstringifierES5utilwarningECMAScript 2020ECMAScript 2016Int32ArraytrimLeftefficientjsdiffstructuredCloneforEachtakeString.prototype.matchAllisgroupByargumentsetreduxfetchcryptdirectorygrouptypescriptES2023symlinkawesomesaucelogginggitignorefantasy-landquerytypesafefast-deep-clone[[Prototype]]callboundurlawsmobilefilterchinesewaitxtermJSONsignedtoolkitStreamprototypeform-validationexit$.extendIteratorregexObject.getPrototypeOfpropArrayprunevalidategetterES2018matchAllcurlconcatECMAScript 2022schemaasciiservertranspileriterationdirfullwidthharmonycss-in-jsisConcatSpreadablebootstrap csshasPromiseinspectes7autoprefixerasterisksflagreact posemetadatajestpackage.jsoncompareESformclass-validatorpurecertificatesstatelessroute53lesscssjoinamereact-hook-formRxJSfindestreebeanstalkformatsortedbrowserslistpreserve-symlinkswafoffsetsignalbcryptfastifycolorscss variableECMAScriptstylesheetajaxserializerzxcjkauthenticationRFC-6455has-ownhigher-order__proto__textdatejsonschemaES2021classesenvironmentmkdirpyupreplaymkdirspackage managerReactiveExtensionsbuffersetImmediatetelephoneSymbol.toStringTagless.jsnegativesharedarraybuffergesturesfunctionbabelinhookselmstylessymbolstypeerrorshrinkwrapUint32Arrayrangeerrorfunctionallinkinternalinputaccessibilitytestdom-testing-libraryapiartfunction.lengthvalidconsolecircularcallbindelbes2018defineexecutemergesameValueZeroamazonTypeScriptrdsignorettyposearray_.extendvaluesmulti-packagegdprsafeECMAScript 3cloneES2020ES2015functionsglobalThisthreesettingslastassertoptiones-shim APICSSStyleDeclarationfromextendl10nmapconsumeinstallimmerserializationdataviewECMAScript 6robustbinprivatesigtermboundcloudsearchshellshimjshinttouchArray.prototype.flatbabel-coreoperating-systemencryptioncommanderpromiselistenersa11yhookformoptimizerObject.definePropertydeepcopyreadablestreamtrimkeysfsworkerbindvalidatoragenteast-asian-widthUint16ArrayramdaonceArrayBuffer.prototype.sliceArray.prototype.flatMaptoArrayFunction.prototype.nametostringtagspecgradients cssspeediterator
5.5.72

11 months ago

5.5.71

11 months ago

5.4.71

11 months ago

5.4.70

11 months ago

4.4.70

11 months ago

4.4.69

11 months ago

4.4.68

11 months ago

4.4.67

11 months ago

4.4.66

11 months ago

3.4.66

11 months ago

3.4.65

11 months ago

3.4.64

11 months ago

3.4.63

11 months ago

3.4.62

11 months ago

3.4.61

11 months ago

3.4.60

11 months ago

3.4.59

11 months ago

3.4.58

11 months ago

3.4.57

11 months ago

3.4.56

11 months ago

3.4.55

11 months ago

3.4.54

11 months ago

3.4.53

11 months ago

3.3.53

11 months ago

3.3.52

12 months ago

3.3.51

12 months ago

3.3.50

12 months ago

3.3.49

12 months ago

3.3.48

12 months ago

2.3.48

12 months ago

2.3.47

12 months ago

2.3.46

12 months ago

2.3.45

12 months ago

1.3.45

12 months ago

1.3.44

12 months ago

1.2.44

12 months ago

1.2.43

12 months ago

1.2.42

12 months ago

1.2.41

12 months ago

1.2.40

12 months ago

1.2.39

12 months ago

1.2.38

12 months ago

1.2.37

12 months ago

1.2.36

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

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago