
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@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 |
onSqlRun | function | No | Callback function which runs after query and evaluation is complete. Provides evaluation result and error message as arguments |
showSchemaDataSwitcher | boolean | No | Specify if selector for schama and data needs to be shown |
showForeignKeys | boolean | No | If Foreign keys need to be shown |
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
The npm package @bigbinary/neeto-database-viewer receives a total of 27 weekly downloads. As such, @bigbinary/neeto-database-viewer popularity was classified as not popular.
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 CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.