layout: post
title: PouchDB 5.3.0: SQLite support in Node author: Nolan Lawson
PouchDB 5.3.0 is released today, with a new feature: SQLite support in Node, using node-websql. This means that, in addition to the LevelDB-based LevelDOWN (or any other *DOWN adapter), you can now also use sqlite3, via PouchDB's WebSQL adapter.
To get started, just do:
require('pouchdb/extras/websql'); var db = new PouchDB('database.db', {adapter: 'websql'})
This feature will also be available in PouchDB Server, as pouchdb-server --sqlite.
Note that this doesn‘t change the behavior of the WebSQL adapter in the browser. That adapter is still bundled by default in PouchDB’s browser version. For more details, see the “extras” API documentation.
As always, please file issues or tell us what you think. And as always, a big thanks to all of our new and existing contributors!