
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
@syntropylog/types
Advanced tools
Shared types for the SyntropyLog ecosystem.
New in this version:
This package contains the fundamental types used across the SyntropyLog ecosystem. These types are designed to be shared between the main library and future modules like adapters and serializers.
npm install @syntropylog/types
import {
JsonValue,
LogMetadata,
ILogger,
IContextManager,
RedisValue
} from '@syntropylog/types';
// Use types in your implementations
const metadata: LogMetadata = {
userId: '123',
operation: 'create',
timestamp: Date.now()
};
// Implement interfaces
class MyLogger implements ILogger {
// Implementation...
}
JsonValue
- Any value that can be safely serialized to JSONSerializableData
- Union type for all data types that can be serializedLogMetadata
- Type for log metadata objectsLogBindings
- Type for log bindings attached to logger instancesLogRetentionRules
- Type for retention rulesLogFormatArg
- Type for format argumentsLogArguments
- Type for logging method argumentsILogger
- Base interface for logger implementationsContextValue
- Type for values that can be stored in contextContextData
- Type for context data structureContextConfig
- Type for context configuration optionsIContextManager
- Base interface for context manager implementationsRedisValue
- Type for Redis valuesRedisListElement
- Type for Redis list elementsRedisSetMember
- Type for Redis set membersRedisSortedSetMember
- Type for Redis sorted set membersRedisHashValue
- Type for Redis hash field valuesRedisCommandOptions
- Type for Redis command optionsSerializedData
- Type for serialization result dataSerializationContextConfig
- Type for serialization context configurationSanitizationConfig
- Type for sanitization configurationSerializationPipelineContext
- Type for pipeline contextSerializationResult
- Type for serialization resultSerializationMetadata
- Type for serialization metadataSerializationMetrics
- Type for serialization metricsComplexityDistribution
- Type for complexity distribution metricsSerializerDistribution
- Type for serializer distribution metricsTimeoutStrategyDistribution
- Type for timeout strategy distribution metricsLogEntry
- Type for log entry structureLoggerOptions
- Type for logger optionsLoggerDependencies
- Type for logger dependencies# Build the package
npm run build
# Clean build artifacts
npm run clean
MIT
FAQs
Shared types for SyntropyLog ecosystem
The npm package @syntropylog/types receives a total of 5 weekly downloads. As such, @syntropylog/types popularity was classified as not popular.
We found that @syntropylog/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.