Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cooperator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cooperator - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "cooperator",
"description": "Like co but lets you also output data",
"version": "0.0.4",
"version": "0.0.5",
"author": "CoderPuppy",

@@ -6,0 +6,0 @@ "repository": "git://github.com/CoderPuppy/cooperator.git",

@@ -30,5 +30,5 @@ # Cooperator

- `co.start()` - Start it
- `co.on('data', (data) => {})` - An event emitted when the generator yields a value that can't be thunkifyered
- `co.on('done', (res) => {})` - An event emitted when the generator returns
- `co.on('error', (err) => {})` - An event emitted when the generator throws an error
- `co.on('data', cb(data))` - An event emitted when the generator yields a value that can't be thunkifyered
- `co.on('done', cb(res))` - An event emitted when the generator returns
- `co.on('error', cb(err))` - An event emitted when the generator throws an error
- `co.pullStream` - A pull-stream for the data
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