How can you append to a local file using ClojureScript (running on Node)?
How do you append to a file in ClojureScript (on Node)?
140 views Asked by michaelrbock At
1
How can you append to a local file using ClojureScript (running on Node)?
Use the Node.js
fs.appendFileSync
method from thefs
package, like so:This will also create the file if it doesn't exist yet.