UNPKG

csv-parse

Version:

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

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