1.0.24 • Published 5 years ago

ferwaba v1.0.24

Weekly downloads
1
License
ISC
Repository
github
Last release
5 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

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.2

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.11

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago