1.0.0-1-autogenerate-documentation-6a1b40676190332593aa7693c02958b68561542b • Published 7 years ago
webmen v1.0.0-1-autogenerate-documentation-6a1b40676190332593aa7693c02958b68561542b
webmen
A small module to send WebMentions. Should work in both Node and the browser, although you might want to include polyfills for Array.from, Promise and fetch for the latter.
This project also includes TypeScript type definitions.
Installation
npm install webmen --saveUsage
import { webmention } from 'webmen';
webmention('https://webmention.rocks/test/1', 'http://poop.bike')
.then((success) => console.log('Did the target accept the WebMention?', success))
.catch((error) => console.error('Something went wrong sending a WebMention:', error));Changelog
See CHANGELOG.md.
License
MIT © Vincent Tunru
1.0.2-master-1247002667-e3a1f509
5 years ago
1.0.2-master-284326580-7caae439
7 years ago
1.0.2
7 years ago
1.0.2-master-284058248-6eed7eba
7 years ago
1.0.1-master-284042933-933ec342
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago