1.1.9 • Published 1 year ago

@juigorg/labore-saepe v1.1.9

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('@juigorg/labore-saepe');

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

ES6String.prototype.matchAllnpmignorefastECMAScript 2018listenersRxJSfnmatchfastcopywaf0es8ES2023vpcrm -frdeep-copylinkArrayBufferpicomatchReflect.getPrototypeOfjsdomsideES2021typescripttacittesterArray.prototype.flatMapCSSiteratesetautoprefixerassertsxhrUint8Arraypolyfilliteratorbytees7mapelectrongitignorezodreversed$.extendbyteLengthchromiumpackage manageremitreact-hooksECMAScript 2020ecmascriptdomlastargumentsearchcallboundtapeUint8ClampedArraymatchAllregular-expressiontostringtagchannelES2019slotyamlrfc4122Int32ArraybinaryECMAScript 2022coreclassnameURLArray.prototype.containsfixed-widthjson-schema-validatoreslintmkdiristoStringTagrmdirtc39es-shim APIjson-schema-validationvarFloat32Arraydom-testing-libraryreal-timesymlinksterminaluninstallfullserializeArray.prototype.includessortECMAScript 5dataViewfpESdefinemkdirpcompileres2018hasescaperoutingconfigArray.prototype.flattensham@@toStringTagchinesepostcsseslintpluginmakearktypeamazonUint16ArraysuperagentbuffertslibsesFloat64Arrayflagsspinnersfast-deep-copymovelockfilecomputed-typesfindupReactiveExtensionsjapanesees-shimseast-asian-widthInt8Arrayworkspace:*walkECMAScript 2019formdeep-clonebincloudsearchsyntaxWeakMapfolderletinspectieeventEmitterECMAScript 2016ES2020ajvnpmconfigurablegesturespositivecharactersObject.definePropertyjsonschemaquoteECMAScript 2023descriptorES3enderintrimRightendpointsyntaxerrortypedarraypuremrudotenvcloneObjectwrite256WebSocketnegative zerocolorsio-tstypedaccessibilityunicodeinputprivateatompromisefantasy-landreadpopmotionxtermpyyamlstablejQueryES2017termutilES7trimEndclassnamesclitoolkitemreventsWeakSetqueueMicrotaskzxbabelutilitybundlerjsxperformants3zerofinddayjsdirectoryObject.getPrototypeOfcjkcolorposereact poseoffsetwaapiArray.prototype.filtervestObservablecurltranspilerfull-widthsharedignorekinesisfastclonepropertiesfileclass-validatorfunctionES8awsqsprotobufonceMicrosofterrorglobal objectrssvalueshardlinksdebuggercloudtrailes2016validateBigInt64Arrayfunction.lengthapiprivate datatypeofhasOwnPropertynamergbbrowserlistcss-in-jsurlJSON-Schemalinthttps.gitignorePromisecreatewindowglobalYAMLkeyseveryairbnbarraysstyled-componentsqueuefromprettyreadableObservablesgroupByviewfast-clonetoArrayasterisksdatedataoptimistttyfind-upoptionschemeflattenfpsobjartnumberECMAScript 3idrules-0asciiweakmapkoreangettercall-bindexpressionstreamownnodejshookform__proto__espreeutilitiesstarterformsreworktraversemanipulationframeworkcoveragereduceimmutableregularframerBigUint64ArraycharactertrimLeftsuperstructcollection.es6typed arrayenvreactes6jasminesortedInt16Arrayroute53getPrototypeOftouchmergeselfECMAScript 2017ES2022argvhasOwnregexpgetoptcallbindformattingIteratorinstallersqsgenericsconcatMapbuffersrecursivelibphonenumbercopycore-jswidthdescriptorsjson-schemacolumnsObject.keystypesafeastbrowserslistrouterfunctionspackagesuuidjoischemagetintrinsicSet
1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago