A simple but flexible html template tagging function. Handles arrays, promises, and custom value encoding.
published version 2.6.2, 3 years agoUse switch statements with a custom comparison expression. Goodbye `switch(true)`!
published version 1.0.0, 5 years agoCreates a webserver for development or production. Bring your own application!
published version 1.1.0, 5 years agoRoute http requests to different handler functions based on hostname of the incomming request
published version 1.0.0, 5 years agoA plain and simple migraton library for migrating anything you want.
published version 1.0.1, 5 years agoFunctions for authenticating a user against a Mastodon API; server discovery, client registration, token exchange, and user info fetching.
published version 1.1.1, 4 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 version 1.0.1, 4 years agoSmall library for reading and writing objects to http requests and responses.
published version 1.0.1, 4 years agoPremade HTML templates for kickstarting a new web application. Uses `encode-html-template-tag` under the hood.
published version 1.5.0, 4 years agoExecute SQL statements against an sqlite3 database.
published version 1.0.1, 4 years agoLittle library to generate an HTML form and parse the request it submits. Based on html-encode-template-tag.
published version 1.1.0, 4 years agoTag your templates but defer the choice of tag function until a later date.
published version 1.1.0, 4 years agoHelpers for generating html template without dictating which template tag function to use.
published version 1.0.0, 4 years agoA simple library for authenticating against mastodon.
published version 1.1.0, 4 years agoMethods for checking passwords against phpass or argon2 hashes, and upgrading then to argon2 where needed.
published version 1.0.0, 4 years agoMigrate anything and store the migration status in your database, using knex as the database client.
published version 1.0.0, 4 years agoLittle wrapper library for creating an instance of knex for an sqlite3 database.
published version 2.0.1, 3 years agoMastodon authentication integrated with knex storage
published version 1.0.1, 4 years agoWouldn't it be nice to be able to use OPTIONS or DELETE methods in the browser?
published version 1.0.0, 4 years agoA class for running an (async or sync) iterator on the current event loop, with methods for starting and stopping its execution.
published version 1.0.0, 4 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 version 1.0.0, 4 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 version 1.0.1, 4 years agoAn implementation of [abstract-message-queue](https://www.npmjs.com/package/abstract-message-queue) for a [RabbitMQ](https://www.rabbitmq.com/) backend.
published version 1.1.0, 4 years agoCreate an instance of [JsonLd](https://npmjs.com/package/jsonld) with a context cache and custom fetch.
published version 0.0.0, 4 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 version 2.0.1, 2 years ago