bored-package

1.1.0 • Public • Published

bored-package

Introduction

Welcome to my first ever npm package. With this package you can fetch data from bored Api. Learn more about the api documentation here https://www.boredapi.com/documentation.

This package fetches a random activity, activity by type (Types: education, recreational, social, diy, charity, cooking, relaxation, music, busywork), activity by participants (from 1-5 participants) and activity by price (0.0 which means free, all the way to 0.6)

Ruichao Guan

Usage

Install the package with the command npm i bored-package

Import the package in your project as following

'import BoredAPI from 'bored-package'

/bored-package/

    Package Sidebar

    Install

    npm i bored-package

    Weekly Downloads

    13

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    2.74 kB

    Total Files

    3

    Last publish

    Collaborators

    • guan-ruichao