Socket
Socket
Sign inDemoInstall

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


Version published
Maintainers
1
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 29 Oct 2021

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