$ npm install extract-descriptionGet the description from a README. Basically the first non-heading paragraph.
npm i extract-description --save
var extract = require('extract-description');
var fs = require('fs');
var str = fs.readFileSync('README.md', 'utf8');
extract(str);
//=> Get the description from a README. Basically the first non-heading paragraph.
Install dev dependencies:
node i -d && mocha
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on December 30, 2014.