1.0.0 • Published 7 years ago

go-javascript v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

Go-Javascript

An incredible module that allows you to return promises like go.

Get rid of those silly try/catches!

try {
  // some type of async operation that can throw
} catch (err) {
  // handle the fugly error
}

And BAM! Do this instead with the power of go-javascript

const [err, data] = go(/* your promise here! */)
// And do whatever you want here :)