nodesite.eu
TypeScript icon, indicating that this package has built-in type declarations

1.2.0-37 • Public • Published

nodesite.eu

Host a website, bypass your ISP's firewall, with little bandwidth, easily!

yarn add nodesite.eu

Create a dynamic web page with file-based handles!

npx nodesite.eu dyn your_name_here

Use it programatically!

const { create, rewrite } = require('nodesite.eu`);
create('foobar', '/', (request) => rewrite('404.html'), 'public/');

Play around!

const { create } = require('nodesite.eu');

create('fun', '/', () => ({ statusCode: 302, head: { Location: '/three' } }));
create('fun', '/three', () => ({
	statusCode: 302,
	head: { Location: '/two' },
}));
create('fun', '/two', () => ({ statusCode: 302, head: { Location: '/one' } }));
create('fun', '/one', () => ({
	statusCode: 302,
	head: { Location: 'https://therickroll.com' },
}));

Check out everyone else's work!

List of NodeSites

And remember to have fun! <3

(c) 2021 - Licensed under the GNU GPL, sources are on GitHub

Don't be evil.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.0-373latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.0-373
1.2.0-360
1.2.0-350
1.2.0-340
1.2.0-330
1.2.0-324
1.2.0-310
1.2.0-300
1.2.0-290
1.2.0-280
1.2.0-270
1.2.0-260
1.2.0-250
1.2.0-240
1.2.0-230
1.2.0-220
1.2.0-210
1.2.0-200

Package Sidebar

Install

npm i nodesite.eu

Weekly Downloads

7

Version

1.2.0-37

License

GPL-3.0-or-later

Unpacked Size

77.1 kB

Total Files

8

Last publish

Collaborators

  • realprokopschield