0.0.4 • Published 10 years ago

q-ng v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

q-ng Build Status

Inspired by angular's $q service, a q/promise library for node.

Getting Started

Install the module with: npm install q-ng

var Q = require('q-ng');

function testQ(value) {
	var deferred = Q.defer();
	setTimeout(function(){
      deferred.resolve(value);
	}, 1000);
	return deferred.promise();
}

testQ(5)
.then(function(value){
	console.log(value);
});

// this outputs: 5

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

Release History

(Nothing yet)

License

Copyright (c) 2014 Md Kamrul Islam Licensed under the MIT license.

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago