Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kozhevnikov committed Jul 13, 2018
1 parent 0295470 commit 04a4302
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

*Chainable Promise Proxy*

Lightweight no-dependencies ES6 [promise] [proxy] allowing you to drop non-stop `then()` or `await`
and chain.
Lightweight ES6 [Proxy] for [Promises] with no additional dependencies. Proxymise allows for method
and property chaining without need for intermediate `then()` or `await` for cleaner and simpler code.

[proxy]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy
[promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
[Proxy]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy
[Promises]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

## Use

Expand Down Expand Up @@ -35,7 +35,7 @@ const value = await proxymise(foo).bar().baz().qux;
console.log(value);
```

## Examples
## Practical Examples

- [fetch with JSON](https://github.com/kozhevnikov/proxymise/blob/master/test/fetch.test.js)
- [Selenium WebDriverJS with Page Objects](https://github.com/kozhevnikov/proxymise/blob/master/test/selenium.test.js)
- [Fetch and JSON parsing](https://github.com/kozhevnikov/proxymise/blob/master/test/fetch.test.js)
- [Selenium WebDriverJS and Page Objects](https://github.com/kozhevnikov/proxymise/blob/master/test/selenium.test.js)

0 comments on commit 04a4302

Please sign in to comment.