> The closest thing to a convention across multiple definition files

This really depends on the library author. Toastr chose to expose the var not a class : https://github.com/CodeSeven/toastr/blob/master/toastr.js#L38 In fact you *cannot* do `new Toastr` which is why its an interface definition which on its own is pretty useless.