Socket
Socket
Sign inDemoInstall

callbax

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

callbax

asynchronous callback extras and shortcuts for coffeescript / javascript


Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

callbex

asynchronous callback extras and shortcuts for coffeescript / javascript

Callbacks:

Concept

Call a function with signiture: my_fn(arguments..., callback_fn) Function returns asynchronous response by calling callback_fn with signiture: callback_fn(err, response_arguments...) in which err is null or undefined unless an error-response is returned.

Example

my_fn arg1, arg2, (err, response_arg1, response_arg2) ->
  if err
    # error path
  else
    next_async_fn arg_x, (err) ->
      # ...

Callbax extras

Callbax generates a function that has extensions providing extra functionality

Clean-up / fall-back error handling logic (with option to stop propagation)

(description and examples here)

Simple error filter (short cut for error check code blocks)

(description and examples here)

Keywords

FAQs

Package last updated on 10 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc