Q is a JavaScript promise library created before native promises became standard across modern browsers and Node.js. It lets asynchronous functions return promise objects representing future values or errors instead of relying entirely on nested callbacks. Promise chains flatten asynchronous control flow and automatically propagate failures toward shared error handlers. The library provides deferred objects, combinators, delays, timeouts, callback adapters, and utilities for composing asynchronous operations. It can interoperate with promise implementations from libraries such as jQuery, Dojo, When.js, and WinJS. Q was distributed for browsers, CommonJS, AMD, Bower, and other historical JavaScript environments. The repository is now archived, and its maintainers recommend native JavaScript promises for new development.

Features

  • Promise-based asynchronous programming
  • Deferred values and promise chaining
  • Automatic error propagation
  • Timeout and delay utilities
  • Node-style callback interoperability
  • Browser, CommonJS, and AMD support

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Q

Q Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Q!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2 days ago