You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -674,7 +674,14 @@ If a module packager is preferred, just simply `require("csvtojson")`:
674
674
var csv=require("csvtojson");
675
675
676
676
// or with import
677
-
import*ascsvfrom"csvtojson";
677
+
import {csv} from"csvtojson";
678
+
679
+
//then use csv as normal, you'll need to load the CSV first, this example is using Fetch https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
0 commit comments