
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@bigbinary/neeto-database-viewer
Advanced tools
Common component used by [neeto-course-web](https://github.com/bigbinary/neeto-course-web) and [neeto-course-site](https://github.com/bigbinary/neeto-course-site) for viewing sqlite databases and running queries on them. Powered by [sql.js](https://sql.js
Common component used by neeto-course-web and neeto-course-site for viewing sqlite databases and running queries on them. Powered by sql.js
Usage
<DatabaseViewer
dbBinaryContent={dbBinaryContent}
/>
[!NOTE]
Please check and install the required peer dependencies
| Prop | Type | Required | Description |
|---|---|---|---|
| dbBinaryContent | string | Yes | Base64 encoded database file content. |
| shouldRunCode | boolean | No | Set to true to run the query (remember to set it back to false). |
| query | string | No | Query to be ran. |
| isExercise | boolean | No | Specify if evaluation is required. (Default : false) |
| solutionQuery | string | No | The solution query used for evaluation |
| focusTableBeforeRun | string | No | name of the table which should be focused |
| focusTableAfterRun | string | No | name of the table which should be focused after running query |
| checkForViews | comma separated string | No | Views that should be taken into account while evaluation |
| setDbInstance | function | No | Callback function which provides the db instance created using sql.js .Can be used to export db |
| showSchemaDataSwitcher | boolean | No | Specify if selector for schama and data needs to be shown |
| showForeignKeys | boolean | No | If Foreign keys need to be shown |
| onNeetoCodeLinkClick | function | No | Callback function which is triggered when neetoCode link is clicked. |
Example app is created with vite. Simply run
yarn dev
FAQs
Common component used by [neeto-course-web](https://github.com/bigbinary/neeto-course-web) and [neeto-course-site](https://github.com/bigbinary/neeto-course-site) for viewing sqlite databases and running queries on them. Powered by [sql.js](https://sql.js
We found that @bigbinary/neeto-database-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.