readme.md is an application that allows easy updating of package.json files with the content from the README.md.
In order to install it you can run:
$ npm install -g readme.md
Then in the project that you develop you can run again:
This will update your package.json file, setting the readme contents to the JSON escaped file.
In case you want to update a different file, or read a different file, or use a different property, you can also use it directly:
var readme = require("readme.md"); readme.writeFileIntoJson("README.md", "package.json", "readme");