Skip to content

Instantly share code, notes, and snippets.

@wildeyes
Created July 16, 2020 19:04
Show Gist options
  • Save wildeyes/1b9d016a8619fddefee467465c16e160 to your computer and use it in GitHub Desktop.
Save wildeyes/1b9d016a8619fddefee467465c16e160 to your computer and use it in GitHub Desktop.
Open github repo in openbase via it's npm/yarn name bookmarklet.
javascript:window.open(`https://openbase.io/js/${document.documentElement.innerText.match(/(?:(npm install)|(npm i)|(yarn add)) ([\w\-]+)/).slice(-1)}`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment