Socket
Book a DemoInstallSign in
Socket

extract-description

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-description

Get the description from a README. Basically the first non-heading paragraph.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

extract-description NPM version

Get the description from a README. Basically the first non-heading paragraph.

Install with npm

npm i extract-description --save

Usage

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.

Run tests

Install dev dependencies:

node i -d && mocha

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license

This file was generated by verb on December 30, 2014.

FAQs

Package last updated on 30 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts