cristiano-ronaldo
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

cristiano-ronaldo Github Travis License npm

Stats about Cristiano Ronaldo

Cristiano Ronaldo is one of the best players in football (soccer) history. This package give you live stats about Ronaldo fetching the data from messivsronaldo.net.

Any changes on the website will affect whether this package works or not, so if you find any issues while using this package please open an issue imidialty.

Install

$ npm install cristiano-ronaldo
Other options?
npm
$ npm install cristiano-ronaldo
yarn
$ yarn add cristiano-ronaldo
Github Registry
$ npm install abranhe@cristiano-ronaldo

Usage

import cristianoRonaldo from 'cristiano-ronaldo';
  
(async () => {
  const cr7 = await cristianoRonaldo();
  // {
  //   goals: 716,
  //   assists: 220,
  //   apps: 991,
  //   penaltis: 118,
  //   penaltisMissed: 23,
  //   hatTricks: 56,
  //   goalRatio: 0.72
  // }
})();

API

cristianoRonaldo()

Type: string

Returns live stats about Cristiano Ronaldo.

License

MIT © Abraham Hernandez

Package Sidebar

Install

npm i cristiano-ronaldo

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

5.03 kB

Total Files

5

Last publish

Collaborators

  • abranhe