Search
Items tagged with: NodeJS
Me: I really need to launch the things I’m building with Kitten¹ this year.
Also me: You know what would be sweet? If I added an introspection API to make working with the Kitten Shell (REPL)² easier.
(It is going to be sweet though. Prototyping it in the REPL now and I’ll record a little demo when I’m done and it’s released. It’s going to make examining and affecting the state of the client from the server interactively even easier.)
¹ kitten.small-web.org
² kitten.small-web.org/tutorials…
#Kitten #developerExperience #debugging #KittenShell #NodeJS #web #dev
🥳 New @small-web/kitten (Kitten globals) release.
• Improved type information.
• Now plays nice with tsconfig.json and tsc.
• Adds `rawBody` to `KittenRequest`.
This is not really a breaking change (in that it won’t break your apps) but I’m releasing it as a major version update so as not to surprise you if you notice the type information is different (more detailed than before).
To update in your kitten apps:
npm install @small-web/kitten@7
For more information on how to use this module, see the Kitten Type Safety tutorial:
kitten.small-web.org/tutorials…
Full change log:
codeberg.org/kitten/globals/sr…
Enjoy!
💕
#Kitten #KittenReleases #SmallWeb #SmallTech #web #dev #typeSafety #JavaScript #JS #nodeJS
🥳 New Kitten¹ Release
• Adds `rawBody` to non-multipart POST requests.
This property, which is a Buffer, is necessary if you want to verify signatures (e.g., for webhooks).
I had to fork express-busboy as they already ruled out adding it. The fork (@small-web/kitten-busboy²) also allowed me to type the middleware extension point for Polka³ instead of Express (Kitten uses Polka) so that’s one @ts-ignore removed (hey, dev is a string of little wins) :)
Change log: codeberg.org/kitten/app/src/br…
Caught a bug and feeling a little under the weather at the moment (nothing major, mom and dad – no need to worry) so apologies if I’m not responsive here.
Enjoy!
💕
¹ kitten.small-web.org
² codeberg.org/kitten/busboy
³ github.com/lukeed/polka
#Kitten #SmallWeb #KittenReleases #busboy #polka #express #bodyParsing #middleware #NodeJS #web #dev
