@blobbybilb/f4

0.1.1 • Public • Published

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.

Package Sidebar

Install

npm i @blobbybilb/f4

Weekly Downloads

2

Version

0.1.1

License

LGPL-3.0-or-later

Unpacked Size

17.5 kB

Total Files

7

Last publish

Collaborators

  • blobbybilb