1.2.15 • Published 1 year ago

@hishprorg/nesciunt-harum v1.2.15

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@hishprorg/nesciunt-harum Version Badge

dependency status dev dependency status License Downloads

npm badge

An ESnext spec-compliant String.prototype.endsWith shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Because String.prototype.endsWith depends on a receiver (the this value), the main export takes the string to operate on as the first argument.

Other polyfills for String.prototype.endsWith are available:

Installation

Via npm:

npm install @hishprorg/nesciunt-harum

Then, in Node.js:

var endsWith = require('@hishprorg/nesciunt-harum');
<script src="https://bundle.run/@hishprorg/nesciunt-harum"></script>

NOTE: It's recommended that you install this module using a package manager such as npm, because loading multiple polyfills from a CDN (such as bundle.run) will lead to duplicated code.

Notes

Polyfills + test suites for String.prototype.startsWith and String.prototype.contains are available, too.

Author

twitter/mathias
Mathias Bynens

License

This polyfill is available under the MIT license.

Tests

Simply clone the repo, npm install, and run npm test

childeveryexecfilecloudtrailrouterUint16ArraystringifyES7rgbeslintconfignegative3dsiderecursiveES6globrouteshrinkwrapeventsimmerpoint-freeiteratorconsumefastcall-bindredirectfullSystem.globalflatMapbundlingpackagesomitregexpdatehigher-orderlook-upspawnbusyarraybufferpicomatchkinesisenvironmentInt16Array@@toStringTagschemaemojirestidentifiersprotowalkmkdirsArray.prototype.findLastIndexlruhasOwnPropertypipereusezodglobalsArray.prototype.containspyyamlsymbolsObject.entriesIteratoreslintpluginjapanesehtmlprefixperformantcolumnsTypedArrayStyleSheetspringtrimbinfindupwalkingmetadatajQuerywaitcreatepnpm9es-shimsassertslastArray.prototype.findLast[[Prototype]]negative zeroprocessworkerfile systemrulesreact-testing-librarycachebrowserpostcsstestinglogtsfnmatchreverseemitendpointassignloggingregular expressionsfigletES8awsruntimeredux-toolkitbabelchaiStreamscurriedtapArrayBuffer#slicerangeerrorTypeBoxs3propertiesES2019redactmapquoteprivate datasubprocessansigetPrototypeOfObject.valuesfpMaprmdiremrelectronoptiondebugfast-deep-copyscheme-validationtoolkitoptimizerfullwidthdeepidleslotbufferpostcss-pluginautoscalingapilockfileshimES2023dependenciesgestureswaftestersearchprotobufRegExp#flagsforEachwritablebeanstalkistanbulstylesregular-expressionfolderreal-timeenumerabledebuggermoduledescriptionObservablesfastcopyfindLastisrandomminimalfindenvironmentsasterisksfindLastIndexinferenceignore_.extendes7ES2015toSortedES2018spinnerECMAScript 2016sesloggerObject.isvestzxclass-validatormochapathprivatejsxArrayBuffer.prototype.slicevarsasyncgroupgenericssource maploadingeast-asian-widthformses2015prettycallframerCSSStyleDeclarationzerotoReversedjsdombddpurees2016popmotionArray.prototype.flatrm -frsetfilterxtermcheckjasmineiddataViewcallbackcommand-linephonetoStringTagmobilestartervartypanionpackage managerastnamesshamglobalThises-abstractsimpledbforkanimationArray.prototype.filterUint32ArrayformatclassesautoprefixerpruneReactiveExtensionsboundenvCSSefficientprogresstransporttakewhatwgWebSocketcoveragesyntaxerrorgetOwnPropertyDescriptorform-validationapollolocalhelpermanipulationlistenerstc39setPrototypeOfECMAScript 2023safe0rapidchromiumdayjsroute53deterministicviewnodejsdependency managerflattensymlinksbrowserlistdefinevaluesmanagertypeofargumentswfcircularsinatrareadbyteWebSocketshardlinkshttpsparsestringcryptocloudformationhookformcharacterssuperagenttypedutilsselfposenpmdirSetReactiveXECMAScript 7Symbolexpressstylingparserasciicodesserializationdeepcopyfast-deep-clonepreprocessortoArrayrobusttranspileweakmapunicodeObject.fromEntrieskoreanesdynamodb256user-streamselasticacheentriesajaxstreamsloadbalancingroutingnopejsdiffcopyInt32Arrayio-tsUint8ArrayECMAScript 5spinnersECMAScript 2015windowcomputed-typesjson-schemacollectionhasECMAScript 6l10ntranspilerxmlreact-hooksserializenamevisualcore-jspackageobjectstructuredClonetyped arrayRegExp.prototype.flagsreversedcolorURLSearchParamsslicearraysrmtestkarmaObject.keysiepropertyoutputes6jsonschemaYAMLequalitySymbol.toStringTaginstrumentationstylewaapireact animationutilpatchdeep-copyvalidatorfastclonefind-upharmonyuuidnumberproxyjshintconcatletexecvalueramdacurlmonorepodom-testing-libraryrequiretypescriptargvWeakSetsetImmediatetslibcommandconsolearraybundleroffsetString.prototype.matchAllreworkconstECMAScript 2017sharedfast-copyWeakMapatomjavascripttypegetintrinsicdiffjsES2017fantasy-landintrinsicES5installhookscloudwatchspeedcjkregexcode pointsObject.assignebsterminales8guidremovefunctionscensorHyBijsonclassnamescli.envformxhrqueueglobal this valuegetoptlibphonenumbereffect-tstoobjectsharedarraybufferacornconfigECMAScriptRFC-6455regularconfigurablebinariesnativequeueMicrotaskPushcommanderdotenvponyfilleslintdragfileaccessorwarningawesomesaucereactec2react-hook-formtostringtagrm -rftransformdeleteterma11ysortedclassnametoolsfunction.lengthvalidmulti-packageurlimmutablegraphqlwebqsmakeparentslinkcss-in-jsvpcECMAScript 2022deepclonetouchstyleguiderequestonceArray.prototype.includesfast-cloneJSONcollection.es6upendermatch6to5workspace:*snslanguagepolyfillwhich__proto__datafpstrimEndreduxFloat32ArraylocationUint8ClampedArrayelbsameValueZeroReflect.getPrototypeOfhashobjchineseecmascriptmatchesreadablees2017react poseshellquerystringimportflagsconcatMapgroupByfunctionglobalqueryArrayairbnbincludescolumnfunctionalmkdirjson-schema-validatorschemeMicrosoftisConcatSpreadableObservableES3flatECMAScript 3directorytacitkeysObjectes-shim APIaccessibilityfsrfc4122workflowinspectdefinePropertyargsinvarianttypeerrorgitignoreBigInt64ArraymkdirpfromexecuteiamRxJSvariablesfull-widthJSON-SchemainrsseventDispatcherjson-schema-validationdataviewcolourkeyescapecolorsES2020reducertypedarraysmake dirES2021glacierresolveECMAScript 2021ES2022call-boundarttrimStartcallbindESnextfetchtddfeedUnderscorewidthinputoptimistAsyncIteratorfixed-widthcssObject.definePropertymatchAlljoiappreducecontainshttpyamlformattingES2016coercibletypedarrayiterateassertnodecompilerstringifiercomparemomentdompino$.extendmergemrudescriptorsbinaryamazonprotocol-bufferstrimLeftstableframeworkagentclientnpmignoreArrayBufferwritepush.gitignoreajvpromisees5somegdprString.prototype.trimsettingsmoveextracorehas-ownutilitieshelperscloudsearchtypesbyteOffsetbyteLengthbabel-coreflagdeep-clonechromerdsarktypemodulesextendtelephoneerrorObject.getPrototypeOfserializeryuptrimRighteventEmitterimportexportfastifysorttextstreampackage.jsontimereadablestreamcloudfrontpositiveStreamownglobal objectbuffersESinternalthreeRxlookbannercharacterTypeScriptavavalidationuninstalljestArray.prototype.flattenchannelregular expressionstoragegatewayttyestreecloneinternal slot-0utilityespreetapeeslint-plugines2018installerdescriptorFunction.prototype.nameproputil.inspectgetplugindropequalindicatormapreduceshebangsetterECMAScript 2019restfuli18nsyntax
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.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

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

1 year ago

1.0.0

1 year ago