1.0.3 • Published 2 years ago

mavlina v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.3

2 years ago

0.0.1

2 years ago

0.1.0

2 years ago

0.0.0

2 years ago