MIDNIGHT CITYLIGHTS
Software

Midnight Citylights develops and maintains a wide range of proprietary software, packages, and experimental frameworks. The entries below represent a curated selection of public releases that form the technical backbone of the studio’s broader work, demonstrating our methods and capabilities in practical production environments.

A software entry may range from full-scale projects and applications to plugins, scripts, utilities, and standalone repositories.

@alexstevovich/existed

An existential dependency.

AcidLog

A persistent logger using SQLite for storing logs with optional retention and max entries limit.

Bit Entropy

Calculates the bit-level entropy of a string or ID space given its cardinality and length.

BotPolice

Detects automated or crawler requests based on User-Agent heuristics. 🚨

capdim

Caps an N-dimensional array to a maximum total volume (the product of its dimensions) while preserving proportions.

Cardinal Power

Returns the total number of possible combinations for a given cardinality and sequence length using BigInt exponentiation.

De-Duplicate Chars

Removes duplicate characters from a string, preserving order.

De-Duplicate Graphemes

Removes duplicate graphemes from a string, preserving order.

DeepFrame

Fully featured, production-grade server back-end.

DiscordChan

Utility for posting messages or JSON payloads to a Discord channel via webhook, with optional dry-run mode for testing.

DomainTote

A domain-level data container for site metadata, Open Graph information, and branding constants.

Express HTML

Middleware for serving HTML content in Express applications.

Express Random

Express middleware to generate entropy via random bytes from Node.js crypto module.

Fastify Refresh

Browser auto-refresh for Fastify, enabling seamless development.

ImageTote

Persistent image metadata registry built on top of scan-image-geom — provides unified storage, retrieval, and counting of image geometry data.

io8

Minimal filesystem I/O helper with UTF-8 defaults.

LIFI

List all relative file paths in a directory, with optional recursive walking.

LinkTote

A link and platform catalog — manages site links, social URLs, and external references.

Lydio

Beautiful, modular, programmatic HTML

Lydio Bubbles

Recursive node transformations for Lydio.

Lydio DOM

Document object scaffold for Lydio.

Lydio Google Tag

Google Analytics gtag integration node for Lydio.

Lydio HTML

Direct HTML element classes for Lydio

Lydio Login Form

Reusable login form node for Lydio.

Lydio MEGALODOM

Complete production grade DOM for Lydio combining HTML, meta, schema, and layout fragments.

Lydio Meta Tags

Metadata and social meta tag generator node for Lydio.

Lydio Molecules

Useful general patterns for Lydio.

Lydio Schema

JSON-LD Schema node for Lydio.

mailchan

Simple and flexible SMTP email sender with dry-run support for testing.

Marle

Placeholder for the Marle project reserving the base package.

Marle HTML

Parses Marle text into html.

Marle JSON

Parses Marle text into a canonical JSON structure.

Matter JSON

Parses and serializes JSON front matter in text documents.

Matter TOML

Parses and serializes TOML front matter in text documents.

Matter YAML

Parses and serializes YAML front matter in text documents.

pandata

A universal data substrate that can be declaratively specialized.

Path to Posix

Convert any filesystem path to POSIX format by replacing platform-specific separators with forward slashes.

Poshify

Sorts your package.json keys poshly.💎

Robots Force 1

A standards-compliant generator for producing robots.txt files.

Scan Image Geom

Scans directories or files for both raster and SVG images — merging geometric metadata such as width, height, aspect ratio, orientation, format, and filesize.

Scan Raster Geom

Scans images within files or directories and extracts geometric metadata — width, height, orientation, aspect ratio, and format.

Scan SVG Geom

Scans SVG files or directories and extracts geometric metadata — width, height, aspect ratio, and orientation, with fallbacks for viewBox parsing.

SchemaTote

A structured registry and loader for JSON-LD schema definitions and metadata entries.

ScriptTote

Unified registry and loader for JavaScript file metadata used across site frameworks.

Sitemap Team 6

A standards-compliant generator for producing sitemap.xml files.

strdir

Aggregates file contents in a directory into a string, with optional recursive walking and extension filtering.

Trim HTTP

Removes the http:// or https:// prefix from a URL string.

warpzone

A simplifier util for FS/IO operations.

WebStandard Robots

A standards-compliant generator for producing robots.txt files.

WebStandard Sitemap

A standards-compliant generator for producing sitemap.xml files.

XML to Tree

A utility for parsing XML strings into a tree structure - safe for fragments and multi-root.