Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lbp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lbp - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"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;
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc