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

hacka-data

v1.1.0

Published

Get Data for all your hackathon needs

Downloads

20

Readme

Hacka-data

Get Data for all your hackathon needs. This is great for hackathon to get quick and easy data in any city you wish. It uses yelp to find the different categories you wish to search by and saves them in an easy to use .csv file, for quick and easy viewing of the data, as well as importing the file into a database.

Getting started

To run this all you need to do is run

npm i -g hacka-data

You Must set some environment variables before using:

export yelp_consumer_key="your_key"
export yelp_consumer_secret="your_secret"
export yelp_token="your_token"
export yelp_token_secret="your_token_secret"

Expected usage:

hacka-data "Location" [categories]

or

hacka-data many "Location" [categories]

Passing the many keword will switch the functionality to instead of searching for places that have all of [categories], it takes each category and will perform an individual search for each one instead of grouping.

Where location is the area in which you want results, places with more then one name, such as Halifax, you will need to also supply state/province code along with it to specifiy which one you want. example: "Halifax, NS".

The categories is just n number of categories you want to search by, seporated by a space (example with more then one category below)

Examples

If you want to get just one of the categories then, lets say just vet:

hacka-data "halifax, NS" vet

you can group the search by different categories, lets say you want to group all vets who also have dogwalking services.

hacka-data "Halifax, NS" vet dogwalkers

You can keep adding as many categories as you wish here.

Making many queries with one call

hacka-data many "Halifax, NS" vet dogwalkers

This is the same as making two calls to hacka-data, one with vet and the other with dogwalkers. Except it is all put into one file.

List of categorys

https://www.yelp.com/developers/documentation/v2/all_category_list