JSPM

Found 43 results for finally

with-open-file

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

  • v0.1.7
  • 90.71
  • Published

promise-finally

Simple wrapper to run promise "finally" logic

  • v3.0.1
  • 71.71
  • Published

promish

ES6 Promise Shim

  • v5.1.1
  • 71.41
  • Published

async-kit

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

  • v2.2.4
  • 57.41
  • Published

golike-defer

go's defer statement in JavaScript

  • v0.5.1
  • 49.07
  • Published

@snowfrog/result

Type-safe error handling without exceptions.

  • v2.3.0
  • 38.23
  • 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
  • 34.50
  • 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
  • 31.94
  • Published

wx-promise-pro

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

  • v3.2.4
  • 23.24
  • Published

promisie

Some module

  • v3.0.1
  • 22.06
  • 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
  • 21.91
  • Published

promise-stuff-es6

Integrating the promise-stuff package into ES6 native promises.

  • v0.2.1
  • 21.69
  • 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
  • 21.43
  • Published

try-flatten

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

  • v1.3.2
  • 20.90
  • Published

using.macro

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

  • v1.0.5
  • 20.30
  • Published

catch-match

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

  • v3.1.0
  • 20.14
  • Published

nuo

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

  • v1.1.0
  • 17.19
  • Published

promisu

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

  • v1.3.1
  • 14.17
  • Published

her-promise

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

  • v0.1.2
  • 13.09
  • Published

omega-fn

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

  • v0.0.1
  • 12.20
  • Published

therefore

A JavaScript library intended for lightweight and controlled error handling.

  • v1.0.2
  • 11.11
  • Published

nd-promise

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

  • v3.1.0
  • 10.55
  • Published

error-ninja

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

  • v1.1.7
  • 10.48
  • Published

@rogwilco/try

A lightweight module that enables scoped catch blocks.

  • v2.1.0
  • 10.12
  • Published

bimodal

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

  • v0.0.1
  • 9.80
  • Published

mini-promisify

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

  • v0.0.4
  • 7.27
  • 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.50
  • 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
  • 6.38
  • Published

elegant-expression

Library provides try/catch/finally as expression

  • v0.0.1
  • 6.07
  • Published

cokimaniac

this is something

    • v0.0.1
    • 4.66
    • Published

    try-v2

    try/catch but better.

    • v1.0.1
    • 4.44
    • Published

    mpvue-promise-pro

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

    • v1.0.2
    • 0.00
    • Published

    @arsat/try-catch

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

      • v1.0.0
      • 0.00
      • 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
      • 0.00
      • Published