Ability to export class as an NPM module