Pure JavaScript Infinite Scroll Demo
$ npm install
added 50 packages from 37 contributors and audited 126 packages in 0.872s
found 0 vulnerabilities
You can customize the following settings using environment variables:
- Batch size:
BATCH=5
(defaults to3
) - Total size:
TOTAL=10
(defaults to30
) - Port:
PORT=9181
(defaults to3000
)
$ # use default settings with:
$ npm start
> [email protected] start /my/folder/pure-js-infinite-scroll-demo
> node index
HTTP Server listening on http://0.0.0.0:3000