@raopics/plugin-api
TypeScript icon, indicating that this package has built-in type declarations

1.7.0 • Public • Published

@raopics/plugin-api

Useage

import PLUGIN_API from "@raopics/plugin-api";

PLUGIN_API({
  library: "/Users/qymeet/Pictures/rao.library",
});

Args

interface Args {
  library: string;
  port?: number;
  registerCallback?: (fastify: FastifyInstance) => void;
}

Random

Get a random image.

  • /api/r GET
  • /api/random GET
  • /random GET
  • /r GET

Image

  • /image POST
  • /image/:id GET

Folder

  • /folder POST

Tag

  • /tag POST

TagsGroups

  • /tags-groups POST

Readme

Keywords

none

Package Sidebar

Install

npm i @raopics/plugin-api

Homepage

rao.pics

Weekly Downloads

0

Version

1.7.0

License

MIT

Unpacked Size

9.73 kB

Total Files

17

Last publish

Collaborators

  • meetqy