A simple but flexible html template tagging function. Handles arrays, promises, and custom value encoding.
published 2.6.2 2 years agoUse switch statements with a custom comparison expression. Goodbye `switch(true)`!
published 1.0.0 4 years agoCreates a webserver for development or production. Bring your own application!
published 1.1.0 4 years agoRoute http requests to different handler functions based on hostname of the incomming request
published 1.0.0 3 years agoA plain and simple migraton library for migrating anything you want.
published 1.0.1 3 years agoFunctions for authenticating a user against a Mastodon API; server discovery, client registration, token exchange, and user info fetching.
published 1.1.1 3 years agoA template tag function for building and immediately executing SQL statements. Works with any database library - you provide your own execution function. Uses sql-template-tag under the hood.
published 1.0.1 3 years agoSmall library for reading and writing objects to http requests and responses.
published 1.0.1 3 years agoPremade HTML templates for kickstarting a new web application. Uses `encode-html-template-tag` under the hood.
published 1.5.0 3 years agoExecute SQL statements against an sqlite3 database.
published 1.0.1 3 years agoLittle library to generate an HTML form and parse the request it submits. Based on html-encode-template-tag.
published 1.1.0 3 years agoTag your templates but defer the choice of tag function until a later date.
published 1.1.0 3 years agoHelpers for generating html template without dictating which template tag function to use.
published 1.0.0 3 years agoA simple library for authenticating against mastodon.
published 1.1.0 3 years agoMethods for checking passwords against phpass or argon2 hashes, and upgrading then to argon2 where needed.
published 1.0.0 3 years agoMigrate anything and store the migration status in your database, using knex as the database client.
published 1.0.0 3 years agoLittle wrapper library for creating an instance of knex for an sqlite3 database.
published 2.0.1 2 years agoMastodon authentication integrated with knex storage
published 1.0.1 3 years agoWouldn't it be nice to be able to use OPTIONS or DELETE methods in the browser?
published 1.0.0 3 years agoA class for running an (async or sync) iterator on the current event loop, with methods for starting and stopping its execution.
published 1.0.0 3 years agoThe AbstractMessageQueue attempts to define a common interface for interacting with message queues. By depending on this interface instead of any particular queue implementation, application code can remain flexible for different environments with differe
published 1.0.0 3 years agoAn async message queue that lives in NodeJS's memory. Good for simulating queues in development environments. You may wish to use in combination with [iterator-worker](https://www.npmjs.com/package/iterator-worker).
published 1.0.1 3 years agoAn implementation of [abstract-message-queue](https://www.npmjs.com/package/abstract-message-queue) for a [RabbitMQ](https://www.rabbitmq.com/) backend.
published 1.1.0 3 years agoCreate an instance of [JsonLd](https://npmjs.com/package/jsonld) with a context cache and custom fetch.
published 0.0.0 3 years agoA library that generates a handler for webfinger requests. The created handler works with Node JS HTTP request and response objects, and is otherwise framework agnostic.
published 2.0.1 4 months ago