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

    1.0.0 • Public • Published

    F1 information node library

    Build and test status

    A javascript project to get the information about drivers, teams and standings of formula 1 🏎

    Installation

    # Install the package
    yarn install
    #or
    npm install
    ...

    Example

    import { getDrivers } from 'f1-library';
    
    async () => {
      const drivers = await getDrivers;
    }()

    Methods

    getDrivers()

    Return a Promise with the drivers of F1.

    getTeams()

    Return a Promise with the teams of F1.

    getStandings({ year, mode }))

    Return a Promise with the standings of the year and mode ('drivers' or 'teams') of F1.

    getSchedule({ year })

    Return a Promise with the schedule of a season of F1.

    Install

    npm i f1-library

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.32 MB

    Total Files

    62

    Last publish

    Collaborators

    • imrodriguez