1.0.24 • Published 4 years ago

ferwaba v1.0.24

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

Ferwaba-NPM

A js package that has all the ferwaba teams and players informations

install:npm install ferwaba

This package will allow anyone to pull the names of all the current palyers in the Rwandan Baskeball League and the teams

Function in the Package:

  • getAllPlayers(): this function doesn't take any parameters. It will return a list of all the palyers with their respective informations
  • getPlayerInfo(string parameter); This function takes in one parameter( the palyer's name, surname or middlename) and will return that player's informations. Eg: const ferwaba=require ('ferwaba'); console.log(ferwaba.getPlayerInfo('RUTAZIGWA')); output: Player { name: 'Cedric', middlename: 'GITORI', surname: 'RUTAZIGWA', id: '#202', fullname: 'RUTAZIGWA GITORI Cedric' }

-getAllTeams(): this function doesn't take any parameters. It will return a list of all the teams with their respective informations -getTeamInfo(string parameter): This function takes in one parameter( the team's name) and will return that team's informations. Eg: const ferwaba=require ('ferwaba'); console.log(ferwaba.getTeamInfo('APR BBC')); output: Team { name: 'APR BBC' }

1.0.24

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.2

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.11

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago