npmapi-io

Npm Api Service

Usage no npm install needed!

<script type="module">
  import npmapiIo from 'https://cdn.skypack.dev/npmapi-io';
</script>

README

logo"> npm-api.io

Npm Api Service

Usage

GET /p/:package e.g. GET /p/gulp retrieves gulp's github url.

GET /go/:package e.g. GET /go/enb redirects to enb's github repo page.

For what

Alfred: fast opener github repo for npm package

Use it with your Alfred app for fast opening npm-packages' git repos.

Alfred.app npm-go β€” setup Alfred.app npm-go β€” use

πŸ’‘Tip Grab an icon for the Alfred by url: npmapi.invntrm.ru/favicon.png

Chrome: custom search github repo for npm package

Use it in Chrome, Opera, Yandex.browser and another Chromium based bro as custom search.

Chrome.app npm-go β€” setup

Type into Chrome omnibox (address bar): ng, then press space or tab, then input package name and press enter.

Chrome.app npm-go β€” use

πŸ’‘Tip Use as search url: http://npmapi.invntrm.ru/%s

TODO

  • /git/ β€” url for git
  • /v/ β€” version
  • /i/ β€” info (human readable package.json view)