{"_id":"@amreraky/react-infinite-scroller","_rev":"8-eceebf4c8bcbd31cb875e941678ac642","name":"@amreraky/react-infinite-scroller","dist-tags":{"latest":"2.0.7"},"versions":{"2.0.0":{"name":"@amreraky/react-infinite-scroller","version":"2.0.0","keywords":["infinite","scroll","react"],"author":{"name":"Dan Bovey","email":"dan@danbovey.uk"},"license":"MIT","_id":"@amreraky/react-infinite-scroller@2.0.0","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"homepage":"https://github.com/danbovey/react-infinite-scroller#readme","bugs":{"url":"https://github.com/danbovey/react-infinite-scroller/issues"},"dist":{"shasum":"d0e7273ca5a19402def0c20413e61929d48db6ed","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.0.tgz","fileCount":13,"integrity":"sha512-bXoNRSATzYr1xyAmIOuyORaqelQi29RGCV2e9qC4geJVfB2y2cUEcNC5Fvs2pIy48EdLnVOZkSYLDegwLx0mPg==","signatures":[{"sig":"MEQCIBL8YY18P4gNAzi6COVfozqy7sohNf3RYABxsofWOuf5AiAuWnraApE9QMb4y6V0KN3XIQmKme3LJoofzjWsXGMf7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32931},"main":"index.js","type":"commonjs","gitHead":"dcee17209607166cc2d8350f7dd4e201065a45a2","scripts":{"lint":"eslint ./src ./test","spec":"_mocha -R spec ./test/test_helper.js --recursive test/*_test.js","test":"nyc npm run spec","build":"mkdirp dist && babel src/InfiniteScroll.js --out-file dist/InfiniteScroll.js","precommit":"lint-staged","prepublish":"npm run build"},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"repository":{"url":"git://github.com/danbovey/react-infinite-scroller.git","type":"git"},"_npmVersion":"11.2.0","description":"Infinite scroll component for React in ES6","directories":{"doc":"docs","test":"test"},"jsnext:main":"src/InfiniteScroll.js","lint-staged":{"*.{js,jsx}":["node_modules/.bin/eslint --fix --max-warnings 0","git add"]},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^3.5.0","husky":"^0.14.3","jsdom":"^10.0.0","mocha":"^3.3.0","react":"^18.0.0","sinon":"^2.1.0","eslint":"^4.10.0","mkdirp":"^0.5.1","istanbul":"^0.4.5","prettier":"^1.7.4","babel-cli":"^6.6.5","react-dom":"^18.0.0","babel-core":"^6.26.3","lint-staged":"^4.3.0","babel-eslint":"^7.2.3","babel-istanbul":"^0.12.2","babel-preset-react":"^6.5.0","eslint-config-last":"^0.0.3","babel-preset-es2015":"^6.6.0","eslint-plugin-react":"^7.4.0","babel-preset-stage-2":"^6.13.0","babel-plugin-istanbul":"^4.1.6","@testing-library/react":"^13.0.1","eslint-config-prettier":"^2.6.0","eslint-plugin-prettier":"^2.3.1","babel-plugin-add-module-exports":"^0.1.2","babel-plugin-transform-object-rest-spread":"^6.23.0"},"peerDependencies":{"react":">=16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-infinite-scroller_2.0.0_1747756941397_0.27133439631941614","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@amreraky/react-infinite-scroller","version":"2.0.1","keywords":["infinite","scroll","react"],"author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"license":"MIT","_id":"@amreraky/react-infinite-scroller@2.0.1","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"homepage":"https://github.com/danbovey/react-infinite-scroller#readme","bugs":{"url":"https://github.com/danbovey/react-infinite-scroller/issues"},"dist":{"shasum":"1e12e111022ccab865346351bd6ac1848d24e872","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.1.tgz","fileCount":20,"integrity":"sha512-yxMJDtUp1DPqnPKx+8Z8c4cog4hZtmwUWb97jVY7CWNHuoU0p5Z0PjZDV3vDRmjriLiTDCvAJeFT9hNeJgugbA==","signatures":[{"sig":"MEQCID1Oy7V1ETgqEor0StaGQNG5pq2iMyS/QXzShtA32UEqAiAIMnNVUkKAt34HnVN9lAWoFqPfhcdCvlwJRLh8UEE3PA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29530},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"dcee17209607166cc2d8350f7dd4e201065a45a2","scripts":{"lint":"eslint ./src ./test","spec":"_mocha -R spec ./test/test_helper.js --recursive test/*_test.js","test":"nyc npm run spec","build":"tsc","precommit":"lint-staged","prepublish":"npm run build"},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"repository":{"url":"git://github.com/danbovey/react-infinite-scroller.git","type":"git"},"_npmVersion":"11.4.1","description":"Infinite scroll component for React in ES6","directories":{"doc":"docs","test":"test"},"lint-staged":{"*.{js,jsx}":["node_modules/.bin/eslint --fix --max-warnings 0","git add"]},"_nodeVersion":"22.16.0","dependencies":{"prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^3.5.0","husky":"^0.14.3","jsdom":"^10.0.0","mocha":"^3.3.0","react":"^18.0.0","sinon":"^2.1.0","eslint":"^4.10.0","prettier":"^1.7.4","react-dom":"^18.0.0","typescript":"^5.8.3","@types/chai":"^4.3.11","lint-staged":"^4.3.0","@types/jsdom":"^21.1.3","@types/mocha":"^10.0.6","@types/react":"^19.1.5","@types/sinon":"^10.0.17","@types/react-dom":"^19.1.5","eslint-plugin-react":"^7.4.0","@testing-library/react":"^13.0.1","eslint-config-prettier":"^2.6.0","eslint-plugin-prettier":"^2.3.1"},"peerDependencies":{"react":">=16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-infinite-scroller_2.0.1_1747905949684_0.5159844009256773","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@amreraky/react-infinite-scroller","version":"2.0.2","keywords":["infinite","scroll","react"],"author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"license":"MIT","_id":"@amreraky/react-infinite-scroller@2.0.2","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"homepage":"https://github.com/danbovey/react-infinite-scroller#readme","bugs":{"url":"https://github.com/danbovey/react-infinite-scroller/issues"},"dist":{"shasum":"874223603e4825fa400ca22047be392eb6f29521","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.2.tgz","fileCount":19,"integrity":"sha512-Cg5csLBnSMavPhAbQ4DIznTso8lSKfVX42YvnPc+hDTydVKzpEjlf1gf9eCQNJFc9HaUkueaACftvkhc10ISFQ==","signatures":[{"sig":"MEYCIQDLtUqWXtwdAg5/o/g/x3o2PmDYk+MLF8ZRG/+iywodEQIhAIUHZoSYbI/QJ2V49K9MQ0iNTFBpqX0k/X/rPt+1L3LP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28771},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"dcee17209607166cc2d8350f7dd4e201065a45a2","scripts":{"spec":"_mocha -R spec ./test/test_helper.ts --require ts-node/register --recursive test/*_test.tsx","test":"nyc npm run spec","build":"tsc","prepublish":"npm run build"},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"repository":{"url":"git://github.com/danbovey/react-infinite-scroller.git","type":"git"},"_npmVersion":"11.4.1","description":"Infinite scroll component for React (forked to support React >= 18 and TypeScript)","directories":{"doc":"docs","test":"test"},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^3.5.0","jsdom":"^10.0.0","mocha":"^3.3.0","react":"^18.0.0","sinon":"^2.1.0","ts-node":"^10.9.2","react-dom":"^18.0.0","typescript":"^5.8.3","@types/chai":"^4.3.11","@types/jsdom":"^21.1.3","@types/mocha":"^10.0.6","@types/react":"^19.1.5","@types/sinon":"^10.0.17","@types/react-dom":"^19.1.5","@testing-library/react":"^13.0.1"},"peerDependencies":{"react":">=16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-infinite-scroller_2.0.2_1748360887158_0.15682648186784043","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@amreraky/react-infinite-scroller","version":"2.0.3","keywords":["infinite","scroll","react"],"author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"license":"MIT","_id":"@amreraky/react-infinite-scroller@2.0.3","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"homepage":"https://github.com/danbovey/react-infinite-scroller#readme","bugs":{"url":"https://github.com/danbovey/react-infinite-scroller/issues"},"dist":{"shasum":"49746f1faa4a247562a385374492ecbf1df9d34b","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.3.tgz","fileCount":18,"integrity":"sha512-gX0D4aHjjH+a0LH/pEMvOGSlU4Xzvp4kUFW2EvGfGrMoW1XfmGcYwlFadugL3CZiCoJGoT1kzvBXn7KMIYRG6g==","signatures":[{"sig":"MEUCIQCN2mx+DFYbuPg5FMhU9aOJWdOaseNe2ioqbgSToSSSUgIgJGKGrXVOUj60Zp5C+0feBCgFdBLdSLyWv/U6GngzrO4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29675},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"dcee17209607166cc2d8350f7dd4e201065a45a2","scripts":{"spec":"_mocha -R spec ./test/test_helper.ts --require ts-node/register --recursive test/*_test.tsx","test":"nyc npm run spec","build":"tsc","prepublish":"npm run build"},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"repository":{"url":"git://github.com/danbovey/react-infinite-scroller.git","type":"git"},"_npmVersion":"11.4.2","description":"Infinite scroll component for React (forked to support React >= 18 and TypeScript)","directories":{"doc":"docs","test":"test"},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^17.1.0","chai":"^5.2.1","jsdom":"^10.0.0","mocha":"^11.7.1","react":"^19.1.1","sinon":"^21.0.0","ts-node":"^10.9.2","react-dom":"^19.1.1","typescript":"^5.9.2","@types/chai":"^5.2.2","@types/jsdom":"^21.1.7","@types/mocha":"^10.0.10","@types/react":"^19.1.9","@types/sinon":"^17.0.4","@types/react-dom":"^19.1.7","@testing-library/react":"^16.3.0"},"peerDependencies":{"react":">=16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-infinite-scroller_2.0.3_1754388070011_0.6603930179149513","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@amreraky/react-infinite-scroller","version":"2.0.4","keywords":["infinite","scroll","react"],"author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"license":"MIT","_id":"@amreraky/react-infinite-scroller@2.0.4","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"homepage":"https://github.com/danbovey/react-infinite-scroller#readme","bugs":{"url":"https://github.com/danbovey/react-infinite-scroller/issues"},"dist":{"shasum":"477322da9b75f00f30d13fc5a017752be01cc36e","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.4.tgz","fileCount":18,"integrity":"sha512-WzJ2B6l/O7TjWqUAJCLuQ/q0re18tEDIxkijBOPYFUXUD3B4p086gEq17jpg1bLQCd+PvvHZnR3cvwSJxbgmkw==","signatures":[{"sig":"MEUCIQDWjg+w/7IEtKSrJpf/DZznO2HB/Qb5Ec4OKiI0mS0WmwIgG0oMZLbFyh5cjGtXqwufco1SSkkfw87EenBMJIxUf3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29643},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"dcee17209607166cc2d8350f7dd4e201065a45a2","scripts":{"spec":"_mocha -R spec ./test/test_helper.ts --require ts-node/register --recursive test/*_test.tsx","test":"nyc npm run spec","build":"tsc","prepublish":"npm run build"},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"repository":{"url":"git://github.com/danbovey/react-infinite-scroller.git","type":"git"},"_npmVersion":"11.4.2","description":"Infinite scroll component for React (forked to support React >= 18 and TypeScript)","directories":{"doc":"docs","test":"test"},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^17.1.0","chai":"^5.2.1","jsdom":"^10.0.0","mocha":"^11.7.1","react":"^19.1.1","sinon":"^21.0.0","ts-node":"^10.9.2","react-dom":"^19.1.1","typescript":"^5.9.2","@types/chai":"^5.2.2","@types/jsdom":"^21.1.7","@types/mocha":"^10.0.10","@types/react":"^19.1.9","@types/sinon":"^17.0.4","@types/react-dom":"^19.1.7","@testing-library/react":"^16.3.0"},"peerDependencies":{"react":">=16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-infinite-scroller_2.0.4_1754397939205_0.7231802759790213","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@amreraky/react-infinite-scroller","version":"2.0.5","keywords":["infinite","scroll","react"],"author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"license":"MIT","_id":"@amreraky/react-infinite-scroller@2.0.5","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"homepage":"https://github.com/danbovey/react-infinite-scroller#readme","bugs":{"url":"https://github.com/danbovey/react-infinite-scroller/issues"},"dist":{"shasum":"2de42fc5d62c2115ac7bf8d83ef405eb87a0d7e2","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.5.tgz","fileCount":18,"integrity":"sha512-xGIaPQM+lXj0Xrs1H5ycykPs7mMfE4hoJUP7bPrCIS5Vp6M5TJeZ6tG3c5LauP3hJCK+81PdW4WX1ccbUkYNCA==","signatures":[{"sig":"MEYCIQCB/of7D//QGLUnh/RBLDrihcLV5L1NOp1ZHrjfYHH6eAIhAKvg2Nf8ugTSYfQ7DuTnp6jIZTYAFlSkQ39r183jY5VS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31131},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"dcee17209607166cc2d8350f7dd4e201065a45a2","scripts":{"spec":"_mocha -R spec ./test/test_helper.ts --require ts-node/register --recursive test/*_test.tsx","test":"nyc npm run spec","build":"tsc","prepublish":"npm run build"},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"repository":{"url":"git://github.com/danbovey/react-infinite-scroller.git","type":"git"},"_npmVersion":"11.7.0","description":"Infinite scroll component for React (forked to support React >= 18 and TypeScript)","directories":{"doc":"docs","test":"test"},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^17.1.0","chai":"^5.2.1","jsdom":"^10.0.0","mocha":"^11.7.1","react":"^19.1.1","sinon":"^21.0.0","ts-node":"^10.9.2","react-dom":"^19.1.1","typescript":"^5.9.2","@types/chai":"^5.2.2","@types/jsdom":"^21.1.7","@types/mocha":"^10.0.10","@types/react":"^19.1.9","@types/sinon":"^17.0.4","@types/react-dom":"^19.1.7","@testing-library/react":"^16.3.0"},"peerDependencies":{"react":">=16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-infinite-scroller_2.0.5_1767261778143_0.1501842179140631","host":"s3://npm-registry-packages-npm-production"}},"2.0.6":{"name":"@amreraky/react-infinite-scroller","version":"2.0.6","keywords":["infinite","scroll","react"],"author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"license":"MIT","_id":"@amreraky/react-infinite-scroller@2.0.6","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"homepage":"https://github.com/amribrahim1/react-infinite-scroller#readme","bugs":{"url":"https://github.com/amribrahim1/react-infinite-scroller/issues"},"dist":{"shasum":"9e764e88935385f606d9f6ba2c21c7dab27fc781","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.6.tgz","fileCount":21,"integrity":"sha512-HSoymPERw0vgqSI3YZBio2CzQuloUCe6Bl4fji/HzaE81REpMIQjKv32/H11wr0k9KWfzWnJ9iEt+BHsLHnqUw==","signatures":[{"sig":"MEUCIFXtY2giqlhsSmuA+K1Ga3OWuOQ0RiBCQnYo8NBJXe0rAiEAj2QrklJvRBaxQQIyPMUqII5MGkRfiCSEy72hF0HPaik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38557},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","gitHead":"0a12aac4cb85817ce319ef5b7600d9d7da6b8e9f","scripts":{"spec":"_mocha -R spec ./test/test_helper.ts --require ts-node/register --recursive test/*_test.tsx","test":"nyc npm run spec","build":"tsc","prepublish":"npm run build"},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"repository":{"url":"git://github.com/amribrahim1/react-infinite-scroller.git","type":"git"},"_npmVersion":"11.8.0","description":"Infinite scroll component for React (forked to support React >= 18 and TypeScript)","directories":{"doc":"docs","test":"test"},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^17.1.0","chai":"^5.2.1","jsdom":"^10.0.0","mocha":"^11.7.1","react":"^19.1.1","sinon":"^21.0.0","ts-node":"^10.9.2","react-dom":"^19.1.1","typescript":"^5.9.2","@types/chai":"^5.2.2","@types/jsdom":"^21.1.7","@types/mocha":"^10.0.10","@types/react":"^19.1.9","@types/sinon":"^17.0.4","@types/react-dom":"^19.1.7","@testing-library/react":"^16.3.0"},"peerDependencies":{"react":">=16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-infinite-scroller_2.0.6_1772974799323_0.023589287532782333","host":"s3://npm-registry-packages-npm-production"}},"2.0.7":{"name":"@amreraky/react-infinite-scroller","version":"2.0.7","description":"Infinite scroll component for React (forked to support React >= 18 and TypeScript)","keywords":["infinite","scroll","react"],"homepage":"https://github.com/amribrahim1/react-infinite-scroller#readme","bugs":{"url":"https://github.com/amribrahim1/react-infinite-scroller/issues"},"repository":{"type":"git","url":"git://github.com/amribrahim1/react-infinite-scroller.git"},"license":"MIT","author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"type":"commonjs","main":"dist/index.js","types":"dist/index.d.ts","directories":{"doc":"docs","test":"test"},"scripts":{"build":"tsc","prepublish":"npm run build","test":"nyc npm run spec","spec":"_mocha -R spec ./test/test_helper.ts --require ts-node/register --recursive test/*_test.tsx"},"devDependencies":{"@testing-library/react":"^16.3.0","@types/chai":"^5.2.2","@types/jsdom":"^21.1.7","@types/mocha":"^10.0.10","@types/react":"^19.1.9","@types/react-dom":"^19.1.7","@types/sinon":"^17.0.4","chai":"^5.2.1","jsdom":"^10.0.0","mocha":"^11.7.1","nyc":"^17.1.0","react":"^19.1.1","react-dom":"^19.1.1","sinon":"^21.0.0","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"react":">=16.0.0"},"gitHead":"0a7a46550ff847eed47deeb596abf6824f3329dd","_id":"@amreraky/react-infinite-scroller@2.0.7","_nodeVersion":"22.16.0","_npmVersion":"11.8.0","dist":{"integrity":"sha512-OfZ2IFwS0VzFe9twHZ73fAVLpr10UuGzS5khwv8gHJOgBc/ofDVfdDdQFGXQoPoypNxeyK07/GfPmrLGT00Kkw==","shasum":"e57c8e2e0b058162f3ff21b80094d057ccf8121a","tarball":"https://registry.npmjs.org/@amreraky/react-infinite-scroller/-/react-infinite-scroller-2.0.7.tgz","fileCount":21,"unpackedSize":38616,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC72ohCAUvKYlXPnGmNh64mSh1i7TeZiDNh0Y1iKK4lkAIgQErWeiOKnf+1VprmzlnrAlGeR8ViK+QC+oUC5/jUWL4="}]},"_npmUser":{"name":"amreraky","email":"amribrahim11@gmail.com"},"maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-infinite-scroller_2.0.7_1774615374708_0.32977505851795264"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-20T16:02:21.307Z","modified":"2026-03-27T12:42:54.980Z","2.0.0":"2025-05-20T16:02:21.594Z","2.0.1":"2025-05-22T09:25:49.851Z","2.0.2":"2025-05-27T15:48:07.335Z","2.0.3":"2025-08-05T10:01:10.180Z","2.0.4":"2025-08-05T12:45:39.395Z","2.0.5":"2026-01-01T10:02:58.280Z","2.0.6":"2026-03-08T12:59:59.532Z","2.0.7":"2026-03-27T12:42:54.871Z"},"bugs":{"url":"https://github.com/amribrahim1/react-infinite-scroller/issues"},"author":{"name":"Amr Eraky","email":"amribrahim11@gmail.com"},"license":"MIT","homepage":"https://github.com/amribrahim1/react-infinite-scroller#readme","keywords":["infinite","scroll","react"],"repository":{"type":"git","url":"git://github.com/amribrahim1/react-infinite-scroller.git"},"description":"Infinite scroll component for React (forked to support React >= 18 and TypeScript)","maintainers":[{"name":"amreraky","email":"amribrahim11@gmail.com"}],"readme":"This's a fork of [react-infinite-scroller](https://github.com/danbovey/react-infinite-scroller) to support [React >= 18](https://react.dev/blog/2024/04/25/react-19-upgrade-guide) and TypeScript\r\n\r\n# React Infinite Scroller\r\n\r\n[![npm](https://img.shields.io/npm/dt/@amreraky/react-infinite-scroller.svg?style=flat-square)](https://www.npmjs.com/package/@amreraky/react-infinite-scroller)\r\n[![npm](https://img.shields.io/npm/v/@amreraky/react-infinite-scroller.svg?style=flat-square)](https://www.npmjs.com/package/@amreraky/react-infinite-scroller)\r\n[![npm](https://img.shields.io/npm/l/@amreraky/react-infinite-scroller.svg?style=flat-square)](https://github.com/amribrahim1/react-infinite-scroller/blob/master/LICENSE)\r\n\r\nInfinitely load a grid or list of items in React. This component allows you to create a simple, lightweight infinite scrolling page or element by supporting both window and scrollable elements.\r\n\r\n- ⏬ Ability to use window or a scrollable element\r\n- 📏 No need to specify item heights\r\n- 💬 Support for \"chat history\" (reverse) mode\r\n- ✅ Fully unit tested and used in hundreds of production sites around the\r\n  world!\r\n- 📦 Lightweight alternative to other available React scroll libs ~ 2.2KB\r\n  minified & gzipped\r\n\r\n---\r\n\r\n- [Demo](https://danbovey.uk/react-infinite-scroller/demo/)\r\n- [Demo Source](https://github.com/amribrahim1/react-infinite-scroller/blob/master/docs/src/index.js)\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @amreraky/react-infinite-scroller --save\r\n```\r\n\r\n## How to use\r\n\r\n```js\r\nimport InfiniteScroll from '@amreraky/react-infinite-scroller';\r\n```\r\n\r\n### Window scroll events\r\n\r\n```js\r\n<InfiniteScroll\r\n    pageStart={0}\r\n    loadMore={loadFunc}\r\n    hasMore={true || false}\r\n    loader={<div className=\"loader\" key={0}>Loading ...</div>}\r\n>\r\n    {items} // <-- This is the content you want to load\r\n</InfiniteScroll>\r\n```\r\n\r\n### DOM scroll events\r\n\r\n```js\r\n<div style=\"height:700px;overflow:auto;\">\r\n    <InfiniteScroll\r\n        pageStart={0}\r\n        loadMore={loadFunc}\r\n        hasMore={true || false}\r\n        loader={<div className=\"loader\" key={0}>Loading ...</div>}\r\n        useWindow={false}\r\n    >\r\n        {items}\r\n    </InfiniteScroll>\r\n</div>\r\n```\r\n\r\n### Custom parent element\r\n\r\nYou can define a custom `parentNode` element to base the scroll calulations on.\r\n\r\n```js\r\n<div style=\"height:700px;overflow:auto;\" ref={(ref) => this.scrollParentRef = ref}>\r\n    <div>\r\n        <InfiniteScroll\r\n            pageStart={0}\r\n            loadMore={loadFunc}\r\n            hasMore={true || false}\r\n            loader={<div className=\"loader\" key={0}>Loading ...</div>}\r\n            useWindow={false}\r\n            getScrollParent={() => this.scrollParentRef}\r\n        >\r\n            {items}\r\n        </InfiniteScroll>\r\n    </div>\r\n</div>\r\n```\r\n\r\n## Props\r\n\r\n| Name              | Required | Type         | Default   | Description                                                                                                                                                                         |\r\n| :---------------- | :------- | :----------- | :-------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\r\n| `children`        | Yes      | `Node`   |           | Anything that can be rendered (same as PropType's Node) |\r\n| `loadMore`        | Yes      | `Function`   |           | A callback when more items are requested by the user. Receives a single parameter specifying the page to load e.g. `function handleLoadMore(page) { /* load more items here */ }` } |\r\n| `element`         |          | `Component`  | `'div'`   | Name of the element that the component should render as.                                                                                                                            |\r\n| `hasMore`         |          | `Boolean`    | `false`   | Whether there are more items to be loaded. Event listeners are removed if `false`.                                                                                                  |\r\n| `initialLoad`     |          | `Boolean`    | `true`    | Whether the component should load the first set of items.                                                                                                                           |\r\n| `isReverse`       |          | `Boolean`    | `false`   | Whether new items should be loaded when user scrolls to the top of the scrollable area.                                                                                             |\r\n| `loader`          |          | `Component`  |           | A React component to render while more items are loading. The parent component must have a unique key prop.                                                                         |\r\n| `pageStart`       |          | `Number`     | `0`       | The number of the first page to load, With the default of `0`, the first page is `1`.                                                                                               |\r\n| `getScrollParent` |          | `Function`   |           | Override method to return a different scroll listener if it's not the immediate parent of InfiniteScroll.                                                                           |\r\n| `threshold`       |          | `Number`     | `250`     | The distance in pixels before the end of the items that will trigger a call to `loadMore`.                                                                                          |\r\n| `useCapture`      |          | `Boolean`    | `false`   | Proxy to the `useCapture` option of the added event listeners.                                                                                                                      |\r\n| `useWindow`       |          | `Boolean`    | `true`    | Add scroll listeners to the window, or else, the component's `parentNode`.                                                                                                          |\r\n\r\n## Troubleshooting\r\n\r\n### Double or non-stop calls to `loadMore`\r\n\r\nIf you experience double or non-stop calls to your `loadMore` callback, make\r\nsure you have your CSS layout working properly before adding this component in.\r\nCalculations are made based on the height of the container (the element the\r\ncomponent creates to wrap the items), so the height of the container must equal\r\nthe entire height of the items.\r\n\r\n```css\r\n.my-container {\r\n  overflow: auto;\r\n}\r\n```\r\n\r\n\r\nThis component doesn't make any assumptions about what you do in terms of API\r\ncalls. It's up to you to store whether you are currently loading items from an\r\nAPI in your state/reducers so that you don't make overlapping API calls.\r\n\r\n```js\r\nloadMore() {\r\n  if(!this.state.isLoading) {\r\n    this.props.fetchItems();\r\n  }\r\n}\r\n```","readmeFilename":"README.md"}