If you&#x27;d used leveldb from the beginning you wouldn&#x27;t have this problem as it will happily work on the server and in the browser <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;level-js" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;level-js</a>