Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bevry-archive/async-errback
Deprecated. Use https://github.com/bevry/promise-errback
https://github.com/bevry-archive/async-errback
Last synced: about 10 hours ago
JSON representation
Deprecated. Use https://github.com/bevry/promise-errback
- Host: GitHub
- URL: https://github.com/bevry-archive/async-errback
- Owner: bevry-archive
- License: other
- Created: 2024-01-02T19:48:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-02T20:05:10.000Z (10 months ago)
- Last Synced: 2024-05-22T11:39:06.121Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# async-errback
Have a callback (errback) handle an async function's resolution (success) or rejection (error)
## Usage
[Complete API Documentation.](http://main.async-errback.bevry.surge.sh/docs/)
## Install
### [npm](https://npmjs.com "npm is a package manager for javascript")
- Install: `npm install --save async-errback`
- Import: `import pkg from ('async-errback')`
- Require: `const pkg = require('async-errback').default`### [Skypack](https://www.skypack.dev "Skypack is a JavaScript Delivery Network for modern web apps")
``` html
import pkg from '//cdn.skypack.dev/async-errback@^1.0.0'
```
### [unpkg](https://unpkg.com "unpkg is a fast, global content delivery network for everything on npm")``` html
import pkg from '//unpkg.com/async-errback@^1.0.0'
```
### [jspm](https://jspm.io "Native ES Modules CDN")``` html
import pkg from '//dev.jspm.io/[email protected]'
```
### [Editions](https://editions.bevry.me "Editions are the best way to produce and consume packages you care about.")This package is published with the following editions:
- `async-errback` aliases `async-errback/index.cjs` which uses the [Editions Autoloader](https://github.com/bevry/editions "You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment") to automatically select the correct edition for the consumer's environment
- `async-errback/source/index.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") source code with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `async-errback/edition-browsers/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for web browsers with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `async-errback/edition-es2022/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `async-errback/edition-es2015/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2015](https://babeljs.io/docs/en/learn#ecmascript-2015-features "ECMAScript 2015") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `async-errback/edition-es2022-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 12 || 14 || 16 || 18 || 20 || 21 with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `async-errback/edition-types/index.d.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled Types with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules## History
[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/async-errback/blob/HEAD/HISTORY.md#files)
## Backers
### Code
[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/async-errback/blob/HEAD/CONTRIBUTING.md#files)
#### Authors
- [Benjamin Lupton](https://github.com/balupton)
#### Maintainers
- [Benjamin Lupton](https://github.com/balupton)
#### Contributors
- [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/async-errback/commits?author=balupton "View the GitHub contributions of Benjamin Lupton on repository bevry/async-errback")
### Finances
#### Donors
- [Armenm](https://github.com/Armenm)
- [cryptoquick](https://github.com/cryptoquick)
- [dr-dimitru](https://github.com/dr-dimitru)
- [elliottditman](https://github.com/elliottditman)
- [github](https://github.com/github)
- [hispanic](https://github.com/hispanic)
- [mrhenry](https://github.com/mrhenry)
- [nermalcat69](https://github.com/nermalcat69)
- [pleo-io](https://github.com/pleo-io)
- [rdeforest](https://github.com/rdeforest)
- [skunkteam](https://github.com/skunkteam)
- [WriterJohnBuck](https://github.com/WriterJohnBuck)## License
Unless stated otherwise all works are:
- Copyright © [Benjamin Lupton](https://github.com/balupton)
and licensed under:
- [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)