{"_id":"@axvietnam/common","_rev":"2-e8de115b64dd7bab62c85f6416f3d43c","name":"@axvietnam/common","dist-tags":{"latest":"2.4.5"},"versions":{"2.4.5":{"name":"@axvietnam/common","version":"2.4.5","keywords":["AXVN","API","Connector"],"author":{"name":"hoangxuanbien"},"license":"MIT","_id":"@axvietnam/common@2.4.5","maintainers":[{"name":"sbvvietnam","email":"magnesi24vnd@gmail.com"}],"homepage":"https://github.com/axvietnam/connector-js#readme","bugs":{"url":"https://github.com/axvietnam/connector-js/issues"},"dist":{"shasum":"e73baae986f1b77e59573aed2a81fa8b0f4b1064","tarball":"https://registry.npmjs.org/@axvietnam/common/-/common-2.4.5.tgz","fileCount":9,"integrity":"sha512-OF61/8Q4rdIn/8h7cDtIK8HyZagHXi3Bt5WFGjUJ+t/bjHFzd5ZhHqLPSu+F5SC8d64Ab/wapLjVqx3VMtoGFQ==","signatures":[{"sig":"MEQCIBFDd2rAq4NqCgM/zVlmC1qzdoCI5eAWTBzLmHP/CEMBAiAHaMHpIsWiux5P9y97NRhkwRjst6P638yOYldaLRvpbQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":556009},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"092e4f289e9047114fb8ec66256510cc207e16bb","scripts":{"lint":"npx eslint '**/*.ts' --fix","test":"npx jest --maxWorkers=4 --bail","build":"npm run clean && tsdown","clean":"rm -rf dist","format":"npx prettier --ignore-path .prettierignore --write .","typecheck":"tsc --noEmit","test:watch":"npx jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"sbvvietnam","email":"magnesi24vnd@gmail.com"},"repository":{"url":"git+https://github.com/axvietnam/connector-js.git","type":"git"},"_npmVersion":"10.8.2","description":"AXVN Common Types and Utilities for AXVN Connectors","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ws":"^8.17.1","axios":"^1.7.4","@types/ws":"^8.5.5","json-with-bigint":"^3.5.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","eslint":"8.57.0","tsdown":"^0.16.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^3.3.3","typescript":"^5.7.2","@types/jest":"^29.5.14","@types/node":"^20.17.24","typescript-eslint":"^8.24.0"},"_npmOperationalInternal":{"tmp":"tmp/common_2.4.5_1786799537462_0.1394473540538892","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-08-15T13:12:17.335Z","modified":"2026-08-16T18:06:16.043Z","2.4.5":"2026-08-15T13:12:17.598Z"},"bugs":{"url":"https://github.com/axvietnam/connector-js/issues"},"author":{"name":"hoangxuanbien"},"license":"MIT","homepage":"https://github.com/axvietnam/connector-js#readme","keywords":["AXVN","API","Connector"],"repository":{"url":"git+https://github.com/axvietnam/connector-js.git","type":"git"},"description":"AXVN Common Types and Utilities for AXVN Connectors","maintainers":[{"email":"magnesi24vnd@gmail.com","name":"sbvvietnam"},{"email":"Nhamhuan@gmail.com","name":"nhamhuan"}],"readme":"# AXVN Common Types and Utilities for AXVN Connectors\n\n[![Code Style: Prettier](https://img.shields.io/badge/code%20style-prettier-ff69b4)](https://prettier.io/)\n[![npm version](https://badge.fury.io/js/@axvietnam%2Fcommon.svg)](https://badge.fury.io/js/@axvietnam%2Fcommon)\n[![npm Downloads](https://img.shields.io/npm/dm/@axvietnam/common.svg)](https://www.npmjs.com/package/@axvietnam/common)\n![Node.js Version](https://img.shields.io/badge/Node.js-%3E=22.12.0-brightgreen)\n[![Socket Badge](https://socket.dev/api/badge/npm/package/@axvietnam/common)](https://socket.dev/npm/package/@axvietnam/common)\n[![Docs](https://img.shields.io/badge/docs-online-blue?style=flat-square)](https://axvietnam.github.io/axvietnam-connector-js/modules/_vnkr.vnmon.html)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n`@axvietnam/common` is a **utility package** for AXVN modular connectors, providing commonly used functions and helpers for working with AXVN REST/WebSocket APIs. It ensures reusable and optimized utilities to streamline development.\n\n## Installation\n\nTo use this package, install it via `npm`:\n\n```bash\nnpm install @axvietnam/common\n```\n\n## Features\n\n- **Common Utility Functions** for API requests, timestamps, and signatures.\n- **Optimized for AXVN Connectors** to ensure seamless integration.\n- **Lightweight & Tree-Shakeable** – only imports what you need.\n- **Fully Compatible with TypeScript** for strong type safety.\n\n## Contributing\n\nContributions are welcome!\n\n1. Open a GitHub issue before making changes.\n2. Discuss proposed changes with maintainers.\n3. Follow the existing TypeScript structure.\n\n## Disclaimer\n\nThis SDK is provided by AXVN on an \"as is\" and \"as available\" basis for use at your own risk. AXVN makes no representations or warranties of any kind, whether express or implied, as to the operation of the SDK, its accuracy, reliability, completeness, or fitness for any particular purpose.\n\nTo the fullest extent permitted by law, AXVN shall not be liable for any losses, damages, or expenses of any kind arising from or in connection with your use of, or inability to use, this SDK, including but not limited to any financial losses resulting from errors, bugs, interruptions, or inaccuracies in the SDK.\n\nYour use of this SDK to access the AXVN Platform is subject to the AXVN API Key Terms and the AXVN Terms of Use, which shall prevail in the event of any conflict with this disclaimer. You are solely responsible for any orders or transactions executed through the AXVN Platform using this SDK.\n\nThis SDK is not intended to constitute investment advice or a recommendation to buy, sell, or hold any digital asset. You should independently evaluate and verify all information before acting.\n\n- [AXVN Terms of Use](https://www.vnkr.vn/en/terms)\n- [AXVN API Key Terms](https://www.vnkr.vn/en/about-legal/terms-axvietnam-api)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENCE) file for details.\n","readmeFilename":"README.md"}