whenjs

0.0.4 • Public • Published

When.js

A simple library for 'when' loops

Usage

var when = require("whenjs")

// Later

when(function(){
    return true == true; // The Condition.
}, function(){
    alert("True == True!"); // When The Condition Is True
})

It Will Work In The Browser Too!

Simply download when.js, then include <script src="when.js" type="text/javascript"></script>"

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    3
  • 0.0.3
    1
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i whenjs

Weekly Downloads

4

Version

0.0.4

License

BSD

Last publish

Collaborators

  • ariporad