Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sidorares/repl-co

node repl with yield support
https://github.com/sidorares/repl-co

Last synced: 21 days ago
JSON representation

node repl with yield support

Awesome Lists containing this project

README

        

repl-co
=======

node repl with yield support

### Example:

```
$ repl-co
> var c = require('mysql-co').createConnection({})
undefined
> (yield c.execute('select unix_timestamp() as time'))[0][0].time + (yield c.execute('select unix_timestamp() as time'))[0][0].time
2758945798
> (yield c.execute('select unix_timestamp() as time'))[0][0].time + (yield c.execute('select unix_timestamp() as time'))[0][0].time
2758945804
```