šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

loxberry-express-dev-server

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loxberry-express-dev-server

A simple local development server for plugin development

2.0.2
latest
Source
npm
Version published
Weekly downloads
3
-40%
Maintainers
1
Weekly downloads
Ā 
Created
Source

Loxberry Express Dev Server

This is a simple express dev sever which allows you to develop your express loxberry plugin locally.

Installation

npm i --save-dev loxberry-express-dev-server

Usage in your plugin

There is a how to guide on how to develop a plugin for loxberry with node.js. Develop Loxberry Plugin With NodeJs

To get started you can use the plugin generator with: npm init loxberry-plugin <your plugin name>

When you choose NodeJs, the dev server is automatically added as a dependency.

In case you want to do that yourself, add a script to your package json to run the server:

"scripts": {
  "dev": "loxberryExpressDevServer ./"
}

For a better coding experience you can install nodemon and restart the server on file changes.

npm i --save-dev nodemon

"scripts": {
  "dev": "nodemon --watch webfrontend/htmlauth --watch templates --exec 'node_modules/.bin/loxberryExpressDevServer' -- ./"
}

The Dev Server will be in sync with the Loxberry Express Server plugin.

FAQs

Package last updated on 01 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts