Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "nyks", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "nodejs exupery style", | ||
@@ -32,3 +32,5 @@ "keywords": [ | ||
"url": "https://github.com/131/nyks/issues" | ||
} | ||
}, | ||
"_id": "nyks@0.1.2", | ||
"_from": "nyks@" | ||
} |
@@ -9,2 +9,10 @@ Buffer.implement({ | ||
Object.combine = function(list, values) { | ||
if (list == null) return {}; | ||
var result = {}; | ||
for (var i = 0, length = list.length; i < length; i++) | ||
result[list[i]] = values[i]; | ||
return result; | ||
}; | ||
Object.sort = function(that, keys){ | ||
@@ -11,0 +19,0 @@ var o = {}; |
var fs = require('fs'); | ||
var fs = require('fs'), | ||
crypto = require('crypto'); | ||
fs.md5FileSync = function(path){ | ||
var md5 = crypto.createHash('md5'); | ||
md5.update(fs.readFileSync(path)); | ||
return md5.digest('hex'); | ||
} | ||
fs.deleteFolderRecursive = function(path) { | ||
@@ -5,0 +13,0 @@ var files = []; |
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
4362
89