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

asyncjs-util

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asyncjs-util

Asyncjs Utilities

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.3K
increased by35.55%
Maintainers
1
Weekly downloads
 
Created
Source

Asyncjs Utilities

Utility methods for working with asyncjs

npm version Coverage Status Build Status

getMaximum

Get maximum value through binary search

{
  [accuracy]: <Close Enough Delta Number>
  from: <Minimum Number>
  to: <Maximum Number>
}

<Async Test Function> ({cursor}, (err, isLow) => {}) => {}

@returns via cbk or Promise
{
  maximum: <Maximum Number>
}

returnResult

Return a specific result of an async/auto process

Omit a cbk and specify reject/resolve if using a Promise

{
  [of]: <Property String>
  [reject]: <Promise Reject Function>
  [resolve]: <Promise Resolve Function>
}
[cbk]: <Callback Function>

@returns
<Function> (err, res) => {}

Keywords

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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