hjson-js
ytt
hjson-js | ytt | |
---|---|---|
9 | 14 | |
405 | 1,592 | |
0.7% | 1.2% | |
0.0 | 7.0 | |
3 months ago | 18 days ago | |
JavaScript | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hjson-js
-
[OC] No comments
By the way.. if you use the hjson parser you can add comments to json files :) https://hjson.github.io/
- YAML vs. JSON
-
In a symfony interview I got asked "but why json? XML is better"
I wish this took off https://hjson.github.io. I like it much more than yaml.
-
policy generator?
I don't know anything about VueJS either but HJSON is pretty cool in that regard https://hjson.github.io/
-
Keeping documentation in sync with source code
> Another difficult problem was checking for correct indentation visually (because the configuration is YAML-based and indentation matters).
why yaml? I hate it so much! my eyes hurt looking at it?
why not using https://hjson.github.io/ ?
-
JSON5 Data Interchange Format
HJSON [0] is also another format that tries to make it easier for humans to read / write json.
[0] https://hjson.github.io/
-
YAML and Configuration Files
well there are json alternatives which fit this bill, such as HJSON.
https://hjson.github.io/
might not be as "common" but it has good implementations for many languages.
-
zdpack - A tool for merging and converting Minecraft data and resource packs.
zdpack also pre-processes datapacks, allowing json files to be written in hjson or yaml, in addition to allowing a special extensible super-set of MCFunction I call CommandScript. You can check the github page for a quick overview of CommandScript.
- The Goals of XML at 25: and the one change that XML now needs
ytt
-
10 Ways for Kubernetes Declarative Configuration Management
YTT - YTT is a templating tool that understands YAML structure. It helps you easily configure complex software via reusable templates and user provided values using the Starlark language.
-
Alternatives to Helm/Kustomize for complex Kubernetes Deployments
Adding https://carvel.dev/ytt/ to the list. I was happy using this tool as IMO it mixes good things from Helm and Kustomize, however the syntax is ugly and repelling my colleagues to have a closer look.
-
The YAML Document from Hell
> Templating yaml is a terrible, terrible idea
I've had a good time using ytt: https://carvel.dev/ytt/. It implements language-aware templating, which is IMO the only reasonable way to do it.
-
Creating Kubernetes Templates
`ytt` is part of the Carvel toolchain. https://carvel.dev/ytt/
-
Dealing with YAML overload
I agree with you on `you will want to see just plain texts instead of a bunch of templating token with hidden logic.` Which is why I think https://carvel.dev/ytt/ would be great. We could generate these templates in pipelines, or we could just make it easier to maintain what we have.
-
How to handle the lifecycle of multiple COTS
For more advanced configuration management you might be interested in ytt ( https://carvel.dev/ytt/ ) which is a "yaml-aware" templating tool. it lets you do "patches" via an overlay mechanism to add or remove specific yaml blocks, and it also lets you use a simplified python dialect for more complicated logic. With ytt you would put your DNS IP into a "data values" file and then run ytt to render it into the configs before handing them off to the deployment tool. e.g. `ytt -f | kubectl apply`
-
The Dhall Configuration Language
I said this above as well: ytt (https://carvel.dev/ytt/) lets you embed starlark into valid yaml, among other cute tricks for managing biz-logic in configs.
-
ArgoCD Instance per kubernetes cluster? (staging and prod)
Manifests are generated with ytt (https://carvel.dev/ytt/).
- Dynamically creating yaml manifests?
-
YAML and Configuration Files
This is why you should consider https://carvel.dev/ytt/
What are some alternatives?
Lowdb - Simple and fast JSON database
kustomize - Customization of kubernetes YAML configurations
json5 - JSON5 — JSON for Humans
cue - CUE has moved to https://github.com/cue-lang/cue
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
tanka - Flexible, reusable and concise configuration for Kubernetes
NeDB - The JavaScript Database, for Node.js, nw.js, electron and the browser
strictyaml - Type-safe YAML parser and validator.
buckets - A complete, fully tested and documented data structure library written in pure JavaScript.
hull - The incredible HULL - Helm Uniform Layer Library - is a Helm library chart to improve Helm chart based workflows
schemapack - Create a schema object to encode/decode your JSON in to a compact byte buffer with no overhead.
yaml-rust - A pure rust YAML implementation.