0.2.0 • Published 10 years ago

lookup-webmention-server v0.2.0

Weekly downloads
4
License
BSD-3
Repository
github
Last release
10 years ago

Lookup WebMention Server

Travis CI Test Status

Discover the WebMention server for a given URL.

Usage

var lookup = require('lookup-webmention-server');

lookup('http://example.org/blog/post', function (err, url) {
  if (err) {
    // Handle errors
  }

  // do stuff with the URL!
});

API

lookup(target, callback);

The target is the location that you have mentioned and wish to WebMention. The callback parameter is a callback function that is called:

callback(err, url);

The err parameter is any potential error encountered during the HTTP request.

The url parameter is a string containing the URL to the WebMention server.

0.2.0

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.1

11 years ago