Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

anvilabs/flow-libdefs

Repository files navigation

@anvilabs/flow-libdefs

Build Status Version devDependency Status semantic-release

Incomplete flow library interface definitions we use in our projects.

Installation

First, install the package by running:

$ yarn add @anvilabs/flow-libdefs --dev
# or
$ npm install @anvilabs/flow-libdefs --save-dev

Then add the following to your .flowconfig:

...
[libs]
node_modules/@anvilabs/flow-libdefs/definitions/
...

Alternatively, add definitions for each library separately:

...
[libs]
node_modules/@anvilabs/flow-libdefs/definitions/lodash.js
node_modules/@anvilabs/flow-libdefs/definitions/recompact.js
...

Contributing

Pull requests for existing interfaces are welcome. If you plan on adding a new one, please contribute to https://github.com/flowtype/flow-typed.

License

MIT License © Anvilabs LLC