New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

feli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feli

library for making quickly your mini-server for your front-end only web-app

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

feli

Presentation

feli is a javascript library for building a static web-server for installing and running locally your front-end web-app.

  • source code
  • html-page
  • npm-package

Requirements

Installation

npm i -D feli

Usage

Here the typical code for creating a mini-server:

import { feli_cli } from '../dist/index.js';
import process from 'node:process';
import path from 'node:path';

const scrDir = import.meta.dirname;
const defaultPublicDir = path.join(scrDir, 'public');

try {
	await feli_cli(defaultPublicDir, process.argv);
} catch (err) {
	console.error(`CATCH ERROR: ${err}`);
}

Usage of the created mini-server

If you publish your mini-server, you can use it as following

npm i myMiniServer
npx myMiniServer
npx myMiniServer --help

Development

git clone https://github.com/charlyoleg2/feli_mono
cd feli_mono
npm install
npm -w feli run ci
npm -w feli run test-feli

Keywords

web-app

FAQs

Package last updated on 27 Dec 2025

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