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

generatorify

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generatorify - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

package.json
{
"name": "generatorify",
"version": "1.1.1",
"version": "1.1.2",
"description": "Wrap function with callbacks to ES6 generator.",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/tap test/*.js"
"test": "./node_modules/.bin/tap test/*.js",
"prepublish": "semantic-release pre",
"postpublish": "semantic-release post"
},

@@ -9,0 +11,0 @@ "keywords": [

@@ -1,7 +0,8 @@

[![Build Status](https://travis-ci.org/stojanovic/generatorify.svg?branch=master)](https://travis-ci.org/stojanovic/generatorify)
[![Build Status](https://travis-ci.org/stojanovic/generatorify.svg?branch=master)](https://travis-ci.org/stojanovic/generatorify) [![npm version](https://badge.fury.io/js/generatorify.svg)](http://badge.fury.io/js/generatorify)
# Generatorify
Wrap function with callback into generator.
Based on this [gist](https://gist.github.com/yanatan16/8216252).
Name is a bit misleading, this package wrap a function with callback into
native ES6 promise so it can be used with generators.
Module is based on this [gist](https://gist.github.com/yanatan16/8216252).

@@ -35,1 +36,7 @@ ## Prerequests

`tap test/*.js`
## Limitations
As mentioned above, this module requires io.js or node.js with `--harmony` flag.
Also it works only with functions with one callback, if you have more than one,
only one will be converted.
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