Spaces:
Sleeping
Sleeping
Download extensions/imports_something.js from AZILS/puter-deploy: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/extensions/imports_something.js
- Command line
-
hf download hf://spaces/AZILS/puter-deploy/extensions/imports_something.js
-
curl -L -o imports_something.js https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/extensions/imports_something.js
222 Bytes
| console.log('importing something...'); | |
| const { testval } = extension.import('exports_something'); | |
| console.log(testval); | |
| extension.on('hello', event => { | |
| console.log(`received "hello" from: ${event.from}`); | |
| }); | |