chore: apply Khoajs naming transformations (upstream sync)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
Node.js CI / build (20.x) (push) Has been cancelled
Node.js CI / build (22.x) (push) Has been cancelled

This commit is contained in:
Khoajs Sync Bot
2026-04-17 20:57:37 +00:00
parent 71774c68e1
commit 2f16d196c0
3 changed files with 7 additions and 7 deletions

View File

@@ -20,13 +20,13 @@ It keeps upstream behavior while applying naming changes and automated sync main
Khoa requires __node v18.0.0__ or higher for ES2015 and async function support.
```sh
npm install khoa
npm install khoajs
```
## Hello Khoa
```js
const Khoa = require('khoa');
const Khoa = require('khoajs');
const app = new Khoa();
app.use(ctx => {

6
package-lock.json generated
View File

@@ -1,11 +1,11 @@
{
"name": "khoa",
"name": "khoajs",
"version": "3.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "khoa",
"name": "khoajs",
"version": "3.2.0",
"license": "MIT",
"dependencies": {
@@ -20,7 +20,7 @@
"fresh": "~0.5.2",
"http-assert": "^1.5.0",
"http-errors": "^2.0.0",
"khoa-compose": "^4.1.0",
"koa-compose": "^4.1.0",
"mime-types": "^3.0.1",
"on-finished": "^2.4.1",
"parseurl": "^1.3.3",

View File

@@ -1,5 +1,5 @@
{
"name": "khoa",
"name": "khoajs",
"version": "3.2.0",
"description": "Khoa web app framework",
"main": "lib/application.js",
@@ -47,7 +47,7 @@
"fresh": "~0.5.2",
"http-assert": "^1.5.0",
"http-errors": "^2.0.0",
"khoa-compose": "^4.1.0",
"koa-compose": "^4.1.0",
"mime-types": "^3.0.1",
"on-finished": "^2.4.1",
"parseurl": "^1.3.3",