npm npm
Magnify icon
  • All Packages
    • JavaScript
    • Python
    • Go
  • Code Examples
    • JavaScript
    • Python
  • Categories
    • JavaScript - Popular
    • JavaScript - Healthiest
    • Python - Popular
    • Python - Healthiest
  • Developer Tools
    • Vulnerability DB
    • Code Checker
    • Snyk Learn
    • Blog
Sign Up
  1. Advisor
  2. when
  3. functions
View all when analysis

Most popular functions for when

To help you get started, we’ve selected a few when examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

  • 1

    when.all

    arrow
  • 2

    when.defer

    arrow
  • 3

    when.isPromiseLike

    arrow
  • 4

    when.join

    arrow
  • 5

    when.map

    arrow
  • 6

    when.promise

    arrow
  • 7

    when.reduce

    arrow
  • 8

    when.reject

    arrow
  • 9

    when.resolve

    arrow
  • 10

    when.settle

    arrow
  • 11

    when.try

    arrow
  • 12

    when/function.call

    arrow
  • 13

    when/keys.all

    arrow
  • 14

    when/node.bindCallback

    arrow
  • 15

    when/node.call

    arrow
  • 16

    when/node.lift

    arrow
  • 17

    when/node/function.call

    arrow
  • 18

    when/node/function.lift

    arrow
  • 19

    when/pipeline

    arrow
  • 20

    when

    arrow

Product

  • Partners
  • Developers & DevOps Features
  • Enterprise Features
  • Pricing
  • API Status

Resources

  • Vulnerability DB
  • Blog
  • Learn
  • Documentation
  • Snyk API
  • Research
  • FAQs
  • npm packages list
  • JavaScript Code Examples
  • Browse all JavaScript packages

Company

  • About us
  • Customers
  • Jobs at Snyk
  • Legal Terms
  • Privacy
  • Press Kit
  • Events
  • Secure by Design

Connect

  • Book a demo
  • Contact us
  • Support
  • Report a new vuln

Security

  • JavaScript Security
  • Kubernetes Security
  • Container Security
  • Open Source Security
  • Secure SDLC

Find us online

Track our development

Snyk|Open Source Security Platform © 2025 Snyk Ltd.