Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
moebooru
Advanced tools
Readme
This is a wrapper around the Moebooru API. Only the read-only endpoints are currently supported.
npm install moebooru
import Moebooru from "moebooru"
const moebooru = new Moebooru()
async function useAPI() {
/*You can easily search for nearly everything under the search class.*/
const posts = await moebooru.search.posts({query: "post"})
const artists = await moebooru.search.artists({query: "artist"})
const characters = await moebooru.search.characters({query: "characters"})
const series = await moebooru.search.series({query: "series"})
const tags = await moebooru.search.tags({query: "tag"})
const comments = await moebooru.search.comments({query: "comment"})
}
export interface MoebooruPost {
postID: number
uploader: string | null
updater: string | null
type: MoebooruType
restrict: MoebooruRestrict
style: MoebooruStyle
thirdParty: boolean
drawn: string
uploadDate: string
updatedDate: string
title: string
translatedTitle: string
artist: string
link: string
commentary: string
translatedCommentary: string
images: MoebooruImage[]
tags: string[],
favoriteCount: string
cutenessAvg: string
}
export interface MoebooruCommentSearch {
commentID: number
postID: number
username: string
comment: string
postDate: string
editedDate: string
image: string | null
post: MoebooruMiniPost
}
export interface MoebooruTagSearch {
tag: string
type: MoebooruTagType
image: string | null
description: string | null
aliases: string[]
postCount: string
imageCount: string
aliasCount: string
}
FAQs
Wrapper for the Moebooru API.
The npm package moebooru receives a total of 0 weekly downloads. As such, moebooru popularity was classified as not popular.
We found that moebooru demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.