1.0.1 • Published 1 year ago

express-static-files v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Random Numbers Generator

Express Static File Server.

Installation

You can install the Express Static Files package using npm:

npm install express-static-files

Usage

In your express.js application, you can import this package and use to serve you static file with extra features.

const express = require("express")
const app = express()
const ExpressStatic = require("express-static-files")
const port = process.env.port || 5000

// Simple To use
app.use(ExpressStatic.static("public/")) // root folder public

app.get("/", (req, res) => {
    res.send("Hello, World!")
})

app.listen(port, () => console.log("Server Running On Port " + port))

License

License This project is released under the MIT License.
Free Package, Hell Yeah!

Contact

avinashtare.work@gmail.com

Author

卐🕉 Avinash Tare 🕉 卐

1.0.1

1 year ago

1.0.0

1 year ago