Skip to main content

Search

Items tagged with: nodejs


Just updated the Kitten reference section on testing Kitten to include instructions on running the new regression and end-to-end tests.

Will only be of interest if you’re hacking on Kitten itself.

kitten.small-web.org/reference…

#Kitten #SmallWeb #web #dev #NodeJS #testing #playwright


Really enjoying adding end-to-end tests to Kitten¹ using Playwright² and my own little Kitten controller class for starting/stopping/otherwise interacting with the Kitten server.

Just wrote some that comprehensively test identity creation and authentication for Small Web places:

codeberg.org/kitten/app/src/br…

Lots more to write but I think I’ve found a good flow :)

:kitten:💕

¹ kitten.small-web.org
² playwright.dev

#Kitten #SmallWeb #Playwright #testing #NodeJS #JavaScript #web #dev


If you’re running a relatively recent version of Node.js – I’m on 22.x for Kitten¹ at the moment– and you use ES Modules (because, of course, you use ES Modules, right, because it’s almost 2025…) and you want to use .js extensions and not have to litter package.json files with "type": "module" all over the place, you can start Node with the following flag and it should Just Work™ ;)

--experimental-default-type

¹ kitten.small-web.org

#NodeJS #ESM #ECMAScript #JavaScript #modules


Today @ 18:30 in Dublin: Come hear me talk about the Small Web and watch me demonstrate the current state of Kitten, Domain, and Place.

meetu.ps/e/Ny9vK/H1WXJ/i

#ireland #dublin #SmallWeb #talk #presentation #web #dev #JavaScript #NodeJS #htmx #WebSockets #StreamingHTML #selfHosting #decentralisation #p2p #cryptography #dubSec #Kitten #Domain #Place #SmallTech


I’m going to present a talk on Small Web at the Dub|Sec meetup this Wednesday (October 30th at 6:30PM). The event takes place at The Camden Court Hotel in Dublin.

Pop by and say hi if you’re around.

meetup.com/dub-sec/events/3038…

#SmalWeb #peerToPeerWeb #Ireland #meetup #dublin #dubsec #Kitten #Domain #Place #NodeJS #HTML #CSS #JavaScript #htmx #WebSockets #web #dev


Quick heads up: I just deprecated @small-tech/tape-with-promises (for adding promise support to Tape 4.x).

npmjs.com/package/@small-tech/…

Tape version 5.x supports promises so my little module is no longer necessary unless you’re stuck on v4.x.

What’s tape? A neat little JavaScript unit testing framework I like:

github.com/tape-testing/tape

Already use tape? Does your test runner need more monkeys and bananas? Try my tap-monkey module:

codeberg.org/small-tech/tap-mo…

🙊🍌

#tape #nodeJS #unitTesting #tapMonkey