nodesite.eu-local

Local listener for nodesite.eu


License
CNRI-Python-GPL-Compatible
Install
npm install nodesite.eu-local@1.2.6

Documentation

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