tuft
v2.5.1
Published
A web framework for Node.js.
Downloads
15
Maintainers
Readme
Tuft
A fast, lightweight web framework for Node.js, with no dependencies.
Official website: https://tuft.dev
Getting started
You can install Tuft via npm:
npm install tuft
A simple "Hello, world!" example:
const { tuft } = require('tuft')
tuft()
.set('GET /', { text: 'Hello, world!' })
.createServer({ port: 3000 })
.start()
.then(({ host, port }) => {
console.log(`Server listening at http://${host}:${port}`)
})
For more information on how to use Tuft, see the official documentation.
People
The creator and maintainer of Tuft is Stuart Kennedy.