Next-Generation TypeScript SDK for Time Series
Type-safe queries for AWS Timestream, TimescaleDB & InfluxDB. Catch sensor errors at compile-time. Built for industrial IoT.
Open source • MIT License •
TypeScript compile-time checking plus Zod runtime validation. Catch invalid sensor data at compile-time, not in production.
Unified API for AWS Timestream, TimescaleDB, and InfluxDB. Write once, deploy anywhere. No vendor lock-in.
Native protocol adapters for OPC UA, Modbus, DNP3, and MQTT. Built for manufacturing, robotics, and critical infrastructure.
Intuitive SDK with full IDE autocomplete and type inference. Queries feel natural, refactoring is safe.
Built-in windowing, aggregations, interpolation, and downsampling. Purpose-built for IoT, metrics, and analytics.
Query historical and streaming data seamlessly. Live query subscriptions for real-time dashboards.
Time series databases lack type safety, leading to runtime errors in production. Sensor data can be invalid, protocol parsing can fail, and network issues corrupt data—all silently slipping into your database.
TypedChrono brings the strongest type-safety guarantees to time series data. Full TypeScript integration with compile-time checking plus Zod-powered runtime validation. Catch sensor errors before they break your IoT system.
Inspired by Prisma's developer experience, TypedChrono provides type-safe queries, real-time subscriptions, and an intuitive SDK—but purpose-built for time series databases. Multi-backend support means write once, deploy on AWS Timestream, TimescaleDB, or InfluxDB. No vendor lock-in.
TypedChrono provides type-safe connectors for industrial automation systems. Write once, catch errors at compile time.
import { Chronotype } from 'typedchrono'
import { PLCAdapter } from 'typedchrono/adapters'
const db = new Chronotype({
endpoint: 'localhost:8086'
})
const plc = new PLCAdapter({
host: '192.168.1.100',
tags: {
temperature: 'Real',
pressure: 'Real',
flowRate: 'Real',
status: 'Boolean'
}
})
// Type-safe data ingestion
plc.onData(async (data) => {
await db.write({
measurement: 'production_line_1',
tags: {
location: 'zone_a',
equipment: 'reactor_1'
},
fields: {
temperature: data.temperature,
pressure: data.pressure,
flowRate: data.flowRate,
status: data.status
},
timestamp: new Date()
})
})Check out our interactive robot dashboard demo that simulates real-time telemetry data, similar to what you'd see in an Ignition SCADA system.
Launch Live Dashboard DemoTypedChrono provides native integration with popular SCADA/HMI platforms through real-time subscriptions and REST APIs:
Ignition by Inductive Automation
Other Platforms
Dashboard Components
Performance
Storing robot telemetry in a time series database enables advanced analytics and predictive maintenance:
Performance Analysis
Predictive Maintenance
Quality Control
Safety & Compliance
TypeScript provides compile-time safety, but industrial sensors can fail, networks can corrupt data, and protocols can misbehave. Chronotype uses Zod-powered validation to ensure data quality at runtime:
Handle millions of data points per second from industrial equipment
OPC UA, Modbus, MQTT, DNP3, and more out of the box
Run on edge gateways with local buffering and sync
Type-safe threshold monitoring and anomaly detection
TypedChrono provides application-level security that complements your existing network infrastructure and security practices.
TypedChrono provides application-level security but does NOT replace proper network architecture:
Chronotype Provides:
You Must Still Implement:
Best Practice: Deploy Chronotype behind your corporate firewall, use network segmentation to isolate OT (Operational Technology) from IT networks, implement jump hosts for administrative access, and follow IEC 62443 or NIST guidelines for industrial control system security. Chronotype complements these practices by securing access at the application layer.
TypedChrono is part of a complete industrial data platform that takes you from raw sensor data to actionable business insights with full type safety at every layer.
Layer 1: Time Series Data
Collect and store raw sensor data from PLCs, OPC UA servers, Modbus devices, MQTT sensors, and industrial robots with compile-time and runtime type safety.
Layer 2: ISA-95 Contextualization
Transform raw sensor data into structured manufacturing context using ISA-95 hierarchy (Enterprise → Site → Area → Line → Equipment → Sensor).
Layer 3: Business State
Aggregate contextualized data into business metrics, KPIs, and operational intelligence for decision-making and continuous improvement.
Raw Sensor Data
Temperature: 72.5°F
Pressure: 14.7 PSI
Timestamp: 2025-01-14T10:30:45Z
Contextualized Data
Enterprise: Acme Corp
Site: Plant #3 → Line A → Reactor 2
Batch ID: BATCH-2025-001
Business Metrics
OEE: 87.3%
Throughput: 450 units/hr
Cost per Unit: $12.45
Type Safety at Every Layer
Compile-time validation prevents errors from propagating through your industrial data pipeline.
ISA-95 Standard Compliance
Industry-standard hierarchy ensures your data model aligns with manufacturing best practices.
Business Insight Generation
Transform raw sensor readings into actionable KPIs and OEE metrics that drive decisions.
Real-Time to Historical
Query live sensor data alongside historical trends and business analytics in one platform.
Start with TypedChrono for time series data, then add TypedContext and TypedCore as your needs grow.
Proof of concept hardware for rapid prototyping and testing with real sensor data
$299 USD
Complete hardware solution for connecting industrial sensors to Chronotype via OPC UA. Perfect for testing, prototyping, and small-scale deployments.
┌─────────────────────────┐ │ TypedChrono Edge Gateway │ │ Raspberry Pi 4 │ ├─────────────────────────┤ │ │ │ ┌──────────┐ │ │ │ OPC UA │◄─────────┼── Chronotype │ │ Client │ LAN │ Server │ └────┬─────┘ │ │ │ │ │ ┌────▼────────┐ │ │ │ I2C Bus │ │ │ └─┬──┬──┬──┬──┘ │ │ │ │ │ │ │ │ Temp │ │ ADC │ │ Accel│ Power │ │ Humidity │ │ │ │ Relay × 2 │ │ Digital I/O × 4 │ │ RTC + Battery │ └─────────────────────────┘
Deploy TypedChrono in the cloud for rapid scaling or on-premise for complete control
Fully managed, serverless deployment on Vercel with automatic scaling and zero maintenance.
Self-hosted deployment with complete control over data, security, and infrastructure.
TypedChrono provides a type-safe SDK layer for time series databases like InfluxDB, TimescaleDB, and AWS Timestream, bringing modern TypeScript developer experience to proven time series engines.
| Feature | Chronotype | InfluxDB |
|---|---|---|
| Type Safety | ✓Full TypeScript + Zod runtime validation | Limited type safety, runtime validation only |
| Query Language | ✓Type-safe query builder with autocomplete | Flux/InfluxQL (string-based queries) |
| Industrial Protocols | ✓OPC UA, Modbus, DNP3, MQTT adapters included | Telegraf plugins available separately |
| SCADA Integration | ✓Native Ignition, Grafana support with examples | ✓Good Grafana integration |
| Edge Gateway Hardware | ✓Raspberry Pi gateway with sensors ($299) | DIY or third-party solutions |
| On-Premise Deployment | ✓Docker Compose stack with Keycloak SSO | ✓Enterprise self-hosted option |
| Backend Options | ✓AWS Timestream, TimescaleDB, InfluxDB support | InfluxDB-specific TSM storage engine |
| Security & Compliance | ✓IEC 62443, NERC CIP, HIPAA, SOC 2 | ✓Enterprise security features |
| License | ✓Open source (MIT) | Open source with commercial features |
| Developer Experience | ✓TypeScript-first SDK, IDE autocomplete | Multiple language clients, string-based |
| Scalability | Cloud-native, serverless scaling | ✓Highly scalable clustering |
| Learning Curve | ✓Familiar TypeScript patterns | Custom query language to learn |
Join the growing community of developers building type-safe time series applications with TypedChrono. Start collecting and analyzing your industrial data today.
Need help getting started? Check out our or tutorials