Skip to content

fly-apps/litestream-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

litestream-npm

Litestream is a standalone streaming replication tool for SQLite. This npm module provides a means to install the correct litestream binary for your system.

Installation

Install the module using your favorite package manager:

bun add @flydotio/litestream
npm install @flydotio/litestream
pnpm install @flydotio/litestream
yarn add @flydotio/litestream

This gem wraps the standalone executable version of the Litestream utility. These executables are platform specific, so there are actually separate underlying packages per platform, but the correct package will automatically be picked for your platform. Litestream itself doesn't support Windows, so this gem doesn't either.

Supported platforms are:

  • arm64-darwin (macos-arm64)
  • x86_64-darwin (macos-x64)
  • arm64-linux (linux-arm64)
  • x86_64-linux (linux-x64)

Usage

Simply use:

bunx litestream <command> <options>...
npx litestream <command> <options>...

See the litestream reference for a list of available commands.

Development

Install the GitHub CLI. Run npm install.

Prepare packages for release:

npm run package

Current version is 1.0.0. It includes binaries for litestream v0.3.13.

License

The gem is available as open source under the terms of the MIT License.

About

Litestream binaries, packaged as an npm module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published