Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bolasblack/cljs.nodejs.shell
A clojurescript replacement for clojure.java.shell in nodejs runtime.
https://github.com/bolasblack/cljs.nodejs.shell
Last synced: 11 days ago
JSON representation
A clojurescript replacement for clojure.java.shell in nodejs runtime.
- Host: GitHub
- URL: https://github.com/bolasblack/cljs.nodejs.shell
- Owner: bolasblack
- Created: 2017-03-04T08:24:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-25T10:31:26.000Z (about 6 years ago)
- Last Synced: 2024-11-10T03:36:32.598Z (2 months ago)
- Language: Clojure
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cljs.nodejs.shell
Read [https://clojuredocs.org/clojure.java.shell](https://clojuredocs.org/clojure.java.shell) and [doc-string](https://github.com/bolasblack/cljs.nodejs.shell/blob/master/src/cljs/nodejs/shell.cljs) for usage.
## Difference between cljs.nodejs.shell, [clojure.java.shell](https://clojuredocs.org/clojure.java.shell), [planck.shell](http://planck-repl.org/planck-namespaces.html)
|cljs.nodejs.shell | clojure.java.shell | planck.shell
-----|-----|-----|-----
`:in` in option | `String` or `js/Buffer` | [any legal input source for clojure.java.io/copy](https://github.com/clojure/clojure/blob/fe0cfc71e6ec7b546066188c555b01dae0e368e8/src/clj/clojure/java/shell.clj#L84) | `String` or [file url scheme](https://github.com/mfikes/planck/blob/f16c065ca09e24c9d73191805c402985137e83a9/planck-cljs/src/planck/shell.cljs#L57)
`:out` in result | `String` or `js/Buffer` | `byte[]` or `String` | `String`
spawn command asynchronously | no | no | [`sh-async`](https://github.com/mfikes/planck/blob/f16c065ca09e24c9d73191805c402985137e83a9/planck-cljs/src/planck/shell.cljs#L80)## Install
```clojure
;; deps.edn
{:deps {cljs.nodejs.shell {:git/url "https://github.com/bolasblack/cljs.nodejs.shell"
:tag "0.2.1"}}}
```