Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mavlina/mavlina


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

About

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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •