cricket-data

1.0.7 • Public • Published

Cricket CLI

build-test npm

Get Live Cricket Score Update on Your Terminal, CMD and Termux.

Built using

Setup

  • Clone or Download Repo
git clone https://github.com/sanwebinfo/cricket-cli.git

## Open Project Folder
cd cricket-cli

## install packages
pnpm install

## build CLI
pnpm build
  • Create cricket.yml file on your HOME Directory to add Cricket API URL
BASE_URL: 'https://cricket.example.com/score
npm link or pnpm link --global
  • unlink CLI
npm rm --global cricket-data or pnpm uninstall --global cricket-data
  • Access CLI Globally
cricket score --help

cricket score <MatchID>

cricket score <MatchID> --details
  • Access via NPX
npx cricket-data score <MatchID> or npx cricket-data score --help
  • install via NPM and PNPM
## install via npm
npm install -g cricket-data

## Remove Package
npm uninstall -g cricket-data


## install via pnpm
pnpm install -g cricket-data

## update package
pnpm update -g cricket-data

## Remove Package
pnpm uninstall -g cricket-data

MISC (Development)

  • Clear NPX and PNPM Cache
npx clear-npx-cache
pnpm store prune

Contributing 🙌

Your PR's are Welcome

Disclaimer 🗃

  • This is not an Offical API from Cricbuzz - it's an Unofficial API
  • This is for Education Purpose only - use at your own risk on Production Site

All Credits Goes to https://www.cricbuzz.com/

LICENSE

MIT

Package Sidebar

Install

npm i cricket-data

Weekly Downloads

7

Version

1.0.7

License

MIT

Unpacked Size

11.8 kB

Total Files

6

Last publish

Collaborators

  • mskian