npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

Iโ€™ve always been into building performant and accessible sites, but lately Iโ€™ve been taking it extremely seriously. So much so that Iโ€™ve been building a tool to help me optimize and monitor the sites that I build to make sure that Iโ€™m making an attempt to offer the best experience to those who visit them. If youโ€™re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, ๐Ÿ‘‹, Iโ€™m Ryan Hefnerย  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If youโ€™re interested in other things Iโ€™m working on, follow me on Twitter or check out the open source projects Iโ€™ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soonโ€“ish.

Open Software & Tools

This site wouldnโ€™t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you ๐Ÿ™

ยฉ 2024 โ€“ย Pkg Stats / Ryan Hefner

cric-live-score

v3.2.0

Published

Live Cricket ๐Ÿ Scores

Downloads

0

Readme

Live Cricket ๐Ÿ Score Api

Getting Started

Put match ID in get_score(ID). Get match ID from cricbuzz today match url.\n- example: https://www.cricbuzz.com/live-cricket-scores/56192 so match ID is 56192 !

Install using npm:

npm install cric-live-score

Example usage


await get_score('56192')
.then(res =>{
console.log(res)
})

Output


/*
{
  status: true,
  creator: 'SafwanGanz',
  github: 'https://github.com/SafwanGanz',
  result: {
    title: 'South Africa vs West Indies, 2nd Test',
    update: 'Day 1: Stumps',
    current: 'RSA - 311/7 (89.2)',
    batsman: 'Heinrich Klaasen*',
    batsmanrun: '17(43)',
    ballsfaced: '(43)',
    fours: '1',
    sixes: '0',
    sr: '39.53',
    batsmantwo: 'Bowling',
    batsmantworun: 'O',
    batsmantwoballsfaced: 'Data Not Found',
    batsmantwofours: 'M',
    batsmantwosixes: '7.2',
    batsmantwosr: 'W',
    bowler: 'Jason Holder',
    bowlerover: '16',
    bowlerruns: '39',
    bowlerwickets: '1',
    bowlermaiden: '5',
    bowlertwo: 'Data Not Found',
    bowletworover: 'Data Not Found',
    bowlertworuns: 'Data Not Found',
    bowlertwowickets: 'Data Not Found',
    bowlertwomaiden: 'Data Not Found',
    partnership: '2(8)',
    recentballs: '... 0 4 0 W | 0 0 1 0 0 1 | 0 W',
    lastwicket: 'Simon Harmer c Joshua Da Silva b Mayers 1(5) - 311/7 in 89.2 ov.',
    runrate: 'CRR: ย 3.48',
    commentary: "17:03 Local Time, 15:03 GMT, 20:33 IST: The Windies finally reaped some rewards for their hard work in the field today. They'll feel a lot better heading into the change room after that last session. South Africa were in a dominant position heading into it having lost just two wickets and it looked like they'd continue to batter a weary looking Windies bowling attack. The visitors, however, did not let that happen. Holder trapped Bavuma lbw before Motie bowled a peach to send de Zorzi packing. There was a relative period of stability after the set batters were dismissed but Rickleton threw it away after chasing a wide one. The Windies went on to find some late success as they managed to scalp two more right towards the end of play. After dominating the majority of the day, the Proteas will feel a little disappointed with how things stand at the end of the day. They'd have hoped to end the day having lost at least a couple of wickets fewer. That's all there is for today, do join us back for all the action tomorrow.89.2 Mayers to Harmer, out Caught by Joshua Da Silva!! Edged and gone! Good length delivery just outside off, perfect in-between length that has the batter caught on the crease, Harmer pushes at it away from his body and gets a healthy edge through to the keeper who makes no mistake. The Windies will be bouyed by that as they head off as it'll also be stumps. Harmer c Joshua Da Silva b Mayers 1(5)  Mayers to Harmer, THATS OUT!! Caught!! 89.1 Mayers to Harmer, no run, full and sliding down the leg-side, Harmer looks to glance it fine and misses RSA: 311-6 after 89 overs88.6 Holder to Harmer, 1 run, length delivery on middle, Harmer looks to defend and gets beaten on the inside edge before getting struck on the pad 88.5 Holder to Harmer, no run, full on off, Harmer prods forward and knocks it towards mid-on 88.4 Holder to Harmer, no run, full and just outside off, Harmer shuffles across before shouldering arms 88.3 Holder to Klaasen, 1 run, full on off, Klaasen prods forward and knocks it towards point for a single 88.2 Holder to Klaasen, no run, length delivery on off, Klaasen gets on top of the bounce and knocks back 88.1 Holder to Klaasen, no run, length delivery on middle, Klaasen defended back towards the bowler Simon Harmer, right handed bat, comes to the creaseRSA: 309-6 after 88 overs87.6 Mayers to Mulder, out Bowled!! Gone! Length delivery on off, shapes back in beautifully and goes straight through the gate. Mulder didn't know much about that one, was caught in his crease and it nipped back in, snuck through the gap between bat-pad and hit the top of off. So some success late in the day for the Windies. Mulder b Mayers 12(30) [4s-1]  Mayers to Mulder, THATS OUT!! Bowled!! 87.5 Mayers to Mulder, no run, length delivery on middle, pushed towards mid-wicket off the backfoot 87.4 Mayers to Mulder, FOUR, full and just outside off, Mulder pushes at it from his crease and gets a thick outside edge that flies past gully for four 87.3 Mayers to Mulder, no run, length delivery just outside off, keeps a touch low as Mulder shuffles across looking to defend 87.2 Mayers to Mulder, no run, pitched up full on off, driven straight to mid-off 87.1 Mayers to Mulder, no run, full and shaping back in from outside off, Mulder is right behind it in defence Kyle Mayers [6.0-0-20-0] is back into the attackRSA: 305-5 after 87 overs86.6 Holder to Klaasen, 2 runs, length delivery on middle, clipped away towards deep square leg for a couple "
  }
}
*/

Sources

cricbuzz

License

MIT