mavlina

1.0.3 • Public • Published

Mavlina


Discord server npm version npm downloads
NPM

About

Mavlina is a powerful Node.js module that allows you to easily interact with the Mavlina's API.

  • Easy to use
  • Lightweight
  • Object-oriented
  • Performant

Installation

Node.js 16.9.0 or newer is required.

npm install mavlina
yarn add mavlina
pnpm add mavlina

Example

const Mavlina = require("mavlina")


async function call() {
    const mavlina = new Mavlina()
    
    const facts = await mavlina.facts()
    console.log(facts)
    
    const wyr = await mavlina.wyr()
    console.log(wyr)

    const truth = await mavlina.truth("normal")
    console.log(truth)
    
    const dare = await mavlina.dare()
    console.log(dare)

    const randomtnd = await mavlina.randomtnd("normal")
    console.log(randomtnd)

    const nhie = await mavlina.nhei("nsfw")
    console.log(nhie)
}
call()

Package Sidebar

Install

npm i mavlina

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

15.9 kB

Total Files

14

Last publish

Collaborators

  • chethanyadav456