input email auto-complete library using vanilla javascript (es6)
No Dependency
1) Use umd
html
<script src="/path/to/dist/otom.js"></script>
js
var otom = new Otom();
otom.init();
2) Use commonjs
const Otom = require('otom');
const otom = new Otom();
otom.init();
3) Use es6
import Otom from 'otom';
const otom = new Otom();
otom.init();