Start
Installation
Section titled “Installation”npm i strange.apipnpm i strange.apiyarn add strange.apiNodejs Version
Section titled “Nodejs Version”v18.0.0or higher
- Discord [Hedystia Discord]
- Discord_Bot [Hedystia Bot]
- Strange_Support [Strange Support]
- Strange_Docs [Strange Docs]
- Strange_Api_Key [Strange Dashboard]
- Strange_Api_Key [Strange Support]
- Npm_Docs [Strange.Api docs]
Example
Section titled “Example”import { Buffer } from "node:buffer"import Strange from "strange.api"
// or
const { Buffer } = require("node:buffer")const Strange = require("strange.api")
process.loadEnvFile("./.env")
const api = new Strange(process.env.API_KEY)
const buf = api.generators.challenger({ image: process.env.IMAGE_URL, silhouetted: true,})
console.log(Buffer.from(buf))