Skip to main content


Deletes a local emoji database.

import { deleteDatabase } from 'picmo';
deleteDatabase(factory: DataStoreFactory, locale: Locale): Promise<void>

Deletes an emoji database.


  • factory: The data store factory to use to delete the database.
  • locale: The locale for the database to be deleted.

Return value

A Promise that is resolved when the database is deleted.