Skip to content

eevleevs/align-yaml-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

align-yaml Python version

Format, prettify, align, whatever you want to call it. This does that to YAML. Great for making long config files more readable!

Reformats this:

one: two
three: four
seventeen: five

to this:

one:       two
three:     four
seventeen: five

or this:

one      : two
three    : four
seventeen: five

How to use

Pass a string to align(str). This is important! Read in the YAML as a string, DON'T PARSE IT.

Credits

Translated to Python from https://github.com/jonschlinkert/align-yaml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages