Skip to content

stephenplusplus/gitnpm

Repository files navigation

an app that takes you to an npm package's repo


Several times a day, I wind up going to npmjs.org/package/some-package to dig through and find the GitHub url. I thought it would be nice to just get booted right to the place I need to go from one url.

places you can go

gitnpm.com

Example: http://gitnpm.com

gitnpm.com/{pkgName}

Example: http://gitnpm.com/gcloud

gitnpm.com/{pkgName}/json

Example: http://gitnpm.com/gcloud/json

gitnpm.com/{pkgName}/[version]/json

Example: http://gitnpm.com/gcloud/json Example: http://gitnpm.com/gcloud/0.36.0/json

gitnpm.com/{pkgName}/json/[version]/{property}

Example: http://gitnpm.com/gcloud/json/dependencies Example: http://gitnpm.com/gcloud/0.36.0/json/dependencies

gitnpm.com/{pkgName}/hits

Example: http://gitnpm.com/gcloud/hits

make gitnpm a custom search for quicker results

Add gitnpm as a custom search engine

under the hood

The app is hosted with Google App Engine Managed VMs. gcloud-node is used to interact connect to Google Cloud Datastore (used as a key-value store) and Google BigQuery.

Each time the app is used, an entry in a Datastore dataset is created as well as a row inserted into a BigQuery dataset. These rows can be queried by going to the gitnpm.com{pkgName}/hits route to see when searches have been made for a package.

Also, the favicon is mah baby.

About

an app that takes you to an npm repository's GitHub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published