Add documentation for TypeScript usage (#49)
Add documentation for TypeScript usage (#49)

* Add documentation for TypeScript usage

* Improve documentation

* Use try-catch block instead of promise chain

* Remove redundant error handling from example

* Update README.md

Co-authored-by: Matteo Collina <9e82044cc2ddcb8c7b7cca6ead2a720852437b44@gmail.com>

Co-authored-by: Matteo Collina <9e82044cc2ddcb8c7b7cca6ead2a720852437b44@gmail.com>
mcollina/fastq,mcollina/fastq