@dashkite/drn-sky
v0.8.34
Published
DRN API For Sky Environments
Readme
DRN Sky
Sky-specific resolvers and storage utilities for Dynamic Resource Names.
DRN Sky extends the core DRN system with support for Sky cloud resources, including S3 buckets, Lambdas, Graphene databases, and custom domains. For selected resource types, DRN Sky provides a storage interface for writing and removing additional environment-specific configuration data associated with DRNs locally.
For example, storing local environment configuration for a Graphene-backed DRN:
import { store } from "@dashkite/drn-sky"
await store "drn:graphene:db/my-app/my-db", { address: "abc123" }Features
- Cloud Resource Resolvers: Built-in support for
s3,lambda,graphene,domain,origin, andurl. - Environment Management: Easily manage local environment data using the
storeandremovefunctions. - Transparent Integration: Automatically registers all Sky resolvers upon import.
Installation
Use your favorite package manager to install:
pnpm add @dashkite/drn-skyUsage
DRN Sky is a preset for @dashkite/drn that includes additional storage methods and cloud-aware resolvers.
import { resolve, store, remove } from "@dashkite/drn-sky"
# Resolve a cloud resource
bucket = await resolve "drn:s3:my-bucket"
# Store data
await store "drn:graphene:db/my-app/my-db", { address: "abc123" }
# Remove a resource
await remove "drn:graphene:db/my-app/my-db"Other Resources
- Reference: API documentation for storage and cloud-specific resolvers.
- Recipes: Patterns for cloud resource management and storage.
Status
This software is currently in active development and is not yet suitable for production use. Please report bugs or request features via the repository's issue tracker.
