Merge pull request #611 from runn1ng/patch-5

Adding Flow definitions link
This commit is contained in:
Daniel Cousens 2016-08-02 11:17:49 +10:00 committed by GitHub
commit 842661fde6

View file

@ -82,6 +82,16 @@ Example:
uglifyjs ... --mangle --reserved 'Array,BigInteger,Boolean,Buffer,ECPair,Function,Number,Point'
```
### Flow
Definitions for [Flow typechecker](https://flowtype.org/) are available in flow-typed repository.
[You can either download them directly](https://github.com/flowtype/flow-typed/blob/master/definitions/npm/bitcoinjs-lib_v2.x.x/flow_%3E%3Dv0.17.x/bitcoinjs-lib_v2.x.x.js) from the repo, or with the flow-typed CLI
# npm install -g flow-typed
$ flow-typed install -f 0.27 bitcoinjs-lib@2.2.0 # 0.27 for flow version, 2.2.0 for bitcoinjs-lib version
The definitions are complete and up to date with version 2.2.0. The definitions are maintained by [@runn1ng](https://github.com/runn1ng).
## Examples