Side by side
Perst vs sql.js
Both stand on embedded databases. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan AndroidWeb
Perst offers a defined document database model, API access, encryption, synchronization, and broad runtime support. Review the size ceiling and unspecified plan details before selecting an edition.
Visit Perst Free plan APISelf-hostedWeb
sql.js provides SQLite functionality in JavaScript with browser and Node.js distribution options. Its in-memory design and partial BigInt support are important constraints to consider for an application.
Visit sql.jsThe facts
| Perst | sql.js | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Android, Web | API, Self-hosted, Web |
| Lowest paid plan | Not published | Free or on request |
| Plans published | None | 1 |
| Maker | Not published | Not published |
| Website | mcobject.com | sql.js.org |
| On embedded databases | #27 of 30 | #23 of 30 |
Perst: what it does well
- Document-model database
- API query interface
- Supports encryption and synchronization
- Works with several Java environments and .NET
- Free plan available
What to know first
- Paid pricing requires a request
- Maximum database size is 1024.0 GB
sql.js: what it does well
- Imports existing SQLite files.
- Exports databases as JavaScript typed arrays.
- Supports prepared statements and custom SQL functions.
- Web Worker build can move intensive queries off the main thread.
- Free and MIT licensed.
What to know first
- Changes are not persisted automatically.
- Large databases can run out of memory.
- Web Worker API is more limited.
- BigInt values cannot be bound.