This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
manu with all
npm packages installed. Try it out:
manu lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Read devdocs.io content from your cozy terminal.
mad is a nice tool to view docs written in markdown like regular
Unfortunately it provides only outdated content by default.
manu is a tool that queries the devdocs.io database to retrieve fresh data which can then be used by
Let's say you want to grab the ramda docs:
manu fetch ramda
This will download the content of devdocs.io to
manu convert ramda
This will convert the previously fetched JSON file to
Et voilà !
manu extract ramda
HTML files have now been extracted to
You can browse them and follow internal links smoothly.
manu pull ramda
manu pull angular-1.5
Install mad, then:
npm i -g manu
Add this variable to your shell:
List fetched (JSON), converted (MD) and extracted (HTML) docs:
List all local and available docs
manu ls -a
Pull = fetch + convert + extract :
manu pull <doc>
Download JSON raw data from devdocs.io to local cache:
manu fetch <doc>
Convert raw JSON to markdown:
manu convert <doc>
Extract HTML files from the raw JSON
manu extract <doc>
Remove local files
manu rm <doc>