Test page using skypack to generate random id using nanoid library.
- Search for npm package skypack.dev
- Import script using skypack url in your html page
<script type="module">
import { nanoid } from 'https://cdn.skypack.dev/nanoid';
console.log('Random ID', nanoid());
</script>
- Refer to index.html for sample page using nanoid.
Page hosted on surge.sh