Comparing version 1.1.4 to 1.1.5
@@ -8,5 +8,6 @@ { | ||
], | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "return an md5sum of a given file", | ||
"keywords": [ | ||
"md5", | ||
"md5sum", | ||
@@ -13,0 +14,0 @@ "checksum" |
# md5-file | ||
[![NPM](https://nodei.co/npm-dl/md5-file.png?months=6)](https://nodei.co/npm/md5-file/) | ||
### Overview | ||
@@ -19,8 +17,8 @@ | ||
__md5file(path)__ | ||
__md5File(path)__ | ||
```javascript | ||
var md5file = require('md5-file'); | ||
var md5File = require('md5-file'); | ||
md5file('path/to/a_file'); // '18e904aae79b5642ed7975c0a0074936' | ||
md5File('path/to/a_file'); // '18e904aae79b5642ed7975c0a0074936' | ||
``` | ||
@@ -30,3 +28,3 @@ | ||
__md5file(path, callback, [strict])__ | ||
__md5File(path, callback, [strict])__ | ||
@@ -36,7 +34,7 @@ If _strict_ is `true` and there is an error it will `throw` it, otherwise it will pass an error string through the callback. | ||
```javascript | ||
md5file.async('./README.md', function (data) { | ||
md5File.async('./README.md', function (data) { | ||
console.log(data); | ||
}); | ||
md5file.async('./README.md', function (data) { | ||
md5File.async('./README.md', function (data) { | ||
console.log(data); | ||
@@ -48,3 +46,3 @@ }, true); | ||
// non-strict: will pass through an error to `data` | ||
md5file.async('./null', function (data) { | ||
md5File.async('./null', function (data) { | ||
console.log(data); | ||
@@ -54,3 +52,3 @@ }); | ||
// strict: will throw an error | ||
md5file.async('./null', function (data) { | ||
md5File.async('./null', function (data) { | ||
console.log(data); | ||
@@ -57,0 +55,0 @@ }, true); |
@@ -0,0 +0,0 @@ 'use strict'; |
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
3815
5
53