{"_id":"@cable8mm/jquery-infinite-with-template","_rev":"8-b86bc47da92c03c3e86d0cf3d8f6f0e6","name":"@cable8mm/jquery-infinite-with-template","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@cable8mm/jquery-infinite-with-template","version":"1.0.0","keywords":["infinite","scroll","jquery","template"],"author":{"url":"https://github.com/cable8mm","name":"Sam Lee"},"license":"MIT","_id":"@cable8mm/jquery-infinite-with-template@1.0.0","maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"dist":{"shasum":"c794326f245f30092a7d3dc748e3c9dd4d16dce1","tarball":"https://registry.npmjs.org/@cable8mm/jquery-infinite-with-template/-/jquery-infinite-with-template-1.0.0.tgz","fileCount":8,"integrity":"sha512-0ENpqf9E8NE4amgpG8fXMleVKCOqUMSDuWxE+jszSOWGhfjVVhLOU524Q6dyA7Mefci4f692JlMsOiLlobt/sw==","signatures":[{"sig":"MEUCIGypl5eUSaoNSXQT8w7j5JsiRq2pto+GmmykXitmV8MZAiEA8yE8TiGI65E1ohA8xAB5QTvxRGkRzb9NNTA8c/tMI6Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEAxNCRA9TVsSAnZWagAAQ84P/02vd+5mKjthy9CbURRG\nhsciVGdUp7pYWbHsA8dMK1Kt4xQpScmkLc6bQ2+dLyhFHN9QdZ2mwRpKZlWT\nK3Tm6rLx72+9cHwRJEAVg1zcw+Qn4v1Y4mfPqT2mV7x3sLTldHHvGfcWJASa\nVopQIr0l8OT5l2S4BrZbufUe45iccGZ/o7hDbwJ7DhTGNm9G6lKzwNsTieP7\nv5bd7GrZguG1heUXHInUMapXmqXBy7A/odNT5xwvd05mI2pl2n9q3+aDb+67\nTk4qS7HvOhQWYqDcp+jEiEJvvRLiHVbF7QsBfTBbb9Dxe6ayfBE2CozNzvD9\nQ4NI6ojHfXVzyFjX/vRLCGvPHD/wnStHHbwKkbG9UUUYAqIYCZ8v7UMTb/AX\ns5CIKt/pq1qmoDHYdSjwOUnNLYcyAZRTpkaAd7MuF3ppub9MAsGGxMIL21cC\nYhM6CSnzKMeldoV5RubXQvUDwyCFKssMyPshQNJPV/1MThulE6DkrtY7YSjO\nIXh+jr/BZl7APh+s0elUsW7Ij2eDtaCV0YzvijJtcJz/KxNWFGbX/asYQrqV\nOap6/gKcSYFJDeTmCVktTrA7bagujBbcoYqPMpYSOe2y6GVhDzxLq4syF49G\nH/uoiq954CvIiE80L6NbvDjbIzK0+3S99nHVgBUzHmus10Y93UG6E1rKnDEH\n0FaA\r\n=qnAU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"jquery.infiniteScrollWithTemplate.js","title":"jQuery Infinite With Template","gitHead":"9e3245316e3c3709a25cd8c5cbcf4b465bba6b08","_npmUser":{"name":"cable8mm","email":"cable8mm@gmail.com"},"repository":{"url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git","type":"git"},"_npmVersion":"6.14.11","description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like Laravel and jQuery until now, this little library will help.","directories":{},"_nodeVersion":"14.15.4","dependencies":{"jsrender":">= 1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jquery-infinite-with-template_1.0.0_1611664460647_0.8581844531183533","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@cable8mm/jquery-infinite-with-template","version":"1.0.1","keywords":["infinite","scroll","jquery","template"],"author":{"url":"https://github.com/cable8mm","name":"Sam Lee"},"license":"MIT","_id":"@cable8mm/jquery-infinite-with-template@1.0.1","maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"dist":{"shasum":"928eb5e7eed1978e203894952ac2d7783ebdfe8e","tarball":"https://registry.npmjs.org/@cable8mm/jquery-infinite-with-template/-/jquery-infinite-with-template-1.0.1.tgz","fileCount":8,"integrity":"sha512-kRGtK9KjYwPX0Ad+DuC4CbCe7gTLNosN2LEsI4nBoMHX2zzb9H0ShjkgcbOOrd2zSUaOMIwRCU53LQbDN1nw3Q==","signatures":[{"sig":"MEQCIGyOsSDylR/jF2mTZ74ejVJKobFAq1NnFVs+Q+dI9L46AiBKfluKt9WaKWM+sugSrgGXIfj8c5khxEg8cObkKSWcdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgERxeCRA9TVsSAnZWagAA+twP/3JyGjN3xIi+jKrpgAUE\nynGLd2Iav3ePXR66WtnAz/mMKLIMOlMN8L9COxX2a6RvvOwLRBUKRMa1ENfF\nIoe7hvsZLK/LYjYB9p1Ey28Hw0yidvxwV+ZB6CjseavcYEKkc2QTYvNw2SlF\nyU4VlbqtK9Jtw8WPAJn2W7quj8bWoQM24xJezHMQ9HEBRmhWnU1jvxKwRQzf\nRPOPb+xGyW105PlcCnUEPOQwt1J/VJwoo0t0V9JiH55c8fAlVcsKYJMLdFo5\ng318WdDHAU79qOurG7odGoKpcQcuymRq1fYFovy8656IHWYN/dUH/I4s4O1u\nzOc5xfECwvS7cmpAIq4x4h9lg7tYBL5aiuB8ITD1m79eqv/M2IaC9S5+Sr0X\nn9EpLvMzj6SL1UYD389MzHeOVlqQ673IgXaVnYgPVIugdez8T6Q6PYxKk3hX\nhdoiWFdVhzzVgZqkfuPGZH7Vg5RdJmiDkbFXDzR6ThWfNP/dH3ILlAohfLDz\nnxzTbONo+RpeIiq8iZ4NxK4NZBlxQNCDEGxdRjfqzClrpeP/YEccN2AxFmdJ\nKCoKfn20SEl3XBlYREKLvV0yFFZ2OwIS3W6L8a9u/c8DTr5+bjNwdsLLo3Xr\nTzXPSTzrL6toGDVytJA3BIZUBGmkueqhHH6i6+wziJWUVcaLsJgCJqqwYJD5\npeLP\r\n=0SQ5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"jquery.infiniteScrollWithTemplate.js","title":"jQuery Infinite With Template","gitHead":"ccf255ea9e9ee95d93b849a658fd2c6feac3b1fc","_npmUser":{"name":"cable8mm","email":"cable8mm@gmail.com"},"repository":{"url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git","type":"git"},"_npmVersion":"6.14.11","description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like jQuery until now, this little library will help.","directories":{},"_nodeVersion":"14.15.4","dependencies":{"jsrender":">= 1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jquery-infinite-with-template_1.0.1_1611734110266_0.16006615471849517","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@cable8mm/jquery-infinite-with-template","version":"1.0.2","keywords":["infinite","scroll","jquery","template"],"author":{"url":"https://github.com/cable8mm","name":"Sam Lee"},"license":"MIT","_id":"@cable8mm/jquery-infinite-with-template@1.0.2","maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"dist":{"shasum":"ebcc0a16402b7462fc61b52d7e3df7325f9af8ff","tarball":"https://registry.npmjs.org/@cable8mm/jquery-infinite-with-template/-/jquery-infinite-with-template-1.0.2.tgz","fileCount":8,"integrity":"sha512-8IuKLkjjnHq5kvU4fUphZIsuH0Vc9DC3d/OYl0rcT2bndGAljkiGCrARd9xhW2peAuHdykaJ3Sz5Eir/QvGL4A==","signatures":[{"sig":"MEYCIQCY1Zifzw1jp9qK5JIsHPitxjYtfz0/iOo2tc8Y0SJJhAIhAJO1OocGPKV+PyV/tSQKlE9VXa/NtrFu/YAB/gUwP2hw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPuzwCRA9TVsSAnZWagAAeOMP/Ah1x57Gz+IHT+GpeAfZ\noLWEKiYcisopnI4TpIZUWMLKw6zSFOze4XJZPLq9W188k2yT25dSWGNMYTq/\nw9A0TxloPO29L7/lU334eNDOmhrFqUyi+Al7cq1fCOtqxgOXM/3DfSR2n0vG\nuDrXVDY19bJP5+WmawaB49BBbK93Zva0k5O6zwLbYXCfAT4jj/pw9b0eRaoW\nKPOfJx5esDHJywpi9L3xkcMFAgg/di5WKQ9xy2ns7x4+zqbTW2Z6kHST1Nvv\npPheZtdyEWIWiJyXBE0vFlMyl55vW3Scj/W9xlyvvbtC40ySkEFyVeFTckiC\nmq/mt1M/++cjQLydUf94raN7bf0t+QeCHL/KN656cpa5icwCurVsi1KNp57i\nkkQ2nIcfxnbz+0CMU91smvD9i57np96ZkyK9TGhDsfWsHkQ1MCoHtdbOeonM\ngnQs8UquuqC75gHjB7PtxivfiUEH/OeN1m/OGQIQK8TVVQk1159NaM0frk0R\nmaOZtKd4wLhUNY1MlRzEh9JFJp9Jg3qGAKfBuIIVbY4ra76KcAqMqHxbLA5w\nRFZabSHflLvWrNis0y0NnSqmbjPV19nBCRRCWwDyTNd/uqHeBNRXQ7d1D6dM\nMNYGoYiDGMDPUH9AF9v08LsFoXPb/aHH+022txMSPOCug1XR5rRHjY4tFEs8\nuuaB\r\n=VCmp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"jquery.infiniteScrollWithTemplate.js","title":"jQuery Infinite With Template","gitHead":"6a391cd5f0ade41f834e19ec9b202f4f29a03f62","_npmUser":{"name":"cable8mm","email":"cable8mm@gmail.com"},"repository":{"url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git","type":"git"},"_npmVersion":"7.5.2","description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like jQuery until now, this little library will help.","directories":{},"_nodeVersion":"14.15.4","dependencies":{"jsrender":">= 1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jquery-infinite-with-template_1.0.2_1614736624135_0.9771528022095333","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@cable8mm/jquery-infinite-with-template","version":"1.0.3","keywords":["infinite","scroll","jquery","template"],"author":{"url":"https://github.com/cable8mm","name":"Sam Lee"},"license":"MIT","_id":"@cable8mm/jquery-infinite-with-template@1.0.3","maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"dist":{"shasum":"b9ddccf8a5395f09e3f23f272ffac94559b0a7d0","tarball":"https://registry.npmjs.org/@cable8mm/jquery-infinite-with-template/-/jquery-infinite-with-template-1.0.3.tgz","fileCount":8,"integrity":"sha512-dhQCdR4bwzWbaRWXTofWYFyQlmOqreDL6Kd/W+dp2CF2/Gr93x3M2s13YdU7R1eq3ayhrvgu354KyGOhKGBc/w==","signatures":[{"sig":"MEYCIQC2jeMQWv9Zi1gTxN38Sk6k9zO1IONn8R8txQtCBwpY0wIhAOdIACwG50oVPWNN9mv2Rl6n6pu8zqsFOrRgDOWxWCX4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVA3TCRA9TVsSAnZWagAAneoP/1qfbYNkJUAQhsYFrVmc\n96UjNcGQ7QQ/o/omXBKCBrLYw6eJXaASK2fTZ3u58q9JuN15VEo3OWCeDVYD\ntm9STKOVAtRlV7SS69laj8eEMWIqjbcROaWYDpamg4JgyuOGB/XII2xYaJoZ\nsksXTI0NeWnK7CC+TSDLldQVdjVOy2DrErBxRyJwNyzbkT/2tyi/G3cEyJJt\nAH4l3PfWyT+chDmIuBOEonC/By59ByI5mrIVFXwVkFfHDW3tLQVFqPbYsvm8\nSzbPAbbCFTGNXTeNZrebS3FDkFlEI2HGZihnk6+3WwrK0v28NbX59mhUNJRt\nGBPLAu7ayOsO7a4q89//DnjOrbJcxo3psfHJZNeI+MD4Qsphv6Enac2ci9iS\nnsuw9335/IeSjb+BoMw1t8Jkmz6ZBUkYRRNZvVCkI/c5lJTRChk2RYgSebo7\nik10dd4F/5Ksi/7Iw02x8/e/CpaqSc9Z1RhVH4+jrI/V34tviuhjpZEsTo9l\nK8zdyT/Mg9Nj7r47li3k8s5VWQyD+ydv3QRZWu3j12o6tMSMjSNaeSdRx9VA\nFmu5/wK/Zo2J9iEL2LmZxDqcwjK8EVhdaNKYE8MMF4F6Z2wxTNc3TCqBe/0v\n9/U1r+UAmt1SJymZyAgsRp9EFiE2dC1kbTG6XMaYFp+srlYuqvkjuLif5e5m\nkb6o\r\n=LiG2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"jquery.infiniteScrollWithTemplate.js","title":"jQuery Infinite With Template","gitHead":"07080628001058ace72160dee5901c2fcd679ad5","_npmUser":{"name":"cable8mm","email":"cable8mm@gmail.com"},"repository":{"url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git","type":"git"},"_npmVersion":"7.6.3","description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like jQuery until now, this little library will help.","directories":{},"_nodeVersion":"14.15.4","dependencies":{"jsrender":">= 1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jquery-infinite-with-template_1.0.3_1616121299362_0.4125696550662532","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@cable8mm/jquery-infinite-with-template","version":"1.0.4","keywords":["infinite","scroll","jquery","template"],"author":{"url":"https://github.com/cable8mm","name":"Sam Lee"},"license":"MIT","_id":"@cable8mm/jquery-infinite-with-template@1.0.4","maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"dist":{"shasum":"f7a7ad7399c8c6caf53ec5c4f88bd35cb450fdf3","tarball":"https://registry.npmjs.org/@cable8mm/jquery-infinite-with-template/-/jquery-infinite-with-template-1.0.4.tgz","fileCount":8,"integrity":"sha512-/OzisuP8HCl79uLSBiV72VMHx0VT4ZGEcqSmAb/ksi2gOvB12k0tzYCH9b1vVxSzRm+qk8C+prB9dhbSHyzEMg==","signatures":[{"sig":"MEQCIF+CnXqFsSUnedV8DCeGfE1axByzoDlPs5QoL4hVdxu9AiBI9kNN8gCtl2lCTXrI/ju1Tsz0zVnPCAdWWmcid9tCSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16691},"main":"jquery.infiniteScrollWithTemplate.js","title":"jQuery Infinite With Template","gitHead":"89a9070280ccb56fad816bd83cb5302b5b8f2881","_npmUser":{"name":"cable8mm","email":"cable8mm@gmail.com"},"repository":{"url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git","type":"git"},"_npmVersion":"10.2.1","description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like jQuery until now, this little library will help.","directories":{},"_nodeVersion":"21.1.0","dependencies":{"jsrender":">= 1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jquery-infinite-with-template_1.0.4_1706864278805_0.823933672349022","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@cable8mm/jquery-infinite-with-template","version":"1.1.2","keywords":["infinite","scroll","jquery","template"],"author":{"url":"https://github.com/cable8mm","name":"Sam Lee"},"license":"MIT","_id":"@cable8mm/jquery-infinite-with-template@1.1.2","maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"dist":{"shasum":"04a0a5cfa4f0f355ee8691299be1ad3e2235aa2e","tarball":"https://registry.npmjs.org/@cable8mm/jquery-infinite-with-template/-/jquery-infinite-with-template-1.1.2.tgz","fileCount":19,"integrity":"sha512-YDzBL6fFQNYbJOpSDgIqAiNoiDJrgCF0BmXevXrhYLJqEt6qGvFYheUgsMclGwy1Ot13gRWICh8jtA5l6LF2ag==","signatures":[{"sig":"MEUCIQDdj7kYaUqIZtSOw3dg30YADcnxNrsQ00lHPk8jbZfOJAIgf5PSDTTreZlWBcZUJURlSPeE0SjQUKzZ2v1iEe6mAoY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45237},"main":"jquery.infiniteScrollWithTemplate.js","title":"jQuery Infinite With Template","types":"jquery.infiniteScrollWithTemplate.d.ts","gitHead":"18f21f50f9ed70f347ec6ca09a3e06e77e50d620","scripts":{"dev":"http-server . -p 8080 -o /examples/index.html","test":"jest","build":"npm run minify && node scripts/prepare-dist.js","serve":"http-server . -p 8080","minify":"terser jquery.infiniteScrollWithTemplate.js -o jquery.infiniteScrollWithTemplate.min.js -c -m","prepare-dist":"node scripts/prepare-dist.js"},"_npmUser":{"name":"cable8mm","email":"cable8mm@gmail.com"},"repository":{"url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git","type":"git"},"_npmVersion":"11.16.0","description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like jQuery until now, this little library will help.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"jsrender":">= 1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jquery":"^3.7.0","terser":"^5.19.0","jsrender":"^1.0.10","@types/jest":"^29.5.0","http-server":"^14.1.1","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/jquery-infinite-with-template_1.1.2_1783435747642_0.5026000581261472","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@cable8mm/jquery-infinite-with-template","version":"2.0.0","title":"jQuery Infinite With Template","description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like jQuery until now, this little library will help.","main":"jquery.infiniteScrollWithTemplate.js","types":"jquery.infiniteScrollWithTemplate.d.ts","repository":{"type":"git","url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git"},"keywords":["infinite","scroll","jquery","template"],"author":{"name":"Sam Lee","url":"https://github.com/cable8mm"},"dependencies":{"jsrender":">=1.2.0"},"devDependencies":{"http-server":"^14.1.1","jest":"^30.4.2","jest-environment-jsdom":"^30.4.1","jquery":"^4.0.0","jsrender":"^1.2.0","terser":"^5.50.0"},"scripts":{"test":"jest","minify":"terser jquery.infiniteScrollWithTemplate.js -o jquery.infiniteScrollWithTemplate.min.js -c -m","build":"npm run minify && node scripts/prepare-dist.js","prepare-dist":"node scripts/prepare-dist.js","dev":"http-server . -p 8080 -o /examples/index.html","serve":"http-server . -p 8080"},"license":"MIT","bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","allowScripts":{"fsevents@2.3.3":true,"unrs-resolver@1.12.2":true},"gitHead":"c001b60f7eeb8168533d29286ad9f2762eac5ae0","_id":"@cable8mm/jquery-infinite-with-template@2.0.0","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-sZRYx7JsGUl1lSLcdZRAxxvQ0RQSgZgD1orTuc6kmJuAtYWlqjI+6ZkHwc2P2pXOLd/SN3k3VtI7uP1hvupMwg==","shasum":"7d151f4af1a52f7f91c43d0352d4be72d302619f","tarball":"https://registry.npmjs.org/@cable8mm/jquery-infinite-with-template/-/jquery-infinite-with-template-2.0.0.tgz","fileCount":19,"unpackedSize":45741,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDnFXjgw48u2Al/2ETimcheliyd2jTMIB2q4VamH7ykwwIhAKO/BsdtJTTIRPp4fS316a7xPJRH3iMn0s7lgmbGStQi"}]},"_npmUser":{"name":"cable8mm","email":"cable8mm@gmail.com"},"directories":{},"maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jquery-infinite-with-template_2.0.0_1787047282962_0.5682107609367366"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-26T12:34:20.606Z","modified":"2026-08-18T10:01:23.339Z","1.0.0":"2021-01-26T12:34:20.821Z","1.0.1":"2021-01-27T07:55:10.442Z","1.0.2":"2021-03-03T01:57:04.272Z","1.0.3":"2021-03-19T02:34:59.516Z","1.0.4":"2024-02-02T08:57:59.021Z","1.1.2":"2026-07-07T14:49:07.776Z","2.0.0":"2026-08-18T10:01:23.180Z"},"bugs":{"url":"https://github.com/cable8mm/jquery-infinite-with-template/issues"},"author":{"name":"Sam Lee","url":"https://github.com/cable8mm"},"license":"MIT","homepage":"https://github.com/cable8mm/jquery-infinite-with-template#readme","keywords":["infinite","scroll","jquery","template"],"repository":{"type":"git","url":"git+https://github.com/cable8mm/jquery-infinite-with-template.git"},"description":"JQuery plugin for ajax-enabled infinite page scroll with template. If you like jQuery until now, this little library will help.","maintainers":[{"name":"cable8mm","email":"cable8mm@gmail.com"}],"readme":"# ⚡ jQuery Infinite With Template Plugin\n\n[![NPM Version](https://img.shields.io/npm/v/%40cable8mm%2Fjquery-infinite-with-template)](https://www.npmjs.com/package/@cable8mm/jquery-infinite-with-template)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/%40cable8mm%2Fjquery-infinite-with-template)](https://bundlephobia.com/package/@cable8mm/jquery-infinite-with-template)\n[![NPM Downloads](https://img.shields.io/npm/dt/%40cable8mm%2Fjquery-infinite-with-template)](https://www.npmjs.com/package/@cable8mm/jquery-infinite-with-template)\n[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hy/%40cable8mm%2Fjquery-infinite-with-template)](https://www.jsdelivr.com/package/npm/@cable8mm/jquery-infinite-with-template)\n[![NPM Type Definitions](https://img.shields.io/npm/types/%40cable8mm%2Fjquery-infinite-with-template)](https://www.npmjs.com/package/@cable8mm/jquery-infinite-with-template)\n[![NPM License](https://img.shields.io/npm/l/%40cable8mm%2Fjquery-infinite-with-template)](https://opensource.org/licenses/MIT)\n[![GitHub stars](https://img.shields.io/github/stars/cable8mm/jquery-infinite-with-template)](https://github.com/cable8mm/jquery-infinite-with-template)\n[![GitHub issues](https://img.shields.io/github/issues/cable8mm/jquery-infinite-with-template)](https://github.com/cable8mm/jquery-infinite-with-template/issues)\n\n> 🚀 **AJAX-powered infinite scroll with template rendering for jQuery**\n\nIf you like jQuery until now, this little library will help you implement infinite scroll with ease.\n\n## ✨ Features\n\n- ⚡ **Zero Dependencies** (except jQuery & jsRender)\n- 🎨 **Template Rendering** with jsRender\n- 🔄 **Dual Loading Modes** - Scroll or Click\n- 🎯 **TypeScript Support** out of the box\n- 🛡️ **Error Handling** with callbacks\n- ⚙️ **Highly Configurable** with 12+ options\n- 🚀 **Performance Optimized** with DocumentFragment\n- 📦 **Lightweight** - Only ~3KB minified\n- ✅ **Well Tested** - 16 unit tests included\n\n## 📦 Installation\n\n### npm\n\n```sh\nnpm i @cable8mm/jquery-infinite-with-template\n```\n\n### CDN\n\n```html\n<script\n  src=\"https://cdn.jsdelivr.net/npm/@cable8mm/jquery-infinite-with-template@1.0.4/jquery.infiniteScrollWithTemplate.min.js\"\n  integrity=\"sha256-bX3iyCp0T50YmDRgpUl1tY/LGlpPGsKR4TqUkpcq6WA=\"\n  crossorigin=\"anonymous\"\n></script>\n```\n\n### ESM\n\n```html\n<script type=\"module\">\n  import @cable8mm/jquery-infinite-with-template from https://cdn.jsdelivr.net/npm/@cable8mm/jquery-infinite-with-template@1.0.4/+esm\n</script>\n```\n\n## 🎬 Demo\n\n### Online Demo\n\nYou can test the plugin directly in your browser:\n\n👉 **[https://www.palgle.com/jquery-infinite-with-template/examples/index.html](https://www.palgle.com/jquery-infinite-with-template/examples/index.html)**\n\n### Quick Start\n\n#### Using npm run dev (Recommended)\n\n```bash\n# Install dependencies (one-time)\nnpm install\n\n# Run development server with auto-open\nnpm run dev\n```\n\n**Note:** This will start the server at `http://127.0.0.1:8080/examples/index.html` and automatically open it in your browser.\n\nVisit [http://127.0.0.1:8080/examples/index.html](http://127.0.0.1:8080/examples/index.html) in your browser.\n\n### Regenerate Demo Data\n\n```bash\n# Using PHP CLI\nphp examples/generate > examples/data_sources.json\n\n# Or if you have the generate script in examples directory\ncd examples\nphp generate > data_sources.json\n```\n\n## 🚀 Usage\n\n### Basic Example\n\n**HTML:**\n\n```html\n<div id=\"result\"></div>\n\n<script id=\"test-tmpl\" type=\"text/x-jsrender\">\n  <div class=\"item\">\n    <h3>{{:title}}</h3>\n    <p>ID: {{:id}}</p>\n  </div>\n</script>\n```\n\n**JavaScript:**\n\n```javascript\n$(\"#result\").infiniteTemplate({\n  templateSelector: \"#test-tmpl\",\n  dataPath: \"/api/posts\",\n  query: \"category=tech\",\n  templateHelpers: {\n    userId: 123,\n  },\n  zeroCallback: function () {\n    console.log(\"No more posts!\");\n  },\n});\n```\n\n**Server Response (JSON):**\n\n```json\n{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"title\": \"Getting Started with jQuery\",\n      \"content\": \"...\"\n    },\n    {\n      \"id\": 2,\n      \"title\": \"Advanced JavaScript Patterns\",\n      \"content\": \"...\"\n    }\n  ]\n}\n```\n\n### Click-to-Load Button\n\n```javascript\n$(\"#result\").infiniteTemplate({\n  templateSelector: \"#item-template\",\n  dataPath: \"/api/items\",\n  loadSelector: \"#load-more-btn\", // Click this button to load more\n  loadAtStart: false, // Don't load automatically\n});\n```\n\n### With Error Handling\n\n```javascript\n$(\"#result\").infiniteTemplate({\n  templateSelector: \"#item-template\",\n  dataPath: \"/api/items\",\n  errorCallback: function (error) {\n    console.error(\"Failed to load:\", error);\n    alert(\"Something went wrong. Please try again.\");\n  },\n  loadingCallback: function () {\n    $(\"#loading\").show();\n  },\n  loadedCallback: function () {\n    $(\"#loading\").hide();\n  },\n});\n```\n\n## 📋 Options\n\n| Option               | Type       | Default      | Description                                                  |\n| -------------------- | ---------- | ------------ | ------------------------------------------------------------ |\n| **templateSelector** | `string`   | **required** | jsRender template selector (e.g., `\"#my-template\"`)          |\n| **dataPath**         | `string`   | **required** | URL to load data via AJAX                                    |\n| **key**              | `string`   | `\"data\"`     | Key for data array in JSON response                          |\n| **query**            | `string`   | `null`       | Additional query parameters (e.g., `\"category=1&sort=date\"`) |\n| **method**           | `string`   | `\"GET\"`      | HTTP method (GET, POST, PUT, DELETE)                         |\n| **templateHelpers**  | `object`   | `null`       | Helper data merged with each item                            |\n| **loadAtStart**      | `boolean`  | `true`       | Load data on initialization                                  |\n| **loadSelector**     | `string`   | `null`       | CSS selector for click-to-load button                        |\n| **initialPage**      | `number`   | `1`          | Initial page number                                          |\n| **preventCache**     | `boolean`  | `false`      | Add timestamp to prevent caching                             |\n| **scrollThreshold**  | `number`   | `2`          | Multiplier for viewport height (lower = more sensitive)      |\n| **zeroCallback**     | `function` | `null`       | Called when no data returned on first page                   |\n| **errorCallback**    | `function` | `null`       | Called on AJAX or JSON parse error                           |\n| **loadingCallback**  | `function` | `null`       | Called when loading starts                                   |\n| **loadedCallback**   | `function` | `null`       | Called when loading completes (success or error)             |\n\n## 🎯 Real-World Examples\n\n### Example 1: Blog Posts with Pagination\n\n```javascript\n$(\"#post-list\").infiniteTemplate({\n  templateSelector: \"#post-template\",\n  dataPath: \"/api/posts\",\n  query: \"status=published\",\n  initialPage: 1,\n  scrollThreshold: 1.5,\n  templateHelpers: {\n    currentUser: window.currentUser,\n  },\n  loadingCallback: () => $(\"#spinner\").show(),\n  loadedCallback: () => $(\"#spinner\").hide(),\n  zeroCallback: () => $(\"#end-message\").show(),\n});\n```\n\n### Example 2: E-commerce Product Grid\n\n```javascript\n$(\"#product-grid\").infiniteTemplate({\n  templateSelector: \"#product-card\",\n  dataPath: \"/api/products\",\n  query: \"category=electronics&sort=price\",\n  loadSelector: \"#load-more-products\",\n  loadAtStart: true,\n  templateHelpers: {\n    currency: \"$\",\n    discountRate: 0.1,\n  },\n});\n```\n\n### Example 3: Social Media Feed\n\n```javascript\n$(\"#feed\").infiniteTemplate({\n  templateSelector: \"#feed-item\",\n  dataPath: \"/api/feed\",\n  method: \"POST\",\n  query: \"filter=following\",\n  initialPage: 3,\n  preventCache: true,\n  templateHelpers: {\n    currentUserId: Auth.id(),\n    likedPosts: Auth.likedPosts(),\n  },\n});\n```\n\n### Example 4: Search Results\n\n```javascript\n$(\"#search-results\").infiniteTemplate({\n  templateSelector: \"#result-item\",\n  dataPath: \"/api/search\",\n  query: `q=${encodeURIComponent(searchQuery)}`,\n  zeroCallback: () => {\n    $(\"#no-results\").show();\n  },\n  errorCallback: (error) => {\n    console.error(\"Search failed:\", error);\n  },\n});\n```\n\n## 🏗️ Project Structure\n\n```text\njquery-infinite-with-template/\n├── jquery.infiniteScrollWithTemplate.js  # Main plugin (unminified)\n├── jquery.infiniteScrollWithTemplate.min.js  # Minified version\n├── jquery.infiniteScrollWithTemplate.d.ts  # TypeScript definitions\n├── package.json\n├── README.md\n├── LICENSE\n├── examples/\n│   ├── index.html          # Demo page\n│   ├── data_sources.json   # Demo data\n│   └── generate            # Data generator script\n└── tests/\n    ├── setup.js            # Test configuration\n    └── jquery.infiniteScrollWithTemplate.test.js  # 16 unit tests\n```\n\n## 🧪 Testing\n\n```bash\n# Install dependencies\nnpm install\n\n# Run tests\nnpm test\n```\n\n**Test Coverage:**\n\n- ✅ Initialization & validation\n- ✅ Data loading & rendering\n- ✅ Callbacks (zero, error, loading, loaded)\n- ✅ Scroll & click loading modes\n- ✅ URL building & pagination\n- ✅ Edge cases (empty data, JSON parsing)\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Credits\n\n- **jsRender** - Template engine\n- **jQuery** - DOM manipulation\n\n## 💡 Tips for Getting Stars\n\n- ⭐ Star this repo if you find it useful!\n- 🐛 Report bugs and request features\n- 📢 Share with your developer friends\n- 💬 Leave feedback and suggestions\n\n## 🔗 Links\n\n- **GitHub**: [https://github.com/cable8mm/jquery-infinite-with-template](https://github.com/cable8mm/jquery-infinite-with-template)\n- **NPM**: [https://www.npmjs.com/package/@cable8mm/jquery-infinite-with-template](https://www.npmjs.com/package/@cable8mm/jquery-infinite-with-template)\n- **Issues**: [https://github.com/cable8mm/jquery-infinite-with-template/issues](https://github.com/cable8mm/jquery-infinite-with-template/issues)\n\n---\n\n**Made with ❤️ by [Sam Lee](https://github.com/cable8mm)**\n\nIf this project helped you, please give it a ⭐️!\n","readmeFilename":"README.md"}