How to import js library using ed6 modules from browser client side?

I am trying to import this library

https://github.com/qiao/PathFinding.js/blob/master/README.md

the pathfinding-browser.min.js file can be retrieved from the latest release here

https://github.com/imor/pathfinding-bower/releases

I am importing it like this

import * as PF from '../js/pathfinding-browser.min.js';

But it doesn’t work. How can I import this?

Note: this is client side vanilla javascript (not node or webpack).