@tdxvolt/volt-utility
v0.20.10
Published
utility functions for tdx Volt
Readme
@tdxvolt/volt-utility
A lightweight TypeScript utility library for tdx Volt applications. Works in both web and Node.js environments.
Installation
npm install @tdxvolt/volt-utilityUsage
Full Package Import (Legacy)
Import the entire package (larger bundle size):
import { generateId, createLogger, AgentPoolProjection } from '@tdxvolt/volt-utility';Granular Imports (Recommended)
Import only what you need for smaller bundle sizes:
// Import only utility functions
import { generateId, formatTimestamp } from '@tdxvolt/volt-utility/utility';
// Import only agent pool projection
import { AgentPoolProjection } from '@tdxvolt/volt-utility/agent-pool';
// Import only constants
import { constant } from '@tdxvolt/volt-utility/constants';Development
Setup
npm installBuild
npm run buildDevelopment mode
npm run devType checking
npm run type-checkLicense
AGPL-3.0
