UNPKG

@transactional/core

Version:

"@transactional/core" is an npm package that offers the core implementation of "@Transactional" method decorator for running your queries inside a transaction seamlessly. It achieves this by leveraging AsyncLocalStorage.

23 lines (16 loc) 1.56 kB
<p s align="center"> <a href="https://transactional.gitbook.io/documentation/" target="blank"><img src="./assets/logo.svg" width="120" alt="Transactional Logo" /></a> </p> <p align="center">Seamlessly integrates transactions into your application using <a href="https://nodejs.org" target="_blank">Node.js</a> Async Local Storage API.</p> <p align="center"> <a href="https://www.npmjs.com/~transactional" target="_blank"><img src="https://img.shields.io/npm/v/@transactional/core.svg" alt="NPM Version" /></a> <a href="https://www.npmjs.com/~transactional" target="_blank"><img src="https://img.shields.io/npm/l/@transactional/core.svg" alt="Package License" /></a> <a href="https://www.npmjs.com/~transactional" target="_blank"><img src="https://img.shields.io/npm/dm/@transactional/core.svg" alt="NPM Downloads" /></a> </p> ## Description "@transactional/core" is an npm package that offers the core implementation of "@Transactional" method decorator for running your queries inside a transaction seamlessly. It achieves this by leveraging AsyncLocalStorage. Please read the docs for more information [Transactional Documentation](https://transactional.gitbook.io/documentation/). ## Clients | Client | Description | | :------------------------------------------------------------------------- | :----------------------------------- | | [`@transactional/prisma`](https://github.com/Yamanlk/transactional-prisma) | Transactional Support For Prisma ORM |