Csv-stringify support?

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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.