@lbu/stdlib
Collection of Lightbase backend utilities
Why
Here at lightbase we had a constantly growing
boilerplate for new projects. To facilitate our needs more and to stop copying
and pasting things around this project was born. This project is for now
tailored at smaller & monolithic projects.
Versioning and first release
For internal testing we stay on v0.0.x. To reach v0.1.0 the following features
will be supported:
- Flexible code generation (validators, router, queries, openapi)
- Usable documentation
- Test coverage (either e2e or unit, but enough to be considered somewhat
stable)
- Used in a medium size project @ Lightbase
- Implement a Realworld project
Features
- @lbu/cli: Project template, and simple script runner
- @lbu/code-gen: Flexible code generators. Supports generating router, validator
- @lbu/insight: Opinionated logger
- @lbu/server: Wrap around Koa and some useful middleware
- @lbu/stdlib: Growing library of various common utilities like uuid & a basic
templating system
Roadmap
Docs
See /docs
Development
See CONTRIBUTING.md.