1.0.6 • Published 6 months ago

express-layer v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

last version change 1.0.5

.parametre({ filename: __filename, info_desc: 'may be any info', myport: 4321 }) // That's all for now about parametric possibilities.

express-layer

daha kolay bir express kullanımı

easier express usage

Kullanım

Bunu projenize dahil etmek için aşağıdakileri yapın.

$ npm i express-layer

ve aşağıdakileri bir js dosyasına yapıştırın.

const { express, app, server, port, catchallroute } = require('express-layer').parametre({ filename: __filename })

server.on('listening', () => {
    app.get('/', (req, res) => { res.send('Express uygulaması isteklerinizi portta bekliyor: ' + port) });
    app.all('*', catchallroute); console.log("ok. express-layer hazır")
});

express-layer için önerileriniz dikkate alınacaktır.

Usage

To include it in your project, do the following.

$ npm i express-layer

and paste the following into a js file.

const { express, app, server, port, catchallroute } = require('express-layer').parametre({ filename: __filename })

server.on('listening', () => {
    app.get('/', (req, res) => { res.send('Express application is waiting for your requests on port: ' + port) });
    app.all('*', catchallroute); console.log("ok. express-layer is ready")
});

Your suggestions for express-layer will be taken into consideration.

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.3

7 months ago

0.0.1

8 years ago

1.0.0

8 years ago