Orchestrate Reality with Digital Arcana
The open-source bridge between Jsonnet's declarative power and the Node.js ecosystem.
$ npm init spellcraft
local aws = import '@c6fc/aws/module.libsonnet';
{
'identity.json': aws.getCallerIdentity(),
'bucket.json': {
Region: std.native('envvar')('AWS_REGION'),
ACL: 'private'
}
}
The Triad of Power
Master the forces of configuration management through our core architectural principles.
Declarative Power
Define logic once. Reuse everywhere via Jsonnet inheritance. Configurations that are immutable, hermetic, and scalable.
Native Resolution
Modules are just NPM packages. No custom registries. Use any library directly within your configuration logic.
Scoped Extensibility
Namespaced JS functions ensure dependencies never clash, even with multiple versions of the same library.
local aws = import '@c6fc/aws/module.libsonnet';
// Define AWS-native resources
{
'identity.json': aws.getCallerIdentity(),
'bucket.json': {
BucketName: 'spellcraft-artifacts',
Region: std.native('envvar')('AWS_REGION') || 'us-east-1',
},
}
$ npx spellcraft generate manifest.jsonnet
[+] Evaluating Jsonnet file...
[+] Writing files to: render
-> identity.json
-> bucket.json
[+] Generation complete.
A Unified Ecosystem
Spellcraft isn't an island. It's the central nexus for all your favorite providers and cloud services.
AWS Core
Native SDK integration for Identity, Lambda, and S3 authentication.
Create Your Own Spell
Use npm init spellcraft-module to scaffold a new
plugin with native JS functions in minutes.
Ready to Master the Arcane?
Join the growing community of architects weaving unified configuration logic.