Raathigesh / npm-ui

[WIP] Browser UI for npm and yarn (scripts, dependencies …)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm-ui

I very quickly tried to make scaffolding for a UI on top of npm/yarn, like Sunil Pai suggested.

How to use

Right now it's not published, so it'll work in this same repository. What you can already try is:

  • yarn develop and open localhost:3000
  • /scripts and /dependencies to list those
  • /scripts/run/:name (but it will output in the node terminal instead of the socket)
  • /dependencies/add/:name (but it will output in the node terminal instead of the socket)
  • /dependencies/remove/:name (but it will output in the node terminal instead of the socket)

There's no UI yet, because I was a bit confused on how to add both this server and some web app without a bunch of workarounds.

Todo

  • stream output correctly
  • get possible scripts (/scripts)
  • run script (/scripts/run/:script)
  • get installed dependencies (/dependencies)
  • install dependency
  • remove dependency
  • search for dependency (https://github.com/algolia/npm-search)
  • UI

About

[WIP] Browser UI for npm and yarn (scripts, dependencies …)

License:MIT License


Languages

Language:JavaScript 95.3%Language:Shell 1.9%Language:HTML 1.6%Language:CSS 1.2%