Dead simple. You type:
md5-cli "Your string"
and it prompts the result: 319557b02e00284cd64cde1c4bbfe2e5
Works also on files:
md5-cli "index.js"
24630afcf044d185d3acce04ccc4d4fc
npm install -g md5-cli
md5 string
does not work in Mac. It only works on files. Now it works for both.
Make a pull request or write an issue, I will be pleased to answer.
Know how to build IoT apps in node.js
Forked to use dependency on md5 instead of MD5