hterm-path
v0.0.1
Published
The easiest way to add hterm to your project!
Downloads
12
Readme
htermPath
The simplest way to add hterm to your project!
[!IMPORTANT]
There aren't any type declarations in this project. Sorry.
To install it:
npm install hterm-path vite-plugin-static-copy express
To use it with Vite (example):
//...
import { htermPath } from "hterm-path";
import { viteStaticCopy } from "vite-plugin-static-copy";
//...
plugins: [
viteStaticCopy({
//...
targets: [
{
src: htermPath,
dest: "",
rename: "hterm"
}
]
//...
})
]
To use it with Express (example):
//...
import express from "express";
import { htermPath } from "hterm-path";
//...
const app = express();
//...
app.use("/hterm/", express.static(htermPath));
//...