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

array-binarysearch.closest

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-binarysearch.closest - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "array-binarysearch.closest",
"version": "0.0.5",
"version": "0.0.6",
"description": "Get index of closest value in sorted array.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,4 +5,9 @@ # array-binarysearch.closest

```javascript
const binarySearch = require('array-binarysearch.closest');
// binarySearch(<array>, <value>, [begin=0], [end=array.length])
```
[sorted]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
[array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Indexed_collections
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