Skip to content

chilledtonic/webmention-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Webmention Deno πŸ¦•πŸ“€

This is a straightforward webmention sending and endpoint discovery implementation.

It has a single "external" dependency, which is Deno DOM. It uses this library to find the webmention endpoint within a page.

It passes the test suite listed at webmention.rocks.

Usage

import {
  getEndpoint,
  webmention,
} from "https://deno.land/x/webmention/mod.ts";

getEndpoint("https://webmention.rocks/test/1");
// Returns "https://webmention.rocks/test/1"

webmention(source, target);

// Returns with:
//{
//    status: response.status,
//    source: source,
//    target: response.url,
//};

About

A webmention library for deno. πŸ¦•πŸ“€

Resources

License

Stars

Watchers

Forks

Packages

No packages published