{"_id":"@bennu-cl/commons-js","_rev":"3-3b5ad239b305c95bfc8c9726e2852ac7","name":"@bennu-cl/commons-js","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"@bennu-cl/commons-js","version":"0.0.1","keywords":["chile","rut","validator","validation","chilean","identity","typescript"],"author":{"name":"@bennu-cl/jomendev"},"license":"MIT","_id":"@bennu-cl/commons-js@0.0.1","maintainers":[{"name":"natbusnego","email":"nathabusnego@gmail.com"},{"name":"devops-bennu","email":"soporte@bennu.cl"},{"name":"jomendev","email":"patts2810@gmail.com"}],"homepage":"https://github.com/bennu/commons-js#readme","bugs":{"url":"https://github.com/bennu/commons-js/issues"},"dist":{"shasum":"75ae2d1cb981315e8ce752a0d30669034337e9a1","tarball":"https://registry.npmjs.org/@bennu-cl/commons-js/-/commons-js-0.0.1.tgz","fileCount":6,"integrity":"sha512-b36zpf1Ke1lo8RAbcYBCKfsuYuDYZsnQZlgXvP4kQVU8czMNQautQt+m6rRpcR2b6lHH3FGOVB9O3i8CreLhKA==","signatures":[{"sig":"MEUCIQDB8XKkeP7KIVpOuhNS/IqdFHfyzoGigJk6j2HoZNEiIAIgMwPKIl5QwBmAlU3PXZi/5NxJlbSqT6nsrXm05YIX6Z4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7194},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0f9213c85d8bdc7f5daabf241f59937ff1253425","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"devops-bennu","email":"soporte@bennu.cl"},"repository":{"url":"git+https://github.com/bennu/commons-js.git","type":"git"},"_npmVersion":"10.8.2","description":"A TypeScript validator for Chilean RUT (Rol Único Tributario) numbers","directories":{},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","@types/jest":"^29.5.0","@types/node":"^18.15.11"},"_npmOperationalInternal":{"tmp":"tmp/commons-js_0.0.1_1745356619271_0.41133296518417795","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@bennu-cl/commons-js","version":"0.0.2","keywords":["chile","rut","validator","validation","chilean","identity","typescript"],"author":{"name":"@bennu-cl/jomendev"},"license":"MIT","_id":"@bennu-cl/commons-js@0.0.2","maintainers":[{"name":"natbusnego","email":"nathabusnego@gmail.com"},{"name":"devops-bennu","email":"soporte@bennu.cl"},{"name":"jomendev","email":"patts2810@gmail.com"}],"homepage":"https://github.com/bennu/commons-js#readme","bugs":{"url":"https://github.com/bennu/commons-js/issues"},"dist":{"shasum":"7726fcfefa335dd69a7fa5ae7371c882a107438d","tarball":"https://registry.npmjs.org/@bennu-cl/commons-js/-/commons-js-0.0.2.tgz","fileCount":8,"integrity":"sha512-5pCZfmUU/NCFRSuCh9dghZsITIshGRtNwwTpbk8pFCd/7Lg8PeUBjiky9HRMLH0UUwAYmriVh46FTiWeynzMBw==","signatures":[{"sig":"MEYCIQDJu6in50MXLxn0VRUNioXYlpIoAPePhZdCWBlbR4X9egIhAN9QeuxMhF0sSTURZbMHZdbt7HzRAhDlxn+vS8a9oZ5+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9445},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4f44131b29f4e24dd11b809fd89267fa71ccd382","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"devops-bennu","actor":{"name":"devops-bennu","type":"user","email":"soporte@bennu.cl"},"email":"soporte@bennu.cl"},"repository":{"url":"git+https://github.com/bennu/commons-js.git","type":"git"},"_npmVersion":"10.8.2","description":"A TypeScript validator for Chilean RUT (Rol Único Tributario) numbers","directories":{},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","@types/jest":"^29.5.0","@types/node":"^18.15.11"},"_npmOperationalInternal":{"tmp":"tmp/commons-js_0.0.2_1752088964106_0.7149053906897351","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@bennu-cl/commons-js","version":"1.0.0","description":"A TypeScript validator for Chilean RUT (Rol Único Tributario) numbers","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"jest","prepublishOnly":"npm run build"},"keywords":["chile","rut","validator","validation","chilean","identity","typescript","two-factor","2fa","authentication","time-based"],"author":{"name":"@bennu-cl/jomendev"},"license":"MIT","devDependencies":{"@types/jest":"^29.5.0","@types/node":"^18.15.11","jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4"},"repository":{"type":"git","url":"git+https://github.com/bennu/commons-js.git"},"bugs":{"url":"https://github.com/bennu/commons-js/issues"},"homepage":"https://github.com/bennu/commons-js#readme","_id":"@bennu-cl/commons-js@1.0.0","gitHead":"528b5555d30d7a8bf62105db731ddae31eba64f2","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-RRnA1JSAvvX2RDRtVfagLpPzxAQeCdHU+btAHec+YGXCqHSDSkms4yu7zwe2KMj026r8aBjCpAxA72n+FJu5ag==","shasum":"e63c7f5b951930adc32f19a5e03191396b19414f","tarball":"https://registry.npmjs.org/@bennu-cl/commons-js/-/commons-js-1.0.0.tgz","fileCount":8,"unpackedSize":14209,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAu2OiwYghrJdLjJBnBmUUut3hCm1suEW7NbijNo3Y69AiEAocOrjimjDIZeSblgSsEKFsXGf5QInDoQCaknUxnPXCo="}]},"_npmUser":{"name":"devops-bennu","email":"soporte@bennu.cl"},"directories":{},"maintainers":[{"name":"natbusnego","email":"nathabusnego@gmail.com"},{"name":"devops-bennu","email":"soporte@bennu.cl"},{"name":"jomendev","email":"patts2810@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commons-js_1.0.0_1765289380095_0.8435610857800773"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-22T21:16:59.146Z","modified":"2025-12-09T14:09:40.587Z","0.0.1":"2025-04-22T21:16:59.469Z","0.0.2":"2025-07-09T19:22:44.290Z","1.0.0":"2025-12-09T14:09:40.338Z"},"bugs":{"url":"https://github.com/bennu/commons-js/issues"},"author":{"name":"@bennu-cl/jomendev"},"license":"MIT","homepage":"https://github.com/bennu/commons-js#readme","keywords":["chile","rut","validator","validation","chilean","identity","typescript","two-factor","2fa","authentication","time-based"],"repository":{"type":"git","url":"git+https://github.com/bennu/commons-js.git"},"description":"A TypeScript validator for Chilean RUT (Rol Único Tributario) numbers","maintainers":[{"name":"natbusnego","email":"nathabusnego@gmail.com"},{"name":"devops-bennu","email":"soporte@bennu.cl"},{"name":"jomendev","email":"patts2810@gmail.com"}],"readme":"# Commons-js\n\nA TypeScript utility package for validating and formatting Chilean identification and business data.\n\n[![Version](https://img.shields.io/npm/v/common-js?logo=npm)](https://www.npmjs.com/bennu/common-js)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5-3178C6?logo=typescript)](https://www.typescriptlang.org/)\n[![Downloads](https://img.shields.io/npm/dm/common-js)](https://www.npmjs.com/bennu/common-js)\n[![Bundle Size](https://img.shields.io/bundlephobia/minzip/common-js)](https://bundlephobia.com/bennu/common-js)\n[![Test Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)](https://github.com/bennu/common-js)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?logo=opensourceinitiative)](https://opensource.org/license/mit)\n\n## 📋 Features\n\n- **Zero Dependencies** - Lightweight and efficient implementation\n- **TypeScript Native** - Full type definitions and type safety\n\n\n## 🚀 Installation\n\n```bash\n# Using npm\nnpm install @bennu/common-js\n\n# Using yarn\nyarn add @bennu/common-js\n\n# Using pnpm\npnpm add @bennu/common-js\n```\n\n## 💻 Usage\n\n### JavaScript (CommonJS)\n\n```javascript\nconst { isValidRut } = require('@bennu/common-js');\n\n// Basic validation\nconsole.log(isValidRut('12.345.678-5')); // true\n```\n\n### TypeScript / ES Modules\n\n```typescript\nimport { isValidRut} from '@bennu/common-js';\n\n// Basic validation\nconsole.log(isValidRut('12.345.678-5')); // true\n```\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","readmeFilename":"README.md"}