diff --git a/src/index.ts b/src/index.ts index 11d93d0..aaae34a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,3 +3,4 @@ export { default as getManifest } from './exports/getManifest'; export { default as productList } from './exports/productList'; export { default as IDatabaseSettings } from './interfaces/IDatabaseSettings'; export { default as init } from './init'; +export { default as shutdown } from './shutdown'; diff --git a/src/shutdown.ts b/src/shutdown.ts new file mode 100644 index 0000000..eef64bd --- /dev/null +++ b/src/shutdown.ts @@ -0,0 +1,5 @@ +import { exit } from './database/database'; + +export default function shutdown() { + exit(); +}