1.0.6 • Published 10 months ago

express-layer v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
10 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

10 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.3

11 months ago

0.0.1

9 years ago

1.0.0

9 years ago