0.1.1 • Published 2 years ago

@blobbybilb/f4 v0.1.1

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
-
Last release
2 years ago

F4 - The Fast Friendly Functionality Framework

The simplest fairly-featureful web framework. Currently works with the bun runtime only.

Frictionless & Full-stack

  • Simple layer for routing over Hono
let i = 0
server.addRoutes({
  '/': 'Hello There!',
  '/counter': () => 'Visited ' + (i++) + ' times',
  '/file': 'file://./some_file.txt',
})
  • User auth in a single line of code
    • server.auth('/admin', [{ user: 'admin', pass: 'password' }]) // specify a single user
    • server.auth('/app', usersDB.get({})) // get all users from DB
  • DB interface that uses TypeScript object types to automatically manage SQLite, no SQL or manual schema definition needed
  • Frontend UI helpers based on Boostrap - WIP

LICENSE

LGPLv3

Hono web framework is MIT Licensed.

0.1.1

2 years ago

0.1.0

2 years ago