Fake Mirrors
    Preparing search index...

    Module @famir/common

    @famir/common

    Shared utilities and helpers for the famir ecosystem.

    • Lightweight DI container with singleton and transient support
    • Base error class with context support
    • URL-safe Base64 encoding/decoding
    • AES-256-GCM encryption/decryption with compression
    • Cryptographically secure random ID and name generation
    • Type-safe array checking
    • Serializing Error objects to JSON
    npm install @famir/common
    
    CommonError
    DIContainer
    CommonErrorOptions
    DIComposer
    DIFactory
    DIToken
    ErrorContext
    arrayIncludes
    decrypt
    encrypt
    randomIdent
    randomName
    safeBase64Decode
    safeBase64Encode
    serializeError