A tool to ping your site with a variety of WebMentions markup. Contains copies of a couple of real world examples of mentions that it enables you to ping locally to a development copy of your site.
First install from NPM:
npm install -g webmention-testpinger
Then run by doing:
webmention-testpinger --endpoint=http://example.com/endpoint --target=http://example.com/target
This tool will spin up a server on port 8080 and then ping the specified WebMentions hub with a URL to that server or each real world example which will return a copy of that example with a placeholder URL replaced with the requested mention target. After all pinged mentions has been fetched it will shut down the server and finish its execution.
To list all available options, run:
First add it from NPM:
npm install webmention-testpinger --save-dev
Then require it and set it up:
var WebMentionTemplates = WebMentionTemplates;var templateCollection = ;templateCollection;templateCollection;
One can send an object into
new WebMentionTemplates() to define some options. The possible ones are: