1.0.0 • Published 1 year ago

@hutechwebsite/neque-repudiandae-cum-minus v1.0.0

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('@hutechwebsite/neque-repudiandae-cum-minus');

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

ArrayBuffer.prototype.slicelimitjesttapewhatwgfunctionseventDispatcherpolyfillredux-toolkityamliconvawsbatchECMAScript 2016call-boundFloat32Arrayairbnbtypefile systemintrinsicimportexportregularfindLastECMAScript 2017Array.prototype.containseventEmitterdebuggerautoprefixeremojicolumndateloggingsymlinkclass-validatorhasOwnlaunchgroupbrowsereast-asian-widthrfc4122streamECMAScript 2018positivebyteLengthgetOwnPropertyDescriptorRegExp#flagsjsonsyntaxsesboundclonewaitbuffersserializationObject.isslotthrottletslibcryptoInt8ArrayjoiStreamperformancePromiseES2019corejasminegetterexecES3everyimportnpmwalkcacheveststringifyguidsliceWeakSetgetintrinsicformses7commanderjsdomES2022eslintpluginTypeScriptarktypecircularinternalajaxendpointformatmapbusyObject.definePropertycalltakeES2021domchromeserializertddcallbinditeratetrimURLSearchParamsObject.getPrototypeOfavadependenciescolorsreuse__proto__schemeapp$.extendlanguagespinnersReactiveXlintelectronwrapposeECMAScript 5springpromiseutilitiesSymbolconsoleinferenceargvfastArray.prototype.findLastIndexglacierTypedArraydefinecensorpatchemiteslintlastpluginES5rdstapcode pointsWeakMaptestqueueMicrotaskstyled-componentsbluebirdmimetypescloudwatchwordwraptypedarraydefinePropertydeep-copyfindLastIndexdiffvalidateexecutableESnextkeysparentsstylesassignprocesskeyString.prototype.matchAllfigletgraphqlYAMLrapidvalidationreducemrumkdirsfind-upprefixjQueryroutingautoscalingquotedeepfromwebsiteequalttyapirecursivetoobjecthelpersviewextendgesturesbanneres2015someremove_.extendserializenodejses2017fastclonechanneljapanesecompilerexpressionpackage.jsonSetMapreadablestreamtesterdataViewjsdiffec2negativeObservablesweakmaptoolshashesicuexeflatMapmakecoerciblesequencepopmotionRegExp.prototype.flagsurlgetoptESmatchesECMAScript 6objperformantfileieshimcore-jssimpledb3disConcatSpreadablekinesistraversevarsstreamsFunction.prototype.nametypedarraysdom-testing-libraryfastifyphonemobileprivate datadeepcloneproxyregexpspeediteratorObservablesuperagentparseWebSocketsafenodebundlerECMAScript 3call-bindqsArray.prototype.filterArray.prototype.flatMaprateES2017lrufast-copywgetoptionprotobufhookspackage managerwhichCSSfunctionconverttyped arrayeslint-pluginfast-clone-0flagtypeoflazydefaultInt16ArraycommandRxtrimRightopenconfigframertoolkitchromiumreal-timeiterationpropertyfullECMAScript 2021cloudformationArrayhasstylingregular expressionfetchstableStyleSheeta11ypreserve-symlinkserrorhttpfindupestreelook-upbeanstalkjscommand-linecollectionregular expressionsrmdirtrimStartstatelesscharactersnopegdprmake dirHyBirm -rfparsingclientemrcharacteruphigher-orderUint32ArraywebReactiveExtensionslockfilejavascriptflattenpathentrieslibphonenumberxdg-openMicrosoftfilterbundlinggetsymbols256lengthBigInt64ArrayrandomcmdmochastructuredCloneasciies5queryvalidFloat64Arrayenumerablesharedfullwidthpostcssastvpcdeep-clonecsshelperpropertiesjshintshamjsonpathassertionglobalsshrinkwrapdotenvwidthrm -frdescriptionstringbyteOffsetresolvees2016fixed-widthcallbackstarterwritableSymbol.toStringTagtypesafeoutputflagscomparepnpm9enderbrowserlistchildnameform-validationexpressindicatordatathroatcontainsgroupByrgbprettywalkingvisualanimationstyleguideglobstartprototypeloggertasksetPrototypeOfargparseebsglobalbytesettingswordbreakequalitydeterministichas-ownforEachbufferloadinginputUint16ArraydebugbreaksearchpackagesECMAScript 7extracopydescriptorsinvarianttypedinternal slotObject.keysuuidagentfastcopydynamodbhardlinksformcallboundsymlinksframeworkbrowserslistdependency managerreactruntimehttpsfast-deep-copytelephonetypescriptconfigurableio-tsES7requestworkflowmoduleduplexgenericsECMAScript 2023react-testing-libraryargspromisesTypeBoxawaites6arrayRxJSaccessibilitytypesstreams2Iteratorroutebindzeroownpostcss-pluginassertsonceparsercolorenvinshebangtermnamesdatastructuremetadata[[Prototype]]UnderscorethreeObject.assignObjecttextInt32Arrayformatting
1.0.0

1 year ago