├── README.md ├── index.js ├── nsfwhub-logo-nt.png ├── nsfwhub-logo.png ├── package.json ├── src └── nsfw.js └── typings ├── index.d.ts └── src ├── nsfw.d.ts └── nsfw.d.ts.map /README.md: -------------------------------------------------------------------------------- 1 |

2 | stats 3 |

4 |

5 |
6 | Buy Me A Coffee

7 | 8 | # 9 | 10 | # 📦Installation 11 | 12 | ```bash 13 | npm i nsfwhub 14 | yarn add nsfwhub 15 | pnpm i nsfwhub 16 | ``` 17 | 18 | # 📝 Usage 19 | 20 | ```js 21 | const { NSFW } = require("nsfwhub"); 22 | /* import { NSFW } from "nsfwhub"; For EsModule */ 23 | 24 | const nsfw = new NSFW(); 25 | 26 | nsfw.fetch("pussy").then((data) => { 27 | console.log(data.image.url); 28 | }); 29 | 30 | ``` 31 | 32 | # 🔞 Category's 33 | 34 | - ass 35 | - sixtynine 36 | - pussy 37 | - dick 38 | - anal 39 | - boobs 40 | - ass 41 | - bdsm 42 | - black 43 | - easter 44 | - bottomless 45 | - blowjub 46 | - collared 47 | - cum 48 | - cumsluts 49 | - dp 50 | - dom 51 | - extreme 52 | - feet 53 | - finger 54 | - fuck 55 | - futa 56 | - gay 57 | - gif 58 | - group 59 | - hentai 60 | - kiss 61 | - lesbian 62 | - lick 63 | - pegged 64 | - phgif 65 | - puffies 66 | - real 67 | - suck 68 | - tattoo 69 | - tiny 70 | - toys 71 | - xmas 72 | 73 | # 74 | # ⭐ License 75 | 76 | [![Discord Banner](https://api.weblutions.com/discord/invite/luppux/)](https://discord.gg/luppux) 77 | 78 | Buy Me A Coffee -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | module.exports = { 4 | NSFW:require("./src/nsfw") 5 | }; -------------------------------------------------------------------------------- /nsfwhub-logo-nt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Bes-js/nsfwhub/2bd8466cef90b0a94123d59a95e5bf0237dc692c/nsfwhub-logo-nt.png -------------------------------------------------------------------------------- /nsfwhub-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Bes-js/nsfwhub/2bd8466cef90b0a94123d59a95e5bf0237dc692c/nsfwhub-logo.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nsfwhub", 3 | "version": "0.0.1", 4 | "description": "Artificial Intelligence Supported NSFW Image, Gif Package, 30+ Categories Constantly Updated NSFW Content.", 5 | "main": "index.js", 6 | "types": "./typings/index.d.ts", 7 | "keywords": [ 8 | "nsfw", 9 | "nsfw-image", 10 | "image", 11 | "porn", 12 | "pornhub", 13 | "images", 14 | "png", 15 | "gif", 16 | "hentai", 17 | "reddit", 18 | "boobs", 19 | "anime", 20 | "real", 21 | "neko", 22 | "nekos", 23 | "discord" 24 | ], 25 | "scripts": { 26 | "types": "tsc" 27 | }, 28 | "author": { 29 | "name": "Bes-js", 30 | "url": "https://github.com/Bes-js/" 31 | }, 32 | "license": "GPL-3.0", 33 | "funding": { 34 | "type": "buymeacoffee", 35 | "url": "https://www.buymeacoffee.com/beykant" 36 | }, 37 | "repository": { 38 | "type": "git", 39 | "url": "git+https://github.com/Bes-js/nsfwhub.git" 40 | }, 41 | "bugs": { 42 | "url": "https://github.com/Bes-js/nsfwhub" 43 | }, 44 | "homepage": "https://discord.gg/luppux", 45 | "dependencies": { 46 | "axios": "^1.5.0" 47 | }, 48 | "devDependencies": { 49 | "@types/node": "^20.4.5", 50 | "typescript": "^5.1.6" 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/nsfw.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const axios = require("axios"); 4 | 5 | /** 6 | * @typedef {object} NSFW 7 | * @see {NSFW} 8 | * @example const nsfw = new NSFW() 9 | * @type {Class} 10 | */ 11 | module.exports = class NSFW { 12 | constructor(options) {} 13 | 14 | /** 15 | * https://discord.gg/luppux 16 | * @description It allows you to capture the specified NSFW category via the API, and the "image" object structure is returned via the API. 17 | * @param {string} type NSFW Category. 18 | * @returns {object} 19 | * @example await NSFW.fetch("ass") 20 | * @async 21 | */ 22 | 23 | fetch(type){ 24 | try{ 25 | return axios.get(`https://nsfwhub.onrender.com/nsfw?type=${type}`) 26 | .then((res) => res.data) 27 | }catch(err){ } 28 | } 29 | 30 | 31 | }; -------------------------------------------------------------------------------- /typings/index.d.ts: -------------------------------------------------------------------------------- 1 | import NSFW from "./src/nsfw"; 2 | export { 3 | NSFW 4 | }; -------------------------------------------------------------------------------- /typings/src/nsfw.d.ts: -------------------------------------------------------------------------------- 1 | export = NSFW; 2 | /** 3 | * @typedef {object} NSFW 4 | * @see {NSFW} 5 | * @example const nsfw = new NSFW() 6 | * @type {Class} 7 | */ 8 | declare class NSFW { 9 | 10 | /** 11 | * https://discord.gg/luppux 12 | * @description It allows you to capture the specified NSFW category via the API, and the "image" object structure is returned via the API. 13 | * @param {string} type NSFW Category. 14 | * @returns {object} 15 | * @example await NSFW.fetch("ass") 16 | * @async 17 | */ 18 | fetch(type:'ass'|'sixtynine'|'pussy'|'dick'|'anal'|'boobs'|'ass'|'bdsm'|'black'|'easter'|'bottomless'|'blowjub'|'collared'|'cum'|'cumsluts'|'dp'|'dom'|'extreme'|'feet'|'finger'|'fuck'|'futa'|'gay'|'gif'|'group'|'hentai'|'kiss'|'lesbian'|'lick'|'pegged'|'phgif'|'puffies'|'real'|'suck'|'tattoo'|'tiny'|'toys'|'xmas'):{status:string,image:{type:string,url:string}}; 19 | 20 | } 21 | 22 | //# sourceMappingURL=level-up.d.ts.map 23 | -------------------------------------------------------------------------------- /typings/src/nsfw.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"nsfw.d.ts","sourceRoot":"","sources":["../../src/nsfw"],"names":[],"mappings":""} --------------------------------------------------------------------------------