cruxto
(Paul C)
1
Hi All,
A quick question, Iโve in the documentation a mention of the csv-parse module, does the postman sandbox also support csv-stringify?
Only, Iโm looking for a simple way to convert an array into csv string to be exported.
Thanks in advance.
You canโt use csv-stringify as its an NPM project with dependency.
You can only import modules where the JavaScript function is completely self contained in a minified.js.
As for a simple way. It depends on what your array looks like.
Postman uses JavaScript under the hood, so its more of a JavaScript query.
Quick search on Stack Overflow brings up the following topic which may give you ideas.
How to export JavaScript array info to csv (on client side)? - Stack Overflow
1 Like
system
(system)
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.