We have two Node scripts, one called import.js, and the other build.js in the bookish-reader repository. Both do roughly the same thing, checking a local folder file for a valid book, and then doing something with it.
import.js has a function that does this that build.js should reuse, rather than duplicating.
We have two Node scripts, one called
import.js, and the otherbuild.jsin thebookish-readerrepository. Both do roughly the same thing, checking a local folder file for a valid book, and then doing something with it.import.jshas a function that does this thatbuild.jsshould reuse, rather than duplicating.