New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

augur

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augur

tiny little promises, cooked to perfection.

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

augur

A tiny little promises library that is much more akin to classic node control flow than the Promises/A+ spec. It also takes up a whopping 19 lines. Aw, yiss.

why do this thing?

I found many promises libraries, and all of them were bloated and monolithic. I wanted something incredibly tiny, for the single simple purpose of passing around resolvable values. Although it looks a bit like the Promises/A+ model, I purposefully do not fully comply to it.

how might one partaketh of thy plight?

var augur = require('augur');
var promise = augur();

fs.readFile('amazing_text', 'utf8', promise);

promise.then(function(err, amazingText) {
  //omg
});

That's it. That's all. Use it wisely.

license?

MIT

Keywords

FAQs

Package last updated on 24 Jun 2013

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