Registry / testing / tinylicious

tinylicious

JSON →
library7.0.1jsnpmunverified

Tinylicious is a minimal, in-memory reference implementation of the Fluid Framework routerlicious service, intended for local development, testing, and debugging. Version 7.0.1 targets Node >=14 and ships TypeScript types. It provides a lightweight alternative to running a full Azure Fluid Relay or Routerlicious server, with no external dependencies beyond Node.js. Ideal for developers building Fluid Framework applications who need a quick local server without cloud infrastructure. Note that Tinylicious is not production-ready and lacks persistence, scaling, or security features.

testing
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

This package is ESM-only starting from v2.

import { TinyliciousServer } from 'tinylicious';

ITestFluidDataStore is a type; use import type for better tree-shaking and ESM compatibility.

import type { ITestFluidDataStore } from 'tinylicious';

TinyliciousClient is a named export, not the default export (there is no default export).

import { TinyliciousClient } from 'tinylicious';

Starts a local Tinylicious server on the specified port (default 7070) using ESM imports.

import { TinyliciousServer } from 'tinylicious'; const server = new TinyliciousServer({ port: parseInt(process.env.PORT ?? '7070'), }); await server.start(); console.log(`Tinylicious server running on port ${server.port}`); // stop the server later if needed: // await server.close();
Debug
Known footguns
gotchaTinylicious stores all data in memory; restarting the server loses all state.
breakingIn version 2.0.0, Tinylicious switched from CommonJS to ESM only. require() usage will fail.
breakingIn version 7.0.0, TinyliciousServer constructor signature changed: options object now requires explicit port as number.
gotchaTinylicious is not intended for production; it lacks authentication, authorization, and persistence.
deprecatedITestFluidDataStore type is deprecated and will be removed in v8. Use a custom Fluid object or FluidClient instead.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
8 hits · last 30 days
gptbot
3
ahrefsbot
2
Resources