No description
Find a file
2021-04-07 17:06:07 +02:00
src publish sourcefinder 2021-04-04 16:25:10 +02:00
.gitignore publish sourcefinder 2021-04-04 16:25:10 +02:00
.npmignore publish sourcefinder 2021-04-04 16:25:10 +02:00
index.ts remove console log 2021-04-07 17:06:07 +02:00
package-lock.json publish sourcefinder 2021-04-04 16:25:10 +02:00
package.json publish sourcefinder 2021-04-04 16:25:10 +02:00
README.md usage example in readme 2021-04-04 22:17:00 +02:00
tsconfig.json publish sourcefinder 2021-04-04 16:25:10 +02:00

Sourcefinder by Lio

Sourcefinder is a e621 Source finder module for Thaldrin v4

Usage

import Sourcefinder from "@thaldrin/sourcefinder";
const useragent = "Project/Version (Website)";
const sourcefinder = new Sourcefinder(useragent);
sourcefinder
  .find([
    "https://static1.e621.net/data/4b/ea/4bea9ba90bdc3bd128f60c7dca2856a1.png",
  ])
  .then((r) => console.log(r));
// => ['https://e621.net/posts/2653449']

or like this