The import statement is provided by js.io - A module system that the repository is using.
Quoting from the README of the project:
js.io is a multi-platform package management and module system for
JavaScript. js.io modules can be evaluated in a JavaScript runtime
(e.g. node.js) or precompiled into a single package for use on the
client side.
js.io provides the following:
A module system. Dependency graph that works in the client and the
browser. Support and networking libraries that can be used on either
platform.
The import statement as in the linked example does not confirm to ES6 spec.
From MDN, the syntax for ES6 imports follow the following patterns:
import name from "module-name";
import * as name from "module-name";
import { member } from "module-name";
import { member as alias } from "module-name";
import { member1 , member2 } from "module-name";
import { member1 , member2 as alias2 , [...] } from "module-name";
import defaultMember, { member [ , [...] ] } from "module-name";
import defaultMember, * as alias from "module-name";
import defaultMember from "module-name";
import "module-name";
The usage import AudioManager as exports;
is not a valid usage as per the above rules.
I could not deduce from the README of js.io if confirmance with ES6 modules is a goal of the project.