README and notes for pdf-salad
This commit is contained in:
5
projects/pdf-salad/README.md
Normal file
5
projects/pdf-salad/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# pdf-salad
|
||||
|
||||
Throw together PDFs randomly from multiple sources.
|
||||
|
||||
TODO upload to npm
|
@@ -10,6 +10,9 @@
|
||||
(when paths
|
||||
(loadAll paths callback pdfs))))
|
||||
|
||||
// TODO add sequentialPerPDF argument (which, when used, .shift()s pages from the beginning of PDFs)
|
||||
// TODO add chunkSize argument (default 1, which specifies how many pages in order to pull from a random PDF. value of -1 means take the whole PDF, and remove it from the list)
|
||||
// TODO make output page limit optional
|
||||
(defun main []
|
||||
(let [[sourceDir numPages] (Sys.args)]
|
||||
(loadAll (for file (Fs.readdirSync sourceDir) (+ sourceDir "/" file))
|
||||
|
Reference in New Issue
Block a user