1.2.6 • Published 1 year ago
nodesite.eu-local v1.2.6
nodesite.eu-local
Local http listener for nodesite.eu
import { listen } from 'nodesite.eu-local';
const { create } = listen({
port: 8080,
name: 'mysite.nodesite.eu',
});
create('/', (req) => 'Hello, world');
create() works the same as with regular NodeSite.eu