UNPKG

csv-parse

Version:

CSV parsing implementing the Node.js `stream.Transform` API

8 lines (6 loc) 162 B
const underscore = function (str) { return str.replace(/([A-Z])/g, function (_, match) { return "_" + match.toLowerCase(); }); }; export { underscore };