Using Adapter from content delivery network (CDN) is the easiest way.
<script type="module">
import { Adapter } from 'https://cdn.jsdelivr.net/npm/@devcapsule/adapter/+esm'
</script>
Install using NPM is recommended for production use.
$ npm install @devcapsule/adapter
It's recommended to use Javascript Building Tools such as ESBuild, Parcel, Rollup etc. Please read thier documentation. After setting up, you can import Adapter in javascript
import { Adapter } from '@devcapsule/adapter';