I want to write standalone Node.js scripts (e.g. migrate_sqlite_db.js) that can import utils from my app code (even if they use Svelte/Kit-specific API's)

Came up with a runner `sveltescript`, but not sure if this is the best/safest way to do it. Thoughts?
Post image

Comments