if (typeof module !== 'undefined') {
    module.exports = Asyncplify;
} else if (typeof window !== 'undefined') {
    window.Asyncplify = Asyncplify;
}

if (typeof module !== 'undefined') {
    module.exports = Asyncplify;
} else if (typeof window !== 'undefined') {
    window.Asyncplify = window.asyncplify = Asyncplify;
}

add an alias for browser (Asyncplify / asyncplify)