A Petrel client library, in Javascript.
This was a crazy experiment: is it possible to write a partially-binary wire protocol in Javascript? Yes, but you probably don't want to -- though it would be easier with modern language features like Promises.
Of (dubious) educational use only.