sql.js API documentation
If you need a quick intoduction with code samples that you can copy-and-paste, head over to sql.js.org
The initSqlJs function
The SqlJs object
initSqlJs returns the main sql.js object, the
SqlJs module, which contains :
Database is the main class, that represents an SQLite database.
The Statement class is used for prepared statements.