mholt / PapaParse

Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
http://PapaParse.com
MIT License
12.47k stars 1.14k forks source link

PapaParse with stimulus.js #1009

Closed troptropcontent closed 1 year ago

troptropcontent commented 1 year ago

Hello :)

I am trying to use the library for my Rails 7 app, i am not using npm, i am using importmaps

In my javascript file i have the following line :

import Papa from 'https://unpkg.com/papaparse@5.4.1/papaparse.min.js';

But in my browser console i have the follwowing error :

The requested module 'https://unpkg.com/papaparse@5.4.1/papaparse.min.js' does not provide an export named 'default'

I am pretty new with javascript so i do not understand much about anything 🤔

Any idea about how i can have this working ? 🤔

Thank you so much Tom

pokoli commented 1 year ago

Sorry but we do not porvide user support on github, please use Stack Overflow for that. This issue tracker is just for reporting issues with the library.

Thanks for the compression!