Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "lbp", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Pattern detection using Local Binary Patterns algorithm", | ||
@@ -5,0 +5,0 @@ "main": "./lib/LBP.js", |
@@ -6,2 +6,19 @@ # Local Binary Patterns for JavaScript # | ||
## Installation ## | ||
``` | ||
npm install lbp | ||
``` | ||
or | ||
```html | ||
// put library in your javascript root directory | ||
<script src="{js directory}/lbp/lib/LBP.js"></script> | ||
<script> | ||
var lbp = new LBP(); | ||
... | ||
</script> | ||
``` | ||
## Examples ## | ||
@@ -8,0 +25,0 @@ |
@@ -193,16 +193,2 @@ require('should'); | ||
return parseInt(str, 2); | ||
} | ||
/** | ||
* Array rotation | ||
* | ||
* @param {Array} arr | ||
* @param {number} n - steps: positive: step left, negative: step right | ||
* @return {Array} | ||
* @access public | ||
*/ | ||
function arrayRotate(arr, n) { | ||
arr.unshift.apply(arr, arr.splice(n, arr.length)); | ||
return arr; | ||
} | ||
} |
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
81
199072
503