babel-add-flow-comments
v0.4.0
Published
add/remove flow comments
Downloads
1,793
Readme
babel-add-flow-comments
add/remove flow comments
Install
$ npm install --dev babel-add-flow-comments
API
default: flowComment(programPath: Path)
add // @flow
to top.
addFlowComment(path: Path)
path
Type: Object
add // @flow
removeFlowComment(comments)
remove // @flow
for /* @flow */
isFlowFile(path): boolean
when // @flow
, return true.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco