Download test_server.js from ejjays/Nexstream: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/ejjays/Nexstream/resolve/main/test_server.js
- Command line
-
hf download hf://spaces/ejjays/Nexstream/test_server.js
-
curl -L -o test_server.js https://huggingface.co/spaces/ejjays/Nexstream/resolve/main/test_server.js
219 Bytes
| const express = require('express'); | |
| const app = express(); | |
| const PORT = 3000; | |
| app.get('/', (req, res) => { | |
| res.send('Hello'); | |
| }); | |
| app.listen(PORT, () => { | |
| console.log(`Minimal server running on ${PORT}`); | |
| }); | |