First turn your project into an npm one with npm init -y
Next install the package of your choice. In this video I used Luxon
npm install luxon
Then you can add your script type="importmap"
And finally do your import using the label from your import map.