Build intelligent configurations for Node.js applications. Query APIs, cache results, and optimize performance directly from your config files.
Stop wrestling with static JSON configs. Build configs that work with your Node.js applications.
Query APIs, cache results, and execute JavaScript code directly from configuration files using powerful @ operators.
Native MongoDB and SQL support with Mongoose and Prisma integration. Query your database directly from config files.
Intelligent caching with Redis and memory support. Cache expensive operations and optimize performance automatically.
Drop-in integration for Express, React, Next.js, and other JavaScript frameworks. Middleware and hooks included.
Development-friendly hot reloading. Changes to config files automatically update your Node.js application without restarts.
Built-in Jest support with test helpers and mocking utilities for testing configurations and @ operators.
Traditional JSON configs are static objects. TuskLang configs are intelligent, pulling live data and optimizing automatically.
# Smart Node.js Configuration
app_name: "MyNodeApp"
port: @env("PORT", 3000)
# Database with live user count
database {
host: @env("DB_HOST", "localhost")
max_connections: @query("SELECT COUNT(*) FROM users") > 1000 ? 100 : 50
}
# API with intelligent caching
api {
rate_limit: @learn("optimal_rate_limit", 100)
cache_ttl: @optimize("cache_duration", "5m")
}
# Features based on environment
features: @env("NODE_ENV") === "production" ?
["analytics", "monitoring"] :
["debug", "hot-reload"]
Works seamlessly with your favorite JavaScript tools and frameworks
Middleware integration
Build-time configuration
SSR and SSG support
Native ES6+ support
Testing utilities
Bundle optimization
Install TuskLang for JavaScript and start building intelligent configurations