bun icon indicating copy to clipboard operation
bun copied to clipboard

Builtin YAML support

Open LiberaTeMetuMortis opened this issue 2 years ago • 3 comments

What is the problem this feature will solve?

Tons of devs are using YAML instead of JSON because it is a easier to configure and it is a lot more readable. But when we try to use it in Bun we had to use external libraries.

What is the feature you are proposing to solve the problem?

Some builtin functions like YAML.parse() and YAML.stringify() would solve this.

What alternatives have you considered?

No response

LiberaTeMetuMortis avatar Aug 06 '22 12:08 LiberaTeMetuMortis

Yes I think bun should do this

Jarred-Sumner avatar Aug 06 '22 15:08 Jarred-Sumner

YAML is fairly complex; would builtin support add a significant amount of storage space utilization?

JL102 avatar Aug 07 '22 22:08 JL102

There are plenty of YAML packages already - will maintaining YAML as part of the platform be worth the effort?

robogeek avatar Aug 26 '22 18:08 robogeek