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

andre-bunnylol

v1.0.2

Published

While I was at Facebook, I heavily used the internally developed tool `bunnylol`. I found several other versions of `bunnylol` that required me to host a server. This version of `bunnylol` *does not* need to be hosted on a server.

Downloads

201

Readme

Andre's BunnyLOL

While I was at Facebook, I heavily used the internally developed tool bunnylol. I found several other versions of bunnylol that required me to host a server. This version of bunnylol does not need to be hosted on a server.

Currently, this is hosted on http://andresilva91.github.io/bunnylol. However, you can host it on any website that you would like (even on GitHub Pages). Since this is going to be your primary search engine for every new tab you open, I would suggest that you don't host it somewhere that may take a while to spin up the static page (like Heroku where your VM could go to sleep).

A note: a lot of these commands are customized for me. It is probably most beneficial for you to fork this repo and add/remove commands so that it is optimized for commands you actually need.

Example Commands

Command | Name | URL --- | --- | --- fb | Facebook | https://facebook.com/ m | Messenger Desktop App | messenger:// mw | Messenger Web | https://www.messenger.com/ wa | WhatsApp Desktop App | whatsapp:// waw | WhatsApp Web | https://web.whatsapp.com/ gm | Gmail | https://mail.google.com/mail/u/0 gd | Google Drive | https://drive.google.com/drive/u/0 sis | UVA SIS | https://sisuva.admin.virginia.edu/psc/ihprd/UVSS/SA/s/WEBLIB_HCX_GN.H_SPRINGBOARD.FieldFormula.IScript_Main col | UVA Collab | https://collab.its.virginia.edu/portal yt | YouTube | https://youtube.com/ gh | GitHub | https://github.com/ r | Reddit | https://reddit.com/ l | Linkedin | https://linkedin.com/ ig | Instagram | https://instagram.com/ tw | Twitter | https://twitter.com/ g | Google | https://google.com/ wp | Washington Post | https://www.washingtonpost.com/regional/ wsj | Wall Street Journal | https://www.wsj.com/ cnn | CNN | https://www.cnn.com/ n | Netflix | https://netflix.com/ h | Hulu | https://hulu.com/ pv | Amazon Prime Video | https://www.amazon.com/Amazon-Video/b/?&node=2858778011&ref=dvm_MLP_ROWNA_US_1 p | Piazza | https://piazza.com/class vs | VS Code | vscode:// hs | Hubspot | https://app.hubspot.com/live-messages/ $ | Robinhood | https://robinhood.com/ cal | Google Calendar | https://calendar.google.com/calendar/r covid | UVA COVID-19 Tracker | https://returntogrounds.virginia.edu/covid-tracker DEFAULT | Default - Google Search | https://google.com/

Setup

  1. Open Chrome and click the three dots. Click Settings and scroll down to Search Engines.

  2. Click Manage Search Engines.

  3. Add a new search engine with the URL being http://andresilva91.github.io/bunnylol?search=%s. Of course, you should change the andresilva91.github.io part to your own domain.

  4. Make this the default search engine.

Adding a command

  1. Run npm install so that flow (JavaScript type checker) can run.

  2. Open up the src/commands.js file. Add your command to the COMMANDS object. You must include a name and url attribute and you can add an additional searchurl attribute if you would to be able to type a command like yt NBA Highlights (in which case, bunnylol will automatically search for NBA Highlights on YouTube).

  3. Run npm run prepublish.

  4. Publish to your website.

Running locally

Since we use import module syntax, we need to run a server to bypass CORS issues. You can setup the server by running npm install, followed by node server.js. The server should be up and visible at localhost:3000.