Skip to content

sidorares/repl-co

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

node repl with yield support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published