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

surfranker-cli

v1.3.0

Published

Retrieve live World Surf League tour rankings via the terminal. Championship Tours, Challenger Series, Big Wave Tours, Qualifying Series, Junior Tours & Longboard Tours are supported. Throwaway event filtering where applicable is also supported.

Downloads

10

Readme

surfranker-cli

Making surf rankings just that little bit franker.

Retrieve live World Surf League tour rankings for free via the Terminal. Championship Tours, Challenger Series, Big Wave Tours, Qualifying Series, Junior Tours & Longboard Tours all supported. Throwaway Event Filtering supported where applicable.

https://user-images.githubusercontent.com/48492083/128521067-e35f0cdc-8f28-4488-81c2-17c9696187ca.mov

Installing surfranker-cli

  • Open your Terminal or MS-DOS command window and ensure you have HomeBrew installed. Run brew -v to see if you have HomeBrew. If the brew command isn't found, install by using /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".
  • Next make sure you have Node.JS (& NPM - included in Node.JS) installed. Run node -v to see if you have Node.JS. If you don't have it, run brew install node.
  • Finally, install surfranker-cli with npm install -g surfranker-cli. If you prefer yarn, use yarn global add surfranker-cli.
  • You should now be all set and ready to use any of the commands below!

Using surfranker-cli

Championship Tours (WCT & MCT)

  • View the current Womens & Mens CT rankings using commands surfranker wct & surfranker mct.
  • View the Womens & Mens CT top 5 final placings by year using commands surfranker wct -top5 & surfranker mct -2021 -top5.
  • Calculate, sort & view the current Womens & Mens CT rankings with 1 or 2 throwaway events applied. Eg. use surfranker wct -throw2 or surfranker mct -throw1.
  • View the Womens & Mens CT rankings by year using eg. surfranker wct -2017. Supported years include 2010-2021 (Womens & Mens).

Challenger Series (WCS & MCS - supported in Version 2 after the first contest in September 2021)

  • View the current Womens & Mens CS rankings using commands surfranker mcs & surfranker wcs.
  • Calculate, sort & view the current Womens & Mens CS rankings with 1 or 2 throwaway events applied. Eg. use surfranker mcs -throw1 or surfranker wcs -throw2. Note: Results will come from four CS events and one QS event in 2021.

Big Wave Tours (WBWT & MBWT)

  • View the current Womens & Mens BWT rankings by year using eg. surfranker mbwt -2018 & surfranker wbwt -2016.
  • Supported years include 2016-2018 (Womens) & 2009-2018 (Mens).

Qualifying Series (WQS & MQS)

  • View the current Womens & Mens QS rankings by year and region using eg. surfranker wqs -2021 -haw/tn & surfranker mqs -2021 -aus/oce.
  • Supported years include 2010-2021 (Womens) & 2011-2021 (Mens).

Junior Tours (WJUN & MJUN)

  • View the current Womens & Mens JT rankings by year and region using eg. surfranker wjun -2021 -aus/oce & surfranker mjun -2021 -eu.
  • Supported years include 2011-2021 (Womens & Mens). 2012 omitted.

Longboard Tours (WLT & MLT)

  • View the current Womens & Mens LT rankings by year and region using eg. surfranker wlt -2020 -int & surfranker mlt -2020 -eu.
  • Supported years include 2011-2020 (Womens & Mens). 2012 omitted in the Mens.

Supported regions include International (-int), Australia/Oceania (-aus/oce), Africa (-af), Asia (-as), Europe (-eu), Hawaii/Tahiti Nui (-haw/tn), North America (-na) & South America (-sa) where applicable. All supported years and regions across individual tours can be seen here.

Upgrading surfranker-cli

npm upgrade surfranker-cli or yarn upgrade surfranker-cli --latest.

Uninstalling surfranker-cli

npm uninstall -g surfranker-cli or yarn remove surfranker-cli. You can then also remove Node.JS if you like with brew uninstall node.