Skip to content

Commit 9bb26be

Browse files
committed
Add a why? section
1 parent 4ec6806 commit 9bb26be

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
[![Clojars
44
Project](https://img.shields.io/clojars/v/nilenso/wscljs.svg)](https://clojars.org/nilenso/wscljs)
55

6-
A thin and lightweight websocket client for ClojureScript.
6+
A thin and lightweight(no external dependencies) websocket client for
7+
ClojureScript.
8+
9+
## Why did we write this?
10+
11+
There are already existing Clojure/Clojurescript websocket libraries like [Sente](https://github.com/ptaoussanis/sente)
12+
and [Chord](https://github.com/jarohen/chord). However these libraries support creating both websocket server and
13+
client. This requires additional dependencies which we didn't want. Wscljs is a
14+
thin wrapper over the Javascript websockets and brings in no extra
15+
dependency.
716

817
## Usage
918

0 commit comments

Comments
 (0)