{"_id":"@aloreljs/ngx-auto-id","_rev":"5-a57180def4683e896aca0d756d154a42","name":"@aloreljs/ngx-auto-id","dist-tags":{"latest":"2.0.0","ng7":"1.1.0"},"versions":{"1.0.0":{"name":"@aloreljs/ngx-auto-id","version":"1.0.0","publishConfig":{"access":"public"},"peerDependencies":{"@angular/common":"^7.0.0","@angular/core":"^7.0.0"},"main":"bundles/ngx-auto-id.umd.js","module":"fesm5/ngx-auto-id.js","es2015":"fesm2015/ngx-auto-id.js","esm5":"esm5/ngx-auto-id.js","esm2015":"esm2015/ngx-auto-id.js","fesm5":"fesm5/ngx-auto-id.js","fesm2015":"fesm2015/ngx-auto-id.js","typings":"ngx-auto-id.d.ts","metadata":"ngx-auto-id.metadata.json","sideEffects":false,"types":"ngx-auto-id.d.ts","_resolved":"","_integrity":"","_from":"file:dist.tgz","_id":"@aloreljs/ngx-auto-id@1.0.0","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-3B1/LRGjWyWL4YUP9imrz88fYW4SbPjmmlFO5I7XKz6MmPqL9sv+dI2CrC8bPiJAfp04nTPL7KvlsVzyavonpA==","shasum":"41eb14ff81e1e553aa717210fb298eb4804226a0","tarball":"https://registry.npmjs.org/@aloreljs/ngx-auto-id/-/ngx-auto-id-1.0.0.tgz","fileCount":25,"unpackedSize":60197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnMP3CRA9TVsSAnZWagAAVkcP/1kICnMgym4RtVGBV6rA\niBuFKFFnVHJ/zaQz+Daa6icOkSKp3pgRMqK5BDzNvanjOINQlqHSlJ3Qq/6g\nZ3sJzMSANzrsIxVIwSmuNWsZCfRTX9T9JjvZTr07bWE1s2lusdTPnHMpDoDv\n6LkH317sEwbK6QiuEQccY+C3mfS/pZClM2eR2oKolbV+oAeKxxaPgF/0o4x9\n9Ox2nIki/7l1XFcm2ZifLv0zWhJLmuklyQ5Db9IV9qzXUvcLhQSChcl7YHSg\nt+uyWUDqrC9kIoFtW4rz2xKOZ2yNmPUWnzRheK912Wh7oGA4MzC+dnBIefzL\nqXOaUYdvw0EOqJfcvoEwJINzvs3lNXoyk3bUlw6gK1/D3ydlNVT5cDn6J9/p\niVJDOU9+xk16ezy3Oi7klThK3h21vTAusxFgW8jHvJ7DlkJqwNWX/N9ao3ye\nom3pHCaoqxAvEPtWOcw+WjPP1qHFaxjRP0aj0/DoX9msIyWsQc66tAiIV1jx\nReeB453JcIGpm/sI8otjtaxc6lhC80t6Mg3/s9rdORxfcZxRiXiGpClQLTb7\nTNFSwvrW34mkOrC02Q3iKdndEfaXwGrYgwvDG86HW95phMBmRkxkvhRGcwWH\ng+jzS07Vbc/LGZQNAyuU+2aXXM7AM+TggEuYE4ZpO2mn4d8skt//lkh72Lbd\nTBox\r\n=kZOj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWwUTn2BHXi3Whxn3EZKA06/hKjdYz4h7mVQktnLjbtAiA+g7Slwi4Ko+teAxii4MEyJMmtMVZtZbi9T74y90qvOA=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-auto-id_1.0.0_1553777654377_0.7347192168326435"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aloreljs/ngx-auto-id","version":"1.0.1","publishConfig":{"access":"public"},"peerDependencies":{"@angular/common":"^7.0.0","@angular/core":"^7.0.0"},"main":"bundles/ngx-auto-id.umd.js","module":"fesm5/ngx-auto-id.js","es2015":"fesm2015/ngx-auto-id.js","esm5":"esm5/ngx-auto-id.js","esm2015":"esm2015/ngx-auto-id.js","fesm5":"fesm5/ngx-auto-id.js","fesm2015":"fesm2015/ngx-auto-id.js","typings":"ngx-auto-id.d.ts","metadata":"ngx-auto-id.metadata.json","sideEffects":false,"types":"ngx-auto-id.d.ts","_resolved":"","_integrity":"","_from":"file:dist.tgz","description":"Automatic ID generator for Angular","_id":"@aloreljs/ngx-auto-id@1.0.1","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-aeeW2Xcer3PcgsMmfSMKxOGPcAEoq5vQwmmQytL1UBwynnkXr+tYaCQzWZbVfS8vl15/ViBGnopGkY41eiF0KQ==","shasum":"7b019845b7dcb87bdedbc9d39bc5833430c56d4d","tarball":"https://registry.npmjs.org/@aloreljs/ngx-auto-id/-/ngx-auto-id-1.0.1.tgz","fileCount":28,"unpackedSize":63673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnNX0CRA9TVsSAnZWagAAsPkQAIbnhiDv38dJf0NmIP2o\nL0n6OO7GKsIFzD/Ky0uqm5O3usxsNsI4Ar1ZPkLw0Uxj7nK6aLtKTkS97A7t\n2Clm4SsnitklQ9sUeUncJRloTb3/j3BX0yg3fZJjnyN4XQ05IvxtcjdSlr5g\nCMD+oXqoEGUryUMqhDV0SovGtHzlC+RS31nm/v5X545dFbWg3w+rj+s4pVwN\nQv5iw9wyaOK15kI8u8cM65oBwTakI6ixwCuKcJbu/jUCr9RYbNLGRSLpaZPf\nDxA1c5W3EGqz3GHXl+tkjkt8G3q+tx0tXB6hH5xdKsPTStvWMlGiEuvqWVUY\nTbWxUsGwnHzXxbwvY6WxRqXWtzWw8byChUlKSjXRi1UxXiKyGguEyuGP88pe\n3jyqnP0xi27Cvd4G+z8lmst/H+jv1OdyU4xHJ7ZDywQ1Qi/vgH4hEDTlib6q\nBRNW5ZLS/Hh+6qgi1m504C63Gp8VpIfRE044rMsHgvccVoNBzpRDb8AINy49\nRPSYNzcVtBSr5RYp5UYTMJt+t9TlQ5mdmaWWyBBHc3ldmM69EHJgSUhdwRqt\nLDoL1Dmk9IQtxFiEAtZlc+uOPlB+B5JgKh8jJGOuoHbiVQAEqRKvPFQeZ0In\nlAq3nQBkinI+clklmz1lF5OQ2LC8qVSrWULDAE6W9sEBqPUYD9uzUUTtWkvk\ndLns\r\n=S5Of\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA++71V9ZD0GiwSEWKXNXbqWtih3I/ko8Zhogo6nS46vAiARViOYvdj+albFwy/TAgKrEKbRnOxgCO5MCSINf0r0tw=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-auto-id_1.0.1_1553782259907_0.8897001947446568"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aloreljs/ngx-auto-id","version":"1.0.2","publishConfig":{"access":"public"},"peerDependencies":{"@angular/common":"^7.0.0","@angular/core":"^7.0.0"},"main":"bundles/ngx-auto-id.umd.js","module":"fesm5/ngx-auto-id.js","es2015":"fesm2015/ngx-auto-id.js","esm5":"esm5/ngx-auto-id.js","esm2015":"esm2015/ngx-auto-id.js","fesm5":"fesm5/ngx-auto-id.js","fesm2015":"fesm2015/ngx-auto-id.js","typings":"ngx-auto-id.d.ts","metadata":"ngx-auto-id.metadata.json","sideEffects":false,"types":"ngx-auto-id.d.ts","keywords":["ngx","angular","auto","id","generator","id-generator","directive"],"description":"Automatically generates and applies the id attribute on elements","repository":{"type":"git","url":"git+https://github.com/Alorel/ngx-auto-id.git"},"license":"MIT","author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},"homepage":"https://alorel.github.io/ngx-auto-id/","bugs":{"url":"https://github.com/Alorel/ngx-auto-id/issues"},"_resolved":"","_integrity":"","_from":"file:dist.tgz","_id":"@aloreljs/ngx-auto-id@1.0.2","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-4MAK+dfwQIG4YxTWeEvpBnpQ1LErM8k2O5Gc1PRn+0gqgyNXusEe/UTp0x66F6p9GRp9rAS6FvuDpiNqjRfM3g==","shasum":"7418d1ea2f9cdb2b7a9183f1e281a483e2117ee8","tarball":"https://registry.npmjs.org/@aloreljs/ngx-auto-id/-/ngx-auto-id-1.0.2.tgz","fileCount":28,"unpackedSize":64760,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnOjOCRA9TVsSAnZWagAAlZMQAIy9vTx2WYw+6U87wWk/\nTG14Axb+szjliyVIrZlSSwBXIWSyFs4vNJxop8XJUhsVe9fhj0z+n0WTFhn1\nDLyiEtad8onbQ1XPU8MJm5lFhZx9xRvKROElKLnEkCbpojVUhV01KZQV+k/S\nM7uf+22wyvY7SjPXLIkwYuIAOHI+PPflSHzj/CFAOvr+MerS5nUk2qJq96lR\n55dVYhIXkOw6xIPJ6xuxrlg8XwsreDYv74Eo4oDUnTEj0W1hGhxM71QBw41h\nqFp4DWpbAh3IpzQQ0x6oG7lIpALc/0mdpUuFK8J+hYfrojAJjgdInDlCUVV3\nRWH8IxqZSglWshFfcXO1/HbkQqrKbD8Gd9PcuStMKksqR4tEXRG3MKNLRTNA\nUbry64vtzljVojL/hj5PFk9Pti6s9ptSY3i1xtghJ2hXNGM1pvujDa13+uo6\n6OVFNSUUPRsnJspCHZxeNK3DGqgwxdKJYzPnoNaZ8jqUnC/TKHXpqzGuDO36\nR8VhT022Anioju91bOFSld3nDUk+fsIcl5YnTeM87DLZ3kJy2621vBuPSDM9\nOC+wyLbNBApGqCU9Z2r6PMa8XMEZUJ+3NQLIf5MLx3300qzNV4RHFK2VsvgN\n11/wXPtAhV7kG2httR6IiwPynTS/+FChUXgctIfVk7wIlUyNAjHsetYie0rr\niehg\r\n=gNTt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe7MEjyAx8RLurpPDdA03h4QOlHp805cumLXsu7xZmzAIhAJQQEQqaG3e5rwjnw58q998MHaldcC+lUykEZow/nsKe"}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-auto-id_1.0.2_1553787085714_0.9453558286537422"},"_hasShrinkwrap":false},"1.1.0":{"name":"@aloreljs/ngx-auto-id","version":"1.1.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","tag":"ng7"},"peerDependencies":{"@angular/common":"^7.0.0","@angular/core":"^7.0.0"},"main":"bundles/ngx-auto-id.umd.js","module":"fesm5/ngx-auto-id.js","es2015":"fesm2015/ngx-auto-id.js","esm5":"esm5/ngx-auto-id.js","esm2015":"esm2015/ngx-auto-id.js","fesm5":"fesm5/ngx-auto-id.js","fesm2015":"fesm2015/ngx-auto-id.js","typings":"ngx-auto-id.d.ts","metadata":"ngx-auto-id.metadata.json","sideEffects":false,"types":"ngx-auto-id.d.ts","keywords":["ngx","angular","auto","id","generator","id-generator","directive"],"description":"Automatically generates and applies the id attribute on elements","repository":{"type":"git","url":"git+https://github.com/Alorel/ngx-auto-id.git"},"license":"MIT","author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},"homepage":"https://alorel.github.io/ngx-auto-id/","bugs":{"url":"https://github.com/Alorel/ngx-auto-id/issues"},"_resolved":"","_integrity":"","_from":"file:dist.tgz","readme":"# ngx-auto-id\n\nAutomatic ID generator for Angular\n\n[![Build Status](https://travis-ci.com/Alorel/ngx-auto-id.svg?branch=1.1.0)](https://travis-ci.com/Alorel/ngx-auto-id)\n[![Coverage Status](https://coveralls.io/repos/github/Alorel/ngx-auto-id/badge.svg?branch=1.1.0)](https://coveralls.io/github/Alorel/ngx-auto-id?branch=1.1.0)\n[![Greenkeeper badge](https://badges.greenkeeper.io/Alorel/ngx-auto-id.svg)](https://greenkeeper.io/)\n\n-----\n\n# Table of Contents\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Automatically setting the default ID](#automatically-setting-the-default-id)\n  - [Controlling the ID prefix](#controlling-the-id-prefix)\n    - [Setting the default ID prefix](#setting-the-default-id-prefix)\n  - [Generating an ID without setting it](#generating-an-id-without-setting-it)\n  - [Typical usage within forms](#typical-usage-within-forms)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# Installation\n\n```bash\nnpm install @aloreljs/ngx-auto-id@^1.0.0 #for Angular 7\n```\n\n# Usage\n\nIn whatever module you want to use the directive in:\n\n```typescript\nimport {NgxAutoIdModule} from '@aloreljs/ngx-auto-id';\n\n@NgModule({\n  imports: [NgxAutoIdModule]\n})\nexport class MyFancyModule {}\n```\n\n## Automatically setting the default ID\n\n```html\n<div ngx-auto-id></div>\n<div ngx-auto-id></div>\n```\n\nOutputs:\n\n```html\n<div id=\"el-1\"></div>\n<div id=\"el-2\"></div>\n```\n\n## Controlling the ID prefix\n\n```html\n<div ngx-auto-id></div>\n<div ngx-auto-id id-prefix=\"fancy-\"></div>\n```\n\nOutputs:\n\n```html\n<div id=\"el-3\"></div>\n<div id=\"fancy-1\"></div>\n```\n\n### Setting the default ID prefix\n\nYou might want to replace the default \"el-\" prefix with your own; in this case, you should provide a value for\nthe NGX_AUTO_ID_DEFAULT_PREFIX token:\n\n```typescript\nimport {NgModule} from '@angular/core';\nimport {NGX_AUTO_ID_DEFAULT_PREFIX} from '@aloreljs/ngx-auto-id';\n\n@NgModule({\n  //... declarations etc\n  providers: [{\n    provide: NGX_AUTO_ID_DEFAULT_PREFIX,\n    useValue: 'my-prefix-'\n  }]\n})\nexport class AppModule {\n  \n}\n```\n\n## Generating an ID without setting it\n\n```html\n<div [ngx-auto-id]=\"false\" #autoID=\"ngx-auto-id\"></div> <!-- Must be strictly false, not falsy -->\n<div [id]=\"autoID.toString()\"></div>\n<div [id]=\"autoID\"></div> <!-- The .toString() method returns the ID -->\n```\n\nOutputs:\n\n```html\n<div></div>\n<div id=\"el-4\"></div>\n<div id=\"el-4\"></div>\n```\n\n## Typical usage within forms\n\n```html\n<label [for]=\"idUsername\">Username:</label>\n<input ngx-auto-id #idUsername=\"ngx-auto-id\"/>\n```\n","readmeFilename":"README.md","_id":"@aloreljs/ngx-auto-id@1.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-q6wp/T5BbZo08YNyJhK6fl+ztbV0UXEFa1VqPpL7urxUN7K8puya+3rWarseI8UlhbFspcqycZexfytD4CwJEg==","shasum":"249046aa4d87f408732c0584fd93dc4ba1abd28d","tarball":"https://registry.npmjs.org/@aloreljs/ngx-auto-id/-/ngx-auto-id-1.1.0.tgz","fileCount":31,"unpackedSize":79425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMwzZCRA9TVsSAnZWagAAfT0P/iCaSPs1AbTw1EXiguXc\ngpxuOwderHU+istlzdf+BV+UV5mtU0FYcKGjKYA5atAPVSK8VNismuUNL9vc\nrPj21hZM1S4kvMMoaTMF5ZVNwWuK5CUlzru7uchY1AB+s8535wuCXWGQiYJ5\ns5AXkc5fTn19TXeOzIJqm2tP+P5chZR9kS94h/LXKv1eF0xMw4kpppmpl4Pc\nqY2V/DysPvECNVrUSr3zB2lgGM8vPVxGjR22ycXfSLuq0z1z4eieLC/Ny2EW\naw9QOjV38mBfMlKLnKbiAo86RIRygzvrzOW4LDNGJ+GCJtn8pqpr727xA0A2\n+tv+wH6Qqhg/iEFG4pLw5ocE032c/Om6ezksB30T2I1smIigyquyHIH5nr/4\npI7ZB7l+KS3GLyddLTheeQvt9haGdKCcuJHBIpMgERNaa4iPdMTpl4s1eLS4\nVuXjnIWMtRQpYa7738GX7F3RB53qO6Gja68JPqF+cP1dKhkCPrKxS8qEyenT\nXDzRiaowBf2yv1Imt6RgdK4KxxAJ+dFUr/YriGtfBBjWb9u9525adA8+H1Mb\n89/Q42804Wm1gWFH+LDFDDThtilrHm2Wx7jIdNFlhnDnqGewdW65PP6CU+FU\n7KNczZWr5TFWuPcA6Cp3IZjBsKwPCQPzwUWsMYoFyC7zqgjiPPtEz71+sNbK\nxuHQ\r\n=0suq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoLqxs/d724TsCuYPG0l5jDMVykhgvHxysd+Lm0HmXOwIgVOb/2wCEfR/ZG43V8EdTZpvAN+mTMLeEUcpx0FWJVAs="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-auto-id_1.1.0_1563626712947_0.5935300570305102"},"_hasShrinkwrap":false},"2.0.0":{"name":"@aloreljs/ngx-auto-id","version":"2.0.0","publishConfig":{"access":"public"},"peerDependencies":{"@angular/common":"^8.0.0","@angular/core":"^8.0.0"},"main":"bundles/ngx-auto-id.umd.js","module":"fesm5/ngx-auto-id.js","es2015":"fesm2015/ngx-auto-id.js","esm5":"esm5/ngx-auto-id.js","esm2015":"esm2015/ngx-auto-id.js","fesm5":"fesm5/ngx-auto-id.js","fesm2015":"fesm2015/ngx-auto-id.js","typings":"ngx-auto-id.d.ts","metadata":"ngx-auto-id.metadata.json","sideEffects":false,"types":"ngx-auto-id.d.ts","keywords":["ngx","angular","auto","id","generator","id-generator","directive"],"description":"Automatically generates and applies the id attribute on elements","repository":{"type":"git","url":"git+https://github.com/Alorel/ngx-auto-id.git"},"license":"MIT","author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},"homepage":"https://alorel.github.io/ngx-auto-id/","bugs":{"url":"https://github.com/Alorel/ngx-auto-id/issues"},"_resolved":"","_integrity":"","_from":"file:dist.tgz","_id":"@aloreljs/ngx-auto-id@2.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-J+T+yjNyYX4HFHFQYQea70Inxxi+eJxfC9CCwIvSWkpQKkue3Lb1iiLklKvJBzptrky7URUL0nTcVzzMNErUoQ==","shasum":"10600419b50878a31570a7ad853180c953ec1c32","tarball":"https://registry.npmjs.org/@aloreljs/ngx-auto-id/-/ngx-auto-id-2.0.0.tgz","fileCount":31,"unpackedSize":85803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMw/KCRA9TVsSAnZWagAAaAkP/3gh8Ln+zIEJtNaae3Hc\n4INpIVpJmrkwwuqmQncFT2BN3i6cpOrJckIXvtqYyMQVdbEB9cjyIstes9UB\nfGaOoZeq2PeIe3ujJCTRddOky4WbONuNBoFjWdfTZMMhuXaeqIfZXd6BuJrQ\n6bh9VHAL1J+NDUb6jrIeCyNJ35V5egCLfiUDDRwpagYj5fiXnL67gyfTioNj\nOJYwRIP21UUcE8AZHgeKzfgHF7+Byt5+jVrE7TVhF0tincjrlejC3v90IWo1\nm3ipKle7552Ww/BoSo2N08N2frVFCJN0xS8FTg9FRCIRw93cV+49vmPMnPqs\nhmAkRi3qbvopR4MFtLALXm8i6iYjFNnwoEikTcHI2KA9q8gIrfXInv+tIIYY\n6hwcyuhAtxL8bvY8Afpn9H0Dq4A4+0AulyCtaKzZncAqBIWvvLony7b/rbUj\nEyTjtBqT3p2mapkAGapGa0NADuhp9Hrmk9HpMsSTZOKfGHvUWExOVwlnF+60\nRCJqzy+T7ACEgfjJ+DAXMDwxBe8gswkhIVKJSZ2c2A80tCWsHohAbSdD6fGR\nk/j4RHF1pP1BVGtWIZHBAiG7bdgBgWxgUe0tIGTBCr+a0moqtSxhbySKw6la\n5IMcCFlLLU8AD7lmArUIsryGAaOf6No5lcRsT4Lp3iAl7JPbF1krNmBxi20w\nIg+H\r\n=x8BP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX3DUIBEDsDs8l8dCZfbRdah8FnTcstfTg0ln5M8fmcgIhAKKrJJohyXHxjExfMSWr9kYsFUZMQMMAsFSiCaEssJVJ"}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-auto-id_2.0.0_1563627466117_0.10599833587202201"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-28T12:54:14.195Z","1.0.0":"2019-03-28T12:54:14.593Z","modified":"2022-04-04T13:37:28.136Z","1.0.1":"2019-03-28T14:11:00.115Z","1.0.2":"2019-03-28T15:31:25.886Z","1.1.0":"2019-07-20T12:45:13.082Z","2.0.0":"2019-07-20T12:57:46.272Z"},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"readme":"# ngx-auto-id\n\nAutomatic ID generator for Angular\n\n[![Build Status](https://travis-ci.com/Alorel/ngx-auto-id.svg?branch=2.0.0)](https://travis-ci.com/Alorel/ngx-auto-id)\n[![Coverage Status](https://coveralls.io/repos/github/Alorel/ngx-auto-id/badge.svg?branch=2.0.0)](https://coveralls.io/github/Alorel/ngx-auto-id?branch=2.0.0)\n[![Greenkeeper badge](https://badges.greenkeeper.io/Alorel/ngx-auto-id.svg)](https://greenkeeper.io/)\n\n-----\n\n# Table of Contents\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Automatically setting the default ID](#automatically-setting-the-default-id)\n  - [Controlling the ID prefix](#controlling-the-id-prefix)\n    - [Setting the default ID prefix](#setting-the-default-id-prefix)\n  - [Generating an ID without setting it](#generating-an-id-without-setting-it)\n  - [Typical usage within forms](#typical-usage-within-forms)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# Installation\n\n```bash\nnpm install @aloreljs/ngx-auto-id@^2.0.0 # for Angular 8\nnpm install @aloreljs/ngx-auto-id@^1.0.0 # for Angular 7\n```\n\n# Usage\n\nIn whatever module you want to use the directive in:\n\n```typescript\nimport {NgxAutoIdModule} from '@aloreljs/ngx-auto-id';\n\n@NgModule({\n  imports: [NgxAutoIdModule]\n})\nexport class MyFancyModule {}\n```\n\n## Automatically setting the default ID\n\n```html\n<div ngx-auto-id></div>\n<div ngx-auto-id></div>\n```\n\nOutputs:\n\n```html\n<div id=\"el-1\"></div>\n<div id=\"el-2\"></div>\n```\n\n## Controlling the ID prefix\n\n```html\n<div ngx-auto-id></div>\n<div ngx-auto-id id-prefix=\"fancy-\"></div>\n```\n\nOutputs:\n\n```html\n<div id=\"el-3\"></div>\n<div id=\"fancy-1\"></div>\n```\n\n### Setting the default ID prefix\n\nYou might want to replace the default \"el-\" prefix with your own; in this case, you should provide a value for\nthe NGX_AUTO_ID_DEFAULT_PREFIX token:\n\n```typescript\nimport {NgModule} from '@angular/core';\nimport {NGX_AUTO_ID_DEFAULT_PREFIX} from '@aloreljs/ngx-auto-id';\n\n@NgModule({\n  //... declarations etc\n  providers: [{\n    provide: NGX_AUTO_ID_DEFAULT_PREFIX,\n    useValue: 'my-prefix-'\n  }]\n})\nexport class AppModule {\n  \n}\n```\n\n## Generating an ID without setting it\n\n```html\n<div [ngx-auto-id]=\"false\" #autoID=\"ngx-auto-id\"></div> <!-- Must be strictly false, not falsy -->\n<div [id]=\"autoID.toString()\"></div>\n<div [id]=\"autoID\"></div> <!-- The .toString() method returns the ID -->\n```\n\nOutputs:\n\n```html\n<div></div>\n<div id=\"el-4\"></div>\n<div id=\"el-4\"></div>\n```\n\n## Typical usage within forms\n\n```html\n<label [for]=\"idUsername\">Username:</label>\n<input ngx-auto-id #idUsername=\"ngx-auto-id\"/>\n```\n","readmeFilename":"README.md","description":"Automatically generates and applies the id attribute on elements","homepage":"https://alorel.github.io/ngx-auto-id/","keywords":["ngx","angular","auto","id","generator","id-generator","directive"],"repository":{"type":"git","url":"git+https://github.com/Alorel/ngx-auto-id.git"},"author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://github.com/Alorel"},"bugs":{"url":"https://github.com/Alorel/ngx-auto-id/issues"},"license":"MIT"}