Skip to content

Utility to install a flow dependency that tries to install the lib dependency but if it doesn't find it, will create a stub.

License

Notifications You must be signed in to change notification settings

franciscomorais/flow-libdef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flow-libdef

npm version NpmLicense CircleCI (all branches) GitHub issues GitHub pull requests

Utility to install a flow dependency that tries to install the lib dependency but if it doesn't find it, will create a stub.

Dependencies

  • node 8.x
  • yarn
  • flow-typed

Installation guide

npm i -g flow-libdef

Why

Imagine that you have a lodash dependency on your project you never installed the libdef flow of this dependency. To install these libdef dependency, before, you needed to know what version that you have installed on your project, after that you will be try to install the libdef running the flow-typed install lodash@4.0.0 command as an example, and if the library don 't have a compatible libdef, you need to create the library stub.

How to use

This utility helps to install a dependency using only the name of library. You just need run this command:

flow-libdef install lodash

and, voilá, the libdef dependecy will be installed or the stub will be created.

I hope this helps you in this process.

Thanks

Contributing

Please feel free to submit any issues or pull requests.

License

MIT

About

Utility to install a flow dependency that tries to install the lib dependency but if it doesn't find it, will create a stub.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •