docgen-loader
react-docgen loader
Last updated 5 years ago by eisisig .
MIT · Original npm · Tarball · package.json
$ cnpm install docgen-loader 
SYNC missed versions from official npm registry.

react-docgen loader for webpack

Usage

var docs = require("!!docgen!./Component.jsx");
// => returns Component.jsx documentation object if Component definition is found

Markdown description

If the description is in markdown you can parse it with marked by adding a query

var docs = require("!!docgen?markdownDescription!./Component.jsx");

NOTE: I use double !! to disable all other loaders. react-docgen cannot gather Component information if the Component has been babeled

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Current Tags

  • 1.3.4                                ...           latest (4 years ago)

7 Versions

  • 1.3.4                                ...           4 years ago
  • 1.3.3                                ...           5 years ago
  • 1.3.2                                ...           5 years ago
  • 1.3.1                                ...           5 years ago
  • 1.3.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 1
This Week 1
This Month 5
Last Day 0
Last Week 2
Last Month 14
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |