News for hackers. Stuff that matters.
Re:Show HN: Npm module that makes easy to convert JSON to CSV by dc2 on Thursday June 08, 2017 @03:53PM (#14516712)
For a <5Kb library, I recommend removing the underscore dependency. You should make this as lightweight as possible if you want a lot of adoption.
Re:Show HN: Npm module that makes easy to convert JSON to CSV by stdbrouw on Thursday June 08, 2017 @04:42PM (#14517038)
Converting to CSV is mainly a server-side problem, not something you'd want to do in the browser, so this doesn't really feel like an issue to me.
Re:Show HN: Npm module that makes easy to convert JSON to CSV by kauegimenes on Thursday June 08, 2017 @04:41PM (#14517032)
Thanks for the tip, you are welcome to submit a PR if you want to =)
Re:Show HN: Npm module that makes easy to convert JSON to CSV by d2xdy2 on Thursday June 08, 2017 @05:54PM (#14517473)
Not OP, but I just submitted a PR removing underscore as a dep. :)
Re:Show HN: Npm module that makes easy to convert JSON to CSV by kauegimenes on Thursday June 08, 2017 @05:58PM (#14517491)
Re:Show HN: Npm module that makes easy to convert JSON to CSV by kauegimenes on Thursday June 08, 2017 @07:18PM (#14517937)
This is now avaliable in v2.0.7 =)

Dependencies

None

Re:Show HN: Npm module that makes easy to convert JSON to CSV by JoshGlazebrook on Thursday June 08, 2017 @04:44PM (#14517044)
Yeah this looks like it's only using helper functions like _.isFunction(), _.isNumber(), and _.extend().