Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "dual-api", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Make your module implement dual APIs, callback API and thenable (Promise) API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ /* | ||
* | ||
* Copyright (c) 2016 anseki | ||
* Copyright (c) 2017 anseki | ||
* Licensed under the MIT license. | ||
@@ -8,0 +8,0 @@ */ |
{ | ||
"name": "dual-api", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"title": "dualAPI", | ||
@@ -5,0 +5,0 @@ "description": "Make your module implement dual APIs, callback API and thenable (Promise) API.", |
# dualAPI | ||
[![npm](https://img.shields.io/npm/v/dual-api.svg)](https://www.npmjs.com/package/dual-api) [![GitHub issues](https://img.shields.io/github/issues/anseki/dual-api.svg)](https://github.com/anseki/dual-api/issues) [![dependencies](https://img.shields.io/badge/dependencies-No%20dependency-brightgreen.svg)](package.json) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE-MIT) | ||
Make your module implement dual APIs. | ||
@@ -4,0 +6,0 @@ When the method of your module is called, if a callback Function is appended to the arguments, the method works as callback API. Otherwise the method returns a thenable [`Promise`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise) instance. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7688
7
84
142