Prelude
Tpy has been an unreasonably long project of mine that I've been wanting to complete ever since the first month of this spawned repository existed. Now, I think it's about done for 99% of cases. There are still things that this repository could see updates for, (e.g., create missing KV methods) but I feel like this would be an extreme edge case given that anyone would really use this library, much less use it to such a degree.
Those who would like to jump into the library immediately, look no further than the documentation page on Deno:
https://deno.land/x/tpy/mod.ts/
Overview
- Peer-reviewed documentation on the aspects of the Pylon API and Tpy.
- Familiar KV interface, allowing smooth transitions from Pylon KV code to external JS runtimes.
- Cross-runtime support as implied above. Deno and Node.js tested.
- Automatic-reconnecting WebSocket streams. (The Pylon API destroys the connection after a few moments.)
- Custom error handlers embedded into the library's base HTTP request function.
- Library specific error class for a more elaborate method of reporting errors.
March Update
This version of Tpy can be downloaded as an ESModule through the -esm
version.
npm install tpy@1.0.0-RC-esm
Addendums
Thank you to these wonderful people who have helped me create this library into what it is now. Without the feedback, I'm sure I would still be stuck at various design decisions between different interfaces.
@liamhtml, @trueharuu, @SpencerSharkey (of course), and @dowoge.
Of course to any other inquisitors or curious coders, feel free to contact me or make a discussion post in the repository, I will still be listening to further feedback as it is appreciated. Cheers to all Pyloneers out there, may your scripts compile. 🥂