Skip to content

Commit

Permalink
Update README.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Amareis committed Mar 12, 2022
1 parent 827e91d commit 99a9a44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Simple REST API client that makes your code lesser and more beautiful than without it.

There is some rest clients - https://github.com/marmelab/restful.js[restful.js], https://github.com/cujojs/rest[cujojs/rest] or https://github.com/lincolnloop/amygdala[amygdala] - so why you need another rest client? Because with it your code less and more beautiful than without it or with any analogs. Also, its code really simple - less than 200 sloc and (almost) without magic, so you can just read it (and fix, may be?) if something go wrong.
There is some rest clients - https://github.com/marmelab/restful.js[restful.js], https://github.com/cujojs/rest[cujojs/rest] or https://github.com/lincolnloop/amygdala[amygdala] - so why you need another rest client? First, because all of this is not maintained anymore :) But also, because with it your code less and more beautiful than without it or with any analogs. Also, its code really simple - less than 300 sloc and (almost) without magic, so you can just read it (and fix, may be?) if something go wrong.

To prove my words, here is an minimal working code (you can explore more examples https://github.com/Amareis/another-rest-client/tree/master/examples[here]):

Expand Down Expand Up @@ -157,7 +157,7 @@ You can then add more resources reusing already typed resource:
api = api.withRes('additional-resource')
----

**Custom shortcuts currently not working with TypeScript!**
**Custom shortcuts currently not working with TypeScript! And shorcuts always will be in typings, even if they are disabled.**

== Events

Expand Down Expand Up @@ -383,4 +383,4 @@ cd another-rest-client
yarn
echo "//Some changes..." >> src/rest-client.ts
yarn build && yarn test
----
----

0 comments on commit 99a9a44

Please sign in to comment.