1.0.2 • Published 3 years ago
zprint-wrapper v1.0.2
zprint wrapper
A clojure zprint wrapper published to npm with stdin/stdout support.
Installation
Run the following command or add it as a dep to a node project:
npm install -g zprint-wrapperUsage
zprint --helpThis wrapper also supports processing clojure code via stdin and printing to stdout.
echo "(fn [] (+ 1 2))" | zprintDevelopment
Run yarn dev or npm run dev to start a repl and watcher for incremental builds.
Run the following to install the package locally with a symlink:
cd package
npm linkBuild script
Run yarn build or npm build to compile to package/main.js
Then try the following to update:
cd package
npm patch
npm publishCredits
Credit goes to https://github.com/thheller/zprint-npm for coming up with a recipe to package up zprint and make it convenient to install with node.