@hedystia/strange.core
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Installation

npm i strange.api

pnpm i strange.api

yarn add strange.api

Nodejs Version

  • v18.0.0 or higher

Links

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));

/@hedystia/strange.core/

    Package Sidebar

    Install

    npm i @hedystia/strange.core

    Weekly Downloads

    1

    Version

    1.0.5

    License

    ISC

    Unpacked Size

    3.5 MB

    Total Files

    5

    Last publish

    Collaborators

    • zastinian