I notice this package uses flow, so I wonder if, for each release, we could generate a .d.ts file using something like https://github.com/Khan/flow-to-ts, and then include that in the npm package. This would allow easy integration with typescript projects.