mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-03 19:50:22 -06:00
8 lines
215 B
JavaScript
8 lines
215 B
JavaScript
console.log('importing something...');
|
|
const { testval } = extension.import('exports_something');
|
|
console.log(testval);
|
|
|
|
extension.on('hello', event => {
|
|
console.log(`received "hello" from: ${event.from}`);
|
|
});
|