include node_modules so release .zip is deployable

This commit is contained in:
2023-11-24 17:44:25 -05:00
parent 6c86cfe5d2
commit 8b11c41267
8963 changed files with 874175 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
// eval.js
// to quickly test with a single url or file
import { extract } from './src/main.js'
const run = async (url) => {
try {
console.time('extract-feed')
const feed = await extract(url)
console.log(feed)
console.timeEnd('extract-feed')
} catch (err) {
console.log(err.message)
}
}
const init = (argv) => {
if (argv.length === 3) {
const url = argv[2]
return run(url)
}
return 'Nothing to do!'
}
init(process.argv)