require-stories
v1.0.11
Published
``` require('require-stories') //or import req from 'require-stories' ```
Downloads
1
Readme
Install
require('require-stories')
//or
import req from 'require-stories'
Example
const r = req(['./components', './screens'], true, /.stories.js$/, './stories.js')
CLI
// -d directories
// -r recursive
// -e regExp
// -o output
require-stories -d ./components,./screens -r -e .stories.js$ -o ./stories.js