Skip to content

Instantly share code, notes, and snippets.

@radare
Created June 15, 2016 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radare/ffb614b14eea879ffdbebe5c9bd1ab2e to your computer and use it in GitHub Desktop.
Save radare/ffb614b14eea879ffdbebe5c9bd1ab2e to your computer and use it in GitHub Desktop.
NodeJS man-like tool for module's README
#!/bin/sh
PATH="$(npm bin):$PATH"
for a in readme ansimd ; do
type $a > /dev/null || npm install $a
done
readme "$1" | ansimd /dev/stdin | less -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment