nodejs

Tags 1 follower

Follow from the Fediverse

Follow #nodejs from Mastodon or any other Fediverse app and its public posts arrive in your timeline. No vutuv account needed.

@nodejs@tags.vutuv.de

Your address is used once, to send you to your own server's follow dialog. It is never stored here.

Also known as

node js

The most endorsed users with this tag

Posts with this tag

7 posts

Filters
Aral Balkan @aral mastodon.ar.al

🥳 New Kitten web site release!

The Kitten web site now has full-text search.

kitten.small-web.org

Written, of course, in Kitten.

The index is created lazily on the server in ~0.3 seconds (on my machine) the first time a route is requested after a server restart.

During dev, it’s fast enough that you don’t feel it during hot reloads :)

For the geeks among you, the search features Porter stemming (via the stemmer package), prefix matching on the last query term (which you can see in action in the screenshot), Damerau–Levenshtein distance (so we’re forgiving of little typos), as well as a few code-related optimisations like decomposing camelCase compounds (so WebSocket also matches “web” and ”socket”), etc.

(Oh yeah, and it uses the nifty new baseline URL text fragments feature¹ to have the browser take you straight to the search term in the body of the text.)

Enjoy!

💕

¹ developer.mozilla.org/en-US/…

SmallWeb SmallTech Kitten web dev
+5 Less NodeJS JavaScript HTML CSS peerToPeerWeb
Screenshot of the new full-text search bar in Kitten showing 60 results for “streaming ht” with “Streaming HTML” as well “HTML” highlighted in the responses, the top two being the Streaming HTML tutorial and the Streaming HTML section under Reference > HTML.
Aral Balkan @aral mastodon.ar.al

🥳 New Kitten release!

• Event routing within nested components is now more intuitive and logical.

e.g., a button on a form that was written into the slot of a layout component by a page. In this case, the event is routed to the page first, since the form was written into the slot by the page, whereas, previously, it would have been routed to the layout component.

Also, if the initial target doesn’t implement a handler for it, the event is now also delivered to the component around the element (in this case, the layout) and any other ancestors it might have.

• Components that update() themselves now retain the props and slot content from their last render. Again, this just means they work as they should now.

• Markdown pages now get linked anchor headings by default and you can turn the feature on for your own Markdown blocks in JavaScript pages by including the new headling-links attribute in your <markdown> tags in Kitten’s tagged template strings. e.g., kitten.html<markdown heading-links>…</markdown>

• New preserve attribute lets DOM elements opt out of morphs (e.g., when you want to retain the text entered into a text-field while morphing the rest of the page using Kitten’s Streaming HTML workflow).

• Miscellaneous bug fixes and improvements.

See the change log for the full list of changes including illustrative code samples:

codeberg.org/kitten/…

Also, I’ve reworked the Reference section of the Kitten web site so it’s no longer just one big dump of information. It’s now split into multiple pages, organised by section, and includes much nicer internal navigation:

kitten.small-web.org/reference

You can install and play with Kitten from the Kitten web site:

kitten.small-web.org

Enjoy!

💕

Aral Balkan @aral mastodon.ar.al

🥳 New Kitten Release

kitten.small-web.org

• Node.js runtime upgraded from version 24.2.1 to 24.2.2.
• A cosmetic simplification of the update history in Kitten Settings (the page no longer reproduces change log entries, choosing instead to link to them).

Full change log: codeberg.org/kitten/…

Enjoy!

(Deployed servers will automatically update at their next check interval. You can update manually from Kitten Settings or by running the kitten update command.)

💕

Kitten SmallWeb SmallTech kittenRelease web
+4 Less dev NodeJS JavaScript peetToPeerWeb

Keyboard shortcuts

Navigation

Home g h
Feed g f
Messages g m
Notifications g n
Your profile g p
Search /

Actions

Write a new post n
Send the post or message you are writing ⌘/Ctrl ↵
Next post in the feed j
Previous post in the feed k

General

Show this help ?
Close menus and dialogs Esc

The single-key shortcuts pause while you type, and are off on phones and tablets.