cdk8s-config
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

cdk8s-config

Add configuration 🛠 features to your cdk8s project.

GitHub version npm version

Overview 👀

# my-config.yaml 
# -------------- 
 
my-key:
  key1: value1
// index.ts
// --------
 
import Config from 'cdk8s-config';
 
const CONFIG = await Config.fromFile('<path to your config yaml>');
const data = CONFIG.get();
 
// data = { 'my-key': { 'key1': 'value1' } }

Installation 💻

$ npm i cdk8s-config

or

$ yarn add cdk8s-config

Documentation 📖

Check out the full documentation here: https://kumboleijo.github.io/cdk8s-config/

Run the Examples 🏃🏽‍♀️

$ npx ts-node ./examples/1-basic/

Readme

Keywords

Package Sidebar

Install

npm i cdk8s-config

Weekly Downloads

3

Version

0.0.9

License

MIT

Unpacked Size

13.6 kB

Total Files

4

Last publish

Collaborators

  • kumboleijo