{"library":"mysql-import","type":"library","category":null,"description":"mysql-import is a Node.js library designed to facilitate the programmatic import of `.sql` dump files into a MySQL database. Currently at version 5.0.26, the package provides a streamlined API for tasks such as database seeding, migration, or restoring backups. It differs from general ORMs or query builders by focusing solely on bulk SQL import operations. A key differentiator is its event-driven progress tracking (`onProgress`, `onDumpCompleted`), allowing developers to monitor long-running imports in real-time, which is crucial for large datasets. The library leverages Node.js streams and underlying MySQL client binaries to efficiently process SQL files of various sizes, making it a robust solution for environments requiring automated database provisioning or data synchronization.","language":"javascript","status":"active","version":"5.0.26","tags":["javascript","nodejs","mysql","textfiles","import","sql"],"install":[{"cmd":"npm install mysql-import","imports":["const Importer = require('mysql-import');","import Importer from 'mysql-import';"]},{"cmd":"yarn add mysql-import","imports":[]},{"cmd":"pnpm add mysql-import","imports":[]}],"homepage":null,"github":"https://github.com/pamblam/mysql-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/mysql-import","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/mysql-import/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}