A collection of utility packages for building Metorial. Each package is designed to be lightweight, focused, and easy to use.
@lowerdeck/base62- Base62 encoding and decoding@lowerdeck/murmur3- MurmurHash 3.0 implementation@lowerdeck/hash- Cryptographic hash functions@lowerdeck/canonicalize- RFC 8785 JSON canonicalization@lowerdeck/serialize- Enhanced serialization with SuperJSON
@lowerdeck/case- String case conversion utilities@lowerdeck/slugify- URL-friendly slug generation@lowerdeck/normalize-email- Email address normalization
@lowerdeck/unique- Remove duplicate values from arrays@lowerdeck/flatten- Flatten nested objects and arrays@lowerdeck/merge- Deep merge objects recursively
@lowerdeck/random-number- Generate random integers@lowerdeck/random-from-array- Pick random array elements@lowerdeck/id- Generate various types of unique IDs@lowerdeck/shadow-id- Consistent shadow ID generation
@lowerdeck/delay- Promise-based delay utility@lowerdeck/once- Ensure function runs only once@lowerdeck/memo- Memoization decorator@lowerdeck/programmable-promise- Externally controllable promises
@lowerdeck/emitter- Type-safe event emitter@lowerdeck/proxy- Method interception and routing
@lowerdeck/sign- HMAC signing and verification@lowerdeck/tokens- Signed token creation and verification@lowerdeck/jwt- JWT signing and verification@lowerdeck/encryption- Entity-specific secret encryption and decryption@lowerdeck/api-key- Structured API key generation and parsing
@lowerdeck/forwarded-for- Extract client IP from headers@lowerdeck/anonymize-ip- IP address masking for privacy@lowerdeck/ip-info- Geolocation information for IPs@lowerdeck/websocket-client- Auto-reconnecting WebSocket client@lowerdeck/joinPaths- URL path and query string joining
@lowerdeck/hono- Hono web app with Metorial defaults@lowerdeck/error- Type-safe error handling@lowerdeck/api-mux- Route multiplexer for API endpoints@lowerdeck/rpc-server- Type-safe RPC server@lowerdeck/rpc-client- Type-safe RPC client
@lowerdeck/validation- Comprehensive validation framework@lowerdeck/env- Type-safe environment variable validation
@lowerdeck/timezone- Timezone information database
@lowerdeck/presenter- Type-safe API response transformation@lowerdeck/pagination- Cursor-based pagination utilities
@lowerdeck/service- Base class for services@lowerdeck/redis- Redis client with auto-reconnection@lowerdeck/lock- Distributed locking with Redlock@lowerdeck/queue- Job queue with BullMQ and Redis@lowerdeck/cron- Distributed cron job scheduler@lowerdeck/execution-context- Request and job context tracking@lowerdeck/sentry- Sentry instance management
This project is licensed under the Apache License 2.0.
Built with ❤️ by Metorial