knex-migrate-sql-file
JSON →A utility library for Knex.js that allows writing SQL migrations using .up.sql and .down.sql files instead of (or in addition to) programmatic schema methods. Version 2.0.0 is the latest stable release, with infrequent updates. It provides functions to load and execute SQL files as Knex raw queries, supporting both CommonJS and ESM modules. Key differentiators include zero-dependency generated migration files, simple integration with existing Knex setups, and type safety with TypeScript definitions.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇲🇽 Mexico · MY · 🇨🇦 Canada
Resources
packageknex-migrate-sql-file ↗
API endpoints
full doc /v1/registry/knex-migrate-sql-file