leeoniya / uDSV

A faster CSV parser in 5KB (min)
MIT License
675 stars 15 forks source link

Unparsing? #7

Open jthrilly opened 11 months ago

jthrilly commented 11 months ago

Sorry for the issue spam (maybe you could open the discussions feature up?) but I was wondering if you have plans for or interest in implementing unparsing (CSV to JS collection). I love the approach you have taken here, but I am looking for a parse/unparse combined solution in my project. I would be happy to try to contribute toward development.

leeoniya commented 11 months ago

hey fellow chicago dweller :)

yeah i think adding unparsing is fine, i kinda figured it would be requested eventually. im thinking something that uses the existing schema for options as much as possible/makes sense.

leeoniya commented 11 months ago

started some unparse work in https://github.com/leeoniya/uDSV/commit/bd533b0559a941c6d7ade83d25c2f72db506b1c8. currently:

not super sure about the API.

https://github.com/leeoniya/uDSV/commit/bd533b0559a941c6d7ade83d25c2f72db506b1c8#diff-4d5318447ff8d96281084320d0aa05527c243618044cede1bfa99881cba4a16d

leeoniya commented 1 week ago

(i've moved this WIP work to the unparse branch)