Skip to content
/ glaml Public

WIP - A Gleam wrapper around yamerl that enables your app to read YAML.

License

Notifications You must be signed in to change notification settings

katekyy/glaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glaml

Package Version Hex Docs

Glaml is a simple Gleam wrapper around yamerl that enables your app to read YAML.

import glaml

// ...

let assert Ok(doc) = glaml.parse_string("
test: 4
this-is-nil:
jobs:
  - being a cat
")

glaml.sugar(glaml.doc_node(doc), "jobs.#0")
// -> Ok(DocNodeStr("being a cat"))

Further documentation can be found at https://hexdocs.pm/glaml.

Instalation

You can add glaml to your project by simply running the command below.

gleam add glaml

Development

./develop.sh # Copy Erlang headers (for lsp)
gleam test   # Run the tests

About

WIP - A Gleam wrapper around yamerl that enables your app to read YAML.

Resources

License

Stars

Watchers

Forks

Packages

No packages published