{"_id":"@ekkolon/ngx-gist","_rev":"1-d07278ece4c2f1f0b818166cbcfac7a3","name":"@ekkolon/ngx-gist","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@ekkolon/ngx-gist","version":"0.0.1","license":"MIT","description":"Angular library for embedding GitHub Gists in your Angular app","author":{"name":"Nelson Dominguez","email":"18242749+ekkolon@users.noreply.github.com","url":"httsp://github.com/ekkolon"},"keywords":["angular","gist","github","embed","iframe","typescript"],"repository":{"type":"git","url":"git+https://github.com/ekkolon/ngx-gist.git","directory":"projects/ngx-gist"},"peerDependencies":{"@angular/common":"^15.1.0","@angular/core":"^15.1.0","dompurify":"^2.4.3","iframe-resizer":"^4.3.3"},"dependencies":{"tslib":"^2.3.0"},"sideEffects":false,"module":"fesm2015/ekkolon-ngx-gist.mjs","es2020":"fesm2020/ekkolon-ngx-gist.mjs","esm2020":"esm2020/ekkolon-ngx-gist.mjs","fesm2020":"fesm2020/ekkolon-ngx-gist.mjs","fesm2015":"fesm2015/ekkolon-ngx-gist.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2020":"./esm2020/ekkolon-ngx-gist.mjs","es2020":"./fesm2020/ekkolon-ngx-gist.mjs","es2015":"./fesm2015/ekkolon-ngx-gist.mjs","node":"./fesm2015/ekkolon-ngx-gist.mjs","default":"./fesm2020/ekkolon-ngx-gist.mjs"}},"gitHead":"7a998ce7f1c15ae398bef314c771386b25e684a3","bugs":{"url":"https://github.com/ekkolon/ngx-gist/issues"},"homepage":"https://github.com/ekkolon/ngx-gist#readme","_id":"@ekkolon/ngx-gist@0.0.1","_nodeVersion":"16.15.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Wv+olWk0XdquMHruZH3ObFvsYFXM+5WG3bYH1oN3OuergcIdaGnhskWvUKNt0RIDmyYYXc5PSm8hkW7Ki+CLLw==","shasum":"02f418f2666ca049a32c0e869d87c31ed556feba","tarball":"https://registry.npmjs.org/@ekkolon/ngx-gist/-/ngx-gist-0.0.1.tgz","fileCount":16,"unpackedSize":73782,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY0qofImJTOs6KSierTQ4D6BjyYu7hAt7/m4PyT1AkygIgDgvhuYIr6bVZHAO4EVn567V6rhJ6+/beGvrQdZots34="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2qnmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqV6Q//ZbddQs4sLvRK08VEVSukRFCFxbSVV8RK6GOgTpwGiRg106t+\r\nAf3OoW3rCB/Po6f/H4HEv4eKLGG7g8wYTFYuVlwbPfkhoq2knoJjMyNI0nR6\r\nHMQenaHtdaqI7Xb+Fov1ViaOp/hYL849AM9lSjy1gaOap2dcHNznzg9Q9Ej7\r\nj9fs9+JbUlMsRPnLHxmtEuMjTaz2eDNfeUqjnZF1RnWcRG+eDYRNVDNON+j0\r\nmlQ2lShzX88wm9rht7q9AILFYo+DdMMI8BvcqYc+BJao0AZgDrwbWU1W5GHY\r\nLlthB7bJ5o1cJNjIoatGDjLvz2UvmYVInOdvCg3HFftTNRxDRW2nbyaPBNwK\r\nmzCXPPANUpQeoSB+0F/SnQkzfI75CEBVWHl8hZmTc5LuXpdoaFOIqnSLRZX6\r\n9dDMOH/DPdyUs9j1dbwpkfG9KK7HqgXz8aWCGkhABHv+0PoiOvClMaIv2mfe\r\nEiiBkFd5UybavJ9Ioo3o/hD4Hc/k6ZyBNHpCuuXXx8yVcGgyOvNPYrAHXJ8N\r\nqzbPF+PK2JYetUw8BCaJfvO6SD7eIn8qXVVZYA8WbOuPjvSfVoCgb/uU9SZR\r\n1MKpEeZlkC35xOofBcdq5D6BzIJMF5lEpI2wMgxH2OHNJwxsfgJzz+vGn2OK\r\nI91PvlaEXRmSi+yO6DXOe3wd8mROOeBBDc8=\r\n=Nob6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nelsilicous","email":"nelsilicous@googlemail.com"},"directories":{},"maintainers":[{"name":"nelsilicous","email":"nelsilicous@googlemail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-gist_0.0.1_1675274726326_0.78731159176138"},"_hasShrinkwrap":false},"0.0.2":{"name":"@ekkolon/ngx-gist","version":"0.0.2","license":"MIT","description":"Angular library for embedding GitHub Gists in your Angular app","author":{"name":"Nelson Dominguez","email":"18242749+ekkolon@users.noreply.github.com","url":"httsp://github.com/ekkolon"},"keywords":["angular","gist","github","embed","iframe","typescript"],"repository":{"type":"git","url":"git+https://github.com/ekkolon/ngx-gist.git","directory":"projects/ngx-gist"},"peerDependencies":{"@angular/common":"^15.1.0","@angular/core":"^15.1.0","iframe-resizer":"^4.3.3"},"dependencies":{"tslib":"^2.3.0"},"sideEffects":false,"module":"fesm2015/ekkolon-ngx-gist.mjs","es2020":"fesm2020/ekkolon-ngx-gist.mjs","esm2020":"esm2020/ekkolon-ngx-gist.mjs","fesm2020":"fesm2020/ekkolon-ngx-gist.mjs","fesm2015":"fesm2015/ekkolon-ngx-gist.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2020":"./esm2020/ekkolon-ngx-gist.mjs","es2020":"./fesm2020/ekkolon-ngx-gist.mjs","es2015":"./fesm2015/ekkolon-ngx-gist.mjs","node":"./fesm2015/ekkolon-ngx-gist.mjs","default":"./fesm2020/ekkolon-ngx-gist.mjs"}},"gitHead":"f57a521f297b8500075640b24890cd3e1c0371bf","bugs":{"url":"https://github.com/ekkolon/ngx-gist/issues"},"homepage":"https://github.com/ekkolon/ngx-gist#readme","_id":"@ekkolon/ngx-gist@0.0.2","_nodeVersion":"16.13.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-SyTxmfYsOI+jFnZOZuORuX6SY1nQd5NkQ5IJoB5VrynPpvY9w0Rr8Bq6BtT2z93SwY3WsEVbCwOrbHIyAtd9tQ==","shasum":"363030aca88367aedb72d2edf58abf61a17e2ee9","tarball":"https://registry.npmjs.org/@ekkolon/ngx-gist/-/ngx-gist-0.0.2.tgz","fileCount":16,"unpackedSize":79960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpX6SHzQSeu6k5plPiR3UB+R3BPJm/Fe6nEd7IUCz/zAIhAKAof+Zu9G3VJ+qnXbJJj/F51/JTPvcD+gfEONePidXx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4pxFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1Rg//SUN/nrcX43i8iHza5T1iae7Gruk1LBwgP2P6LkMk9ZcbAvGL\r\neDR7/065VeG0+p9OeQwdhhkoatllhXUVCJMDoKZATJfttL4dj04dC77h0eBZ\r\ns0fk36Nxnea5cOXjIwzmXoWpG/I++Yf40qEDKwHI4ioyyVN37GMDPRV9KkS2\r\nfhWCYjbA3oJ2bsFp1yfv//0236xEl+ZdaDMLeJY1f0D+vJwltZPhPiutElhL\r\nO5Te0E/DSsr+/PUOwSunBE66AUm06Ab5cR1LLEqkxLtJYNtTS03AEZtIlXRP\r\n9xQalFFZ+7viWOLNFo6g4F4B0hWOOjAUifbyydNslEF899yJRyw/iMY4n3sK\r\nTnaL7LUTzaL6vYCT0vWCxRvl8JXLN0ueHLdm0guynEb226hH7/2vZ24juK8H\r\nQI1hBOnGpSruJLgjBYmssr00BJtNiydDTxRLKx8edTKHyb3OnqO+Z4yY1cci\r\nZr4dQ4uzETT9hujuqaQ7YXCAaJPuoggTWCXmAYuAERVRGewR0dNk0sTkje/6\r\nIicfsLEnvF/9YdiiagKa0jZlDonS64GhxVeMibHwDLlwVb2lTyfJwRLSmDS8\r\nikE+5KHJCtIUDMW7u/anwCxv6mN47pPVpymQ5Ahkf23MzTSZqaxpuckxZNY/\r\nsUxham4ob8FGY2hIsmERobfzoo+dhv2dsVk=\r\n=0YHs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nelsilicous","email":"nelsilicous@googlemail.com"},"directories":{},"maintainers":[{"name":"nelsilicous","email":"nelsilicous@googlemail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-gist_0.0.2_1675795525743_0.21667782506323618"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-01T18:05:26.240Z","0.0.1":"2023-02-01T18:05:26.553Z","modified":"2023-02-07T18:45:26.039Z","0.0.2":"2023-02-07T18:45:25.924Z"},"maintainers":[{"name":"nelsilicous","email":"nelsilicous@googlemail.com"}],"description":"Angular library for embedding GitHub Gists in your Angular app","homepage":"https://github.com/ekkolon/ngx-gist#readme","keywords":["angular","gist","github","embed","iframe","typescript"],"repository":{"type":"git","url":"git+https://github.com/ekkolon/ngx-gist.git","directory":"projects/ngx-gist"},"author":{"name":"Nelson Dominguez","email":"18242749+ekkolon@users.noreply.github.com","url":"httsp://github.com/ekkolon"},"bugs":{"url":"https://github.com/ekkolon/ngx-gist/issues"},"license":"MIT","readme":"# ngx-gist\r\n\r\n[![NPM Version][npm-image]][npm-url]\r\n\r\nA simple and lightweight library for embedding GitHub Gists in your Angular applications.\r\n\r\n![Alt text](/projects/ngx-gist-playground/src/assets/animated/ngx-gist-example.gif?raw=true \"Optional Title\")\r\n\r\n## Features\r\n\r\n- Embed all files from a GitHub gist\r\n- Embed a single target file\r\n- Auto-sized iframe\r\n- Runs outside NgZone\r\n\r\n## Requirements\r\n\r\nMake sure to have `iframe-resizer` installed. This library is needed for auto-resizing the iframe in which the gist is rendered.</p>\r\n\r\n```shell\r\nnpm install iframe-resizer\r\n```\r\n\r\n**Install `ngx-gist`**\r\n\r\n```bash\r\nnpm install @ekkolon/ngx-gist\r\n```\r\n\r\n## Usage\r\n\r\n```ts\r\n// app.module.ts\r\n\r\nimport {NgxGistModule} from '@ekkolon/ngx-gist'\r\n\r\nexport class AppModule {\r\n    ...\r\n    imports: [\r\n        ...\r\n        NgxGistModule\r\n    ]\r\n}\r\n```\r\n\r\n```html\r\n<!-- app.component.html -->\r\n...\r\n\r\n<!-- Display all files -->\r\n<div class=\"my-awesome-gist-container\">\r\n  <ngx-gist [gistId]=\"GIST_ID\"></ngx-gist>\r\n</div>\r\n\r\n<!-- Display a specific file -->\r\n<div class=\"my-awesome-gist-container\">\r\n  <ngx-gist [gistId]=\"GIST_ID\" [file]=\"my-gist-file.ts\"></ngx-gist>\r\n</div>\r\n\r\n...\r\n```\r\n\r\n## Authors\r\n\r\n- [@ekkolon](https://www.github.com/ekkolon)\r\n\r\n## License\r\n\r\n[MIT](https://choosealicense.com/licenses/mit/)\r\n\r\n## Acknowledgements\r\n\r\n- [iFrame Resizer](https://github.com/davidjbradshaw/iframe-resizer/)\r\n  This library is used to adjust the iframe's height automatically.\r\n\r\n[npm-image]: https://img.shields.io/npm/v/@ekkolon/ngx-gist.svg\r\n[npm-url]: https://npmjs.org/package/@ekkolon/ngx-gist\r\n","readmeFilename":"README.md"}