Merge pull request #611 from runn1ng/patch-5
Adding Flow definitions link
This commit is contained in:
commit
842661fde6
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue