JSPM

Found 43 results for finally

with-open-file

Do stuff with an open file, knowing it will finally be closed

  • v0.1.7
  • 92.83
  • Published

promish

ES6 Promise Shim

  • v5.1.1
  • 71.71
  • Published

promise-finally

Simple wrapper to run promise "finally" logic

  • v3.0.1
  • 71.17
  • Published

async-kit

A simple and powerful async abstraction lib for easily writing Node.js code.

  • v2.2.4
  • 58.51
  • Published

golike-defer

go's defer statement in JavaScript

  • v0.5.1
  • 50.86
  • Published

@snowfrog/result

Type-safe error handling without exceptions.

  • v2.3.0
  • 46.28
  • Published

promisie

Some module

  • v3.0.1
  • 32.05
  • Published

error-ninja

A handy library for creating custom error constructors that work across async boundaries in Node.js.

  • v1.1.7
  • 31.15
  • Published

try-and-catch

Enterprise-grade TypeScript error handling with ALL limitations fixed in v5.0.0: memory management, performance optimization, enhanced cleanup, JSON serialization, concurrency protection, simplified APIs, and linter-friendly async functions. Zero dependen

  • v6.0.3
  • 29.76
  • Published

promise-stuff

A library for extending existing Promise/A+ implementations with cool extra features that work well with async/await. With TypeScript support

  • v0.4.1
  • 27.18
  • Published

nd-promise

:two_hearts: Lightweight promise polyfill. A+ compliant. Implements notify, progress, and finally.

  • v3.1.0
  • 26.84
  • Published

nuo

:two_hearts: Lightweight promise polyfill. A+ compliant. Implements notify, progress, and finally.

  • v1.1.0
  • 25.54
  • Published

wx-promise-pro

强大的、优雅的小程序 Promise 库

  • v3.2.4
  • 22.62
  • Published

using.macro

babel-plugin-macro for automatic try-finally blocks and C++ like RAII resource management

  • v1.0.5
  • 21.75
  • Published

try-flatten

✈ 类型安全的扁平化的 try-catch,支持同步函数、回调函数和 PromiseLike

  • v1.3.2
  • 20.64
  • Published

promise-errback

Forward the resolution/rejection of a resolvable to an errback; forwarding the resolution/rejection of the errback to ourself.

  • v2.0.0
  • 20.52
  • Published

promisu

functional promise with map filter reduce scan all race every some few try waitfor finally queue debounce throttle

  • v1.3.1
  • 19.44
  • Published

promise-stuff-es6

Integrating the promise-stuff package into ES6 native promises.

  • v0.2.1
  • 18.03
  • Published

csk-async

DUMMY PACKAGE: only encapsulate the 'async-kit' replacement package - A simple and powerful async abstraction lib for easily writing Node.js code.

  • v0.4.1
  • 16.73
  • Published

her-promise

This is a polyfill of the ES6/ES9/ES11/ES12 Promise.

  • v0.1.2
  • 15.42
  • Published

therefore

A JavaScript library intended for lightweight and controlled error handling.

  • v1.0.2
  • 15.20
  • Published

omega-fn

Ω eliminates try/catch boilerplate and replaces it with a two-channel [err, result] array

  • v0.0.1
  • 11.83
  • Published

@rogwilco/try

A lightweight module that enables scoped catch blocks.

  • v2.1.0
  • 11.67
  • Published

promise-for-es

A ES2021 Promise implementation based on ES3 has high compatibility, and comply with ECMA-262 and Promises/A+

  • v1.0.0
  • 11.18
  • Published

@arsat/try-catch

A flexible and modern implementation of try, catch, and finally blocks using asynchronous functions and arrow functions.

    • v1.0.0
    • 10.81
    • Published

    elegant-expression

    Library provides try/catch/finally as expression

    • v0.0.1
    • 10.12
    • Published

    js-promise-path-lock

    Block the promise chains from executing if the end path is different from the start path. Good for single page application.

    • v1.1.1
    • 9.68
    • Published

    mini-promisify

    小程序 API promise 化支,以及 storage 包装

    • v0.0.4
    • 9.32
    • Published

    bimodal

    bimodal eliminates try/catch boilerplate and replaces it with a two-channel [err, result] array

    • v0.0.1
    • 8.27
    • Published

    catch-match

    ![image](https://user-images.githubusercontent.com/1615093/149611056-ad5f8c6c-d7fe-4a64-aed4-a1763135e7ee.png)

    • v3.1.0
    • 8.27
    • Published

    mpvue-promise-pro

    强大的、优雅的小程序 Promise 库,兼容微信支付宝小程序

    • v1.0.2
    • 7.63
    • Published

    cokimaniac

    this is something

      • v0.0.1
      • 7.52
      • Published

      phinally

      This module is meant to be used in a runtime that uses the '::' "function-bind" operator. If you're using Babel consult the babel docs for enabling it [here](http://babeljs.io/docs/plugins/syntax-function-bind/). Make sure to enable both the `syntax` plug

      • v1.0.2
      • 6.40
      • Published

      try-v2

      try/catch but better.

      • v1.0.1
      • 4.39
      • Published