{"_id":"@burjeel/common-utils","_rev":"1-6f4d1f12a51c3eef8ba40bce89f82a1c","name":"@burjeel/common-utils","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@burjeel/common-utils","version":"1.0.0","author":{"name":"Yogesh Sahu"},"license":"MIT","_id":"@burjeel/common-utils@1.0.0","maintainers":[{"name":"yogesh-syncglob","email":"yogeshsahu@syncglob.com"}],"dist":{"shasum":"75368d53473ea11e0274f04675430599c85f7561","tarball":"https://registry.npmjs.org/@burjeel/common-utils/-/common-utils-1.0.0.tgz","fileCount":41,"integrity":"sha512-br2hvCsbPWZA9KJSgxfjcK4az5LQTcueiUYkXxa6edB8YtZB1SIW99bkdsjP+Xp36eDy/bnbw1cdutJiLtavrA==","signatures":[{"sig":"MEYCIQDn2ynXoP31HZn69wA7GRwyTmNzAJ1z/OPuthCR3RcrIAIhAJHhYdTlhZSfnYx7CXMRKe1f8WUE6uyOjIfPCluIoDY5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39197},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3a39f0033c503349aa02525b79a472ca78e93a0e","scripts":{"lint":"eslint . --ext .ts","test":"jest","build":"tsc","format":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"yogesh-syncglob","email":"yogeshsahu@syncglob.com"},"_npmVersion":"10.8.3","description":"Common utilities, DTOs, authentication, and localization for NestJS microservices","directories":{},"_nodeVersion":"22.9.0","dependencies":{"@nestjs/core":"^10.0.0","jsonwebtoken":"^9.0.0","@nestjs/common":"^10.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.50.0","ts-jest":"^29.0.0","prettier":"^3.0.0","typescript":"^5.2.0","@types/node":"^20.0.0","@types/jsonwebtoken":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.0.0_1738842687075_0.9036440812002398","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@burjeel/common-utils","version":"1.0.1","description":"Common utilities, DTOs, authentication, and localization for NestJS microservices","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"jest","lint":"eslint . --ext .ts","format":"prettier --write .","prepublishOnly":"npm run build"},"dependencies":{"@nestjs/common":"^10.0.0","@nestjs/config":"^4.0.0","@nestjs/core":"^10.0.0","@nestjs/typeorm":"^11.0.0","jsonwebtoken":"^9.0.0","mysql2":"^3.12.0","typeorm":"^0.3.20"},"devDependencies":{"@types/jsonwebtoken":"^9.0.0","@types/node":"^20.0.0","eslint":"^8.50.0","prettier":"^3.0.0","ts-jest":"^29.0.0","typescript":"^5.2.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"author":{"name":"Yogesh Sahu"},"license":"MIT","_id":"@burjeel/common-utils@1.0.1","gitHead":"745e64d04fe8adf7eca2f1982a181786ead76455","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-9ChLnJaqI6ClhsdQWL9L5re7jrmOkjTC/4QF0faqVg85It0f0KPMg01F7xLvZT9d6dyvBZI1yASZ72xbH6dG6w==","shasum":"d4fc28c153c37c1889d153f17845c1b70ec5539f","tarball":"https://registry.npmjs.org/@burjeel/common-utils/-/common-utils-1.0.1.tgz","fileCount":47,"unpackedSize":44401,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBcNA2D+uoEqRKGmzM7OUUoAE9w4ETApD/llc8eI5VgnAiA4B/18UfgReMRUNDh4+s7rn0CYmn7SWUx0o2tSVIe7mA=="}]},"_npmUser":{"name":"yogesh-syncglob","email":"yogeshsahu@syncglob.com"},"directories":{},"maintainers":[{"name":"yogesh-syncglob","email":"yogeshsahu@syncglob.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/common-utils_1.0.1_1739171347545_0.6452185532741423"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-06T11:51:26.954Z","modified":"2025-02-10T07:09:08.022Z","1.0.0":"2025-02-06T11:51:27.293Z","1.0.1":"2025-02-10T07:09:07.828Z"},"author":{"name":"Yogesh Sahu"},"license":"MIT","description":"Common utilities, DTOs, authentication, and localization for NestJS microservices","maintainers":[{"name":"yogesh-syncglob","email":"yogeshsahu@syncglob.com"}],"readme":"# @burjeel/common-utils\r\n\r\n**Common utilities, DTOs, auth guard, and localization for NestJS microservices.**\r\n\r\nThis package provides reusable modules for **auth guard, DTOs, helpers, and multi-language support**, making it easy to integrate into any NestJS application.\r\n\r\n## 🚀 Features\r\n- **DTOs**: Predefined Data Transfer Objects for consistent data structure.\r\n- **Auth Guard**: Predefined authentication guard for secure routes.\r\n- **Helper Functions**: A set of utilities to simplify common tasks.\r\n- **Multi-language Support**: JSON-based localization to easily manage translations.\r\n\r\n---\r\n\r\n## 📦 Installation\r\n\r\n### **1️⃣ Local Installation via NPM Link**\r\n\r\nTo use the package locally during development, follow these steps:\r\n\r\n1. **Clone the repository**:  \r\n   Clone the `@burjeel/common-utils` repository to your local machine.\r\n\r\n   ```bash\r\n   git clone <repository-url>\r\n   ```\r\n\r\n2. **Installation**:  \r\n   run `npm link` to your local machine.\r\n   ```bash\r\n   npm link\r\n   ```\r\n\r\n3. **Usage**\r\n   run `npm link @burjeel/common-utils` to project where you want to use this package.\r\n   ```bash\r\n   npm link @burjeel/common-utils\r\n   ```\r\n\r\n\r\n","readmeFilename":"readme.md"}