From 66baeb088fd1a9bf0f2e405bc0bd096b0ff9e18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20B=C3=ADlek?= Date: Fri, 22 Jul 2016 23:58:46 +0200 Subject: [PATCH] Adding Flow definitions link --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 30265b7..963ecef 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,16 @@ Example: uglifyjs ... --mangle --reserved 'Array,BigInteger,Boolean,Buffer,ECPair,Function,Number,Point' ``` +### Flow + +Definition for [Flow typechecker](https://flowtype.org/) are available in flow-typed repository. + +[You can either download them direcly](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 definition should be complete and cover all the functions and classes in the API. ## Examples