1.1.4 • Published 5 years ago

@zoukilama/web_static v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Static Web Server

Installation

npm i @zoukilama/web_static

Use

const webstatic = require('@zoukilama/web_static');

webstatic.start({
    port: 3000,
    host: '127.0.0.1',      // Optional
    cors: true,             // Optional
    publicFolder: 'public'  // Optional
}, function() {             // Optional callback
    console.log('Server listening');
});

// webstatic.app // Give access to express instance for socket.io
1.1.4

5 years ago

1.1.3

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago