build/esm/index.js
function deleteDB(name, { blocked } = {}) {
    const request = indexedDB.deleteDatabase(name);
    if (blocked)
        request.addEventListener('blocked', () => blocked());
    return wrap(request).then(() => undefined);
}
function deleteDB(name, { blocked } = {}) {
    const request = indexedDB.deleteDatabase(name);
    if (blocked)
        request.addEventListener('blocked', () => blocked());
    return wrap(request).then(() => undefined);
}
function deleteDB ( name , { blocked } = { } ) { const request = indexedDB . deleteDatabase ( name ) ; if ( blocked ) request . addEventListener ( 'blocked' , ( ) => blocked ( ) ) ; return wrap ( request ) . then ( ( ) => undefined ) ; }
Delete a database.

@param name Name of the database.
Delete a database .