Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public constructor(file: string) {
logger('opening file', { file });
this._db = levelup(EncodingDown(RocksDB(file), { valueEncoding: 'json' }));
}