{"library":"database-updates","type":"library","category":null,"description":"database-updates is a Node.js library designed to manage and apply database schema and data migration scripts in a versioned, reliable manner. It is currently at version 4.1.0 and appears to be actively maintained, though no explicit release cadence is stated beyond following semantic versioning for its own releases. The core differentiator is its reliance on SemVer (Semantic Versioning) compliant filenames for update scripts (e.g., `1.0.0-initial-setup.js`), which dictates the execution order and ensures each script runs exactly once per environment. This mechanism prevents inconsistencies across development, staging, and production environments. It supports both CommonJS and ES Module update scripts and offers experimental support for TypeScript update files, provided the runtime can dynamically `import()` them. It's particularly useful for applications built on MongoDB or similar NoSQL databases where schema changes are often handled via code-based migrations.","language":"javascript","status":"active","version":"4.1.0","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install database-updates","imports":["import databaseUpdates from 'database-updates'","const databaseUpdates = require('database-updates')","import { DatabaseUpdates } from 'database-updates'"]},{"cmd":"yarn add database-updates","imports":[]},{"cmd":"pnpm add database-updates","imports":[]}],"homepage":null,"github":"https://github.com/domharrington/database-updates","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/database-updates","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/database-updates/compatibility"}}