1.0.9 • Published 4 months ago

manchester-united-players v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Manchester United Players

Manchester United's current first team players' information. (Last Update: 15th January 2024)

Install

$ npm install manchester-united-players

Usage

const mufcPlayer = require("manchester-united-players");

Getting ALL players' information

mufcPlayer.all;
// Output: [{"number": 2,"name": "Victor Lindelof", …} …]

Getting ALL players' names

mufcPlayer.allNames();
// Output: ['Altay Bayindir', 'Victor Lindelof', 'Harry Maguire' …]

Getting specific player's NAME

Params: Squad Number

mufcPlayer.name(8);
// Output: 'Bruno Fernandes'

Getting specific player's DATE OF BIRTH

Params: Squad Number

mufcPlayer.dob(29);
// Output: '1997-11-26'

Getting specific player's AGE

Params: Squad Number

mufcPlayer.age(5);
// Output: '30'

Getting specific player's POSITION

Params: Squad Number

mufcPlayer.position(19);
// Output: 'Centre-back'

Getting specific player's NATIONALITY

Params: Squad Number

mufcPlayer.nationality(2);
// Output: 'Sweden'

Getting specific player's NUMBER

Params: Player's Full Name

mufcPlayer.number("masonmount");
// Output: 7

mufcPlayer.number("ALEJANDRo      GARnaCHo");
// Output: 17
1.0.9

4 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago