Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lbu/server

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lbu/server - npm Package Compare versions

Comparing version 0.0.45 to 0.0.46

24

package.json
{
"name": "@lbu/server",
"version": "0.0.45",
"version": "0.0.46",
"description": "Koa server and common middleware",

@@ -19,4 +19,4 @@ "main": "./index.js",

"dependencies": {
"@lbu/insight": "0.0.45",
"@lbu/stdlib": "0.0.45",
"@lbu/insight": "0.0.46",
"@lbu/stdlib": "0.0.46",
"keygrip": "1.1.0",

@@ -28,9 +28,15 @@ "koa": "2.13.0",

},
"author": {
"name": "Dirk de Visser",
"email": "dirkdev98@gmail.com"
},
"maintainers": [
{
"name": "Dirk de Visser",
"email": "dirkdev98@gmail.com"
},
{
"name": "Daniël Hansen"
}
],
"homepage": "https://lbu.lightbase.nl",
"repository": {
"type": "git",
"url": "ssh://git@github.com/lightbasenl/lbu.git",
"url": "https://github.com/lightbasenl/lbu.git",
"directory": "packages/server"

@@ -44,3 +50,3 @@ },

},
"gitHead": "2a7bd7e726fc2f6b5709d5b4f3edfc676bb36407"
"gitHead": "6b9827983e55ade8f018d8d0c306a2fdbe6b94cb"
}

@@ -14,4 +14,4 @@ # @lbu/server

- Script runner, can watch & reload almost anything (via nodemon)
- Flexible code generators supporting routers, validators, api clients, mocks,
CRUD queries and more in the future.
- Flexible code generators supporting routers, validators, api clients, CRUD
queries and more in the future.
- Opinionated structured logging

@@ -91,3 +91,2 @@ - Common Koa middleware wrapped in a single function

- Typescript or JSDoc types
- Generated mocks
- An extendable set of types:

@@ -112,4 +111,14 @@ - boolean, number, string;

## Development
## New features
See [CONTRIBUTING.md](/contributing.md).
New features added should fall under the following categories:
- It improves the interface between api and client in some way. An example may
be to support websockets in @lbu/code-gen
- It improves the developer experience one way or another while developing an
api For example the `lbu docker` commands or various utilities provided by
@lbu/stdlib
Although some parts heavily rely on conventions set by the packages, we
currently aim not to be a framework. However, the idea of being a bit more of
framework is not completely out of the door yet.

@@ -20,3 +20,3 @@ import { isNil, merge } from "@lbu/stdlib";

{
key: process.env.APP_NAME.toLowerCase() + ".sess",
key: `${process.env.APP_NAME.toLowerCase()}.sess`,
maxAge: 10 * 24 * 60 * 60 * 1000,

@@ -23,0 +23,0 @@ renew: true,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc