Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "async-err", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "An easy way to make an error in Node.js async, when it would sync otherwise.", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"debug": "0.7.4", | ||
"is2": "0.0.12" | ||
"is2": "0.0.13" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
@@ -7,7 +7,7 @@ async-err | ||
## Installation | ||
# Installation | ||
npm install async-err | ||
## Example - non-throwing | ||
# Example - non-throwing | ||
@@ -38,5 +38,5 @@ 'use strict'; | ||
## API | ||
# API | ||
### asyncerr(err, cb) | ||
## asyncerr(err, cb) | ||
A convenience function to make otherwise sync errors async. If you give asyncerr | ||
@@ -46,19 +46,19 @@ incorrect arguments, it will send messages to the console via the debug module, | ||
#### Params: | ||
### Params: | ||
* **Object** *err* A Node.js Error object. | ||
* **Function** *cb* A function object as callback. | ||
### asyncerrThrows(err, cb) | ||
## asyncerrThrows(err, cb) | ||
A convenience function to make otherwise sync errors async. If you give it | ||
incorrect arguments, it will throw and exception. | ||
#### Params: | ||
### Params: | ||
* **Object** *err* A Node.js Error object. | ||
* **Function** *cb* A function object as callback. | ||
## License | ||
# License | ||
The MIT License (MIT) | ||
Copyright (c) 2013 Edmond Meinfelder | ||
Copyright (c) 2013-2014 Edmond Meinfelder | ||
@@ -81,2 +81,1 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
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
8428
78
+ Addedis2@0.0.13(transitive)
- Removedis2@0.0.12(transitive)
Updatedis2@0.0.13