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.

40 lines (39 loc) 1.19 kB
{ "name": "@transactional/core", "version": "1.2.0", "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.", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "test": "node --require ts-node/register ./test/index.ts", "prebuild": "rimraf dist", "build": "tsc -p tsconfig.build.json", "semantic-release": "semantic-release" }, "keywords": [ "transaction", "transactional" ], "repository": { "type": "git", "url": "git+https://github.com/Yamanlk/transactional-core.git" }, "bugs": { "url": "https://github.com/Yamanlk/transactional-core/issues", "email": "yamanlakis@gmail.com" }, "homepage": "https://github.com/Yamanlk/transactional-core", "files": [ "dist" ], "author": "Yaman Lakis", "license": "ISC", "devDependencies": { "@types/node": "^20.7.1", "glob": "^10.3.10", "rimraf": "^5.0.5", "semantic-release": "^22.0.5", "ts-node": "^10.9.1", "typescript": "^5.2.2" } }