Socket
Socket
Sign inDemoInstall

tinylicious

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinylicious

Tiny, test implementation of the routerlicious reference service


Version published
Weekly downloads
2.6K
decreased by-6.35%
Maintainers
2
Weekly downloads
 
Created
Source

tinylicious

Tinylicious is a minimal, self-contained, test implementation of the Fluid Framework service that is much smaller (tinier!) than Routerlicious, our reference implementation of the service.

What is this for?

Tinylicious includes most of the basic features needed to test data stores and containers. While we use the Webpack Fluid Loader's in browser service for much of our data store and container development, Tinylicious offers some advantages because it's a standalone process. For instance, testing a Fluid Container from 2+ simultaneously connected clients can be easier using Tinylicious.

If you're looking for a reference implementation of the Fluid service, don't look here! Go check out Routerlicious.

Getting Started

You can install, build, and start this service by running the following

npm i -g pnpm
pnpm i
npm run build
npm run start

Configuration

Port

Tinylicious uses port 7070 by default. You can change the port number by setting an environment variable named PORT to the desired number. For example:

$env:PORT=6502
npm run start

Storage

The config.json file can be used to configure the Tinylicious service.

ParameterDescriptionDefault
db.inMemoryBoolean indicating whether ops are stored in memory or to disktrue
db.pathIf db.inMemory is false the folder on disk to store the ops"/var/tmp/db"
storageStorage path for snapshots"/var/tmp/tinylicious"

See config.json for more settings and their defaults.

FAQs

Package last updated on 19 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc