[ACCEPTED]-TypeError: object is not a function when using csv module-csv

Accepted answer
Score: 11

Its not clear where you got your sample 7 code, but it is probably no longer valid 6 - a new version of the module (0.4) was released 5 recently with a very different API. You 4 can either check out the new documentation 3 at the project's GitHub page or install an older version by:

npm remove csv
npm install csv@0.3.7

0.3.7 has 2 the API you appear to be working against, but 1 you can of course go farther back if necessary.

More Related questions