weebts
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

WeebTS

Typescript wrapper around weeb.sh, usable in both TS and JS.

Example usage:

Typescript:

import { Client, TokenType: { Wolke }} from 'weebts';
 
const client: Client = new Client({ token: "Your-Super-Secret-Token", tokenType: Wolke });
 
client.getRandom({ type: 'some_type'})
    .then(console.log)
    .catch(console.error);

Javascript:

const { Client, TokenType: { Wolke }} = require('weebts');
const client = new Client({ token: "Your-Super-Secret-Token", tokenType: Wolke });
 
client.getRandom({ type: 'some_type'})
    .then(console.log)
    .catch(console.error);

/weebts/

    Package Sidebar

    Install

    npm i weebts

    Weekly Downloads

    5

    Version

    1.0.11

    License

    MIT

    Unpacked Size

    21 kB

    Total Files

    14

    Last publish

    Collaborators

    • yukine