@runtimevault/shared
v1.0.4
Published
Shared types, constants, masking utilities, and compression helpers for RuntimeVault
Maintainers
Readme
@runtimevault/shared
Shared types, constants, masking utilities, and compression helpers used across the RuntimeVault SDK, adapters, and CLI.
Install
npm install @runtimevault/shared
# or
pnpm add @runtimevault/sharedMost apps should depend on
@runtimevault/coreinstead. This package is primarily for advanced integrations and internal packages.
What's included
- Snapshot schema types
- Privacy masking helpers
- Compression utilities
- Shared constants (
SNAPSHOT_SCHEMA_VERSION, buffer sizes, etc.)
Quick start
import { maskObject, SNAPSHOT_SCHEMA_VERSION } from '@runtimevault/shared';
const safe = maskObject({ password: 'secret', user: 'ada' });
console.log(SNAPSHOT_SCHEMA_VERSION);Links
License
MIT