How to import a cdnjs module

So I am running Cindy.js on the web server, in this file, I need to use papaparse. So in the index.html, I have
<script type="text/javascript" src=https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.0.0/papaparse.min.js> </script>
and
<script type='module' src='./Cindy.js'></script> .
In Cindy.js, I have
import * as Papa from 'https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.0.0/papaparse.min.js';
The error I got was

silly me! no need to import at all. just call Papa directly.

Hey @Xinzhu-Fang,

Sorry for the late reply, been rather busy! Glad to see you resolved the issue you were facing yourself.

Please do let us know if there is anything else cdnjs related or otherwise that we can help you with :slight_smile: