@honojs/hello
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@honojs/hello", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "An example of third-party middleware for Hono", | ||
@@ -12,15 +12,8 @@ "main": "dist/index.js", | ||
"test": "jest", | ||
"test:deno": "deno test deno_test", | ||
"test:all": "yarn test && yarn test:deno && yarn test:bun", | ||
"denoify": "rimraf deno_dist && denoify", | ||
"build": "rimraf dist && tsc", | ||
"prerelease": "yarn build && yarn test", | ||
"release": "yarn publish" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/honojs/middleware-template.git" | ||
}, | ||
"homepage": "https://github.com/honojs/middleware-template", | ||
"author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)", | ||
"private": false, | ||
"publishConfig": { | ||
@@ -30,16 +23,10 @@ "registry": "https://registry.npmjs.org", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/honojs/middleware.git" | ||
}, | ||
"homepage": "https://github.com/honojs/middleware", | ||
"dependencies": { | ||
"hono": "^2.0.2" | ||
}, | ||
"devDependencies": { | ||
"@cloudflare/workers-types": "^3.14.0", | ||
"@types/jest": "^28.1.4", | ||
"denoify": "^0.11.1", | ||
"jest": "^28.1.2", | ||
"jest-environment-miniflare": "^2.6.0", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^28.0.5", | ||
"typescript": "^4.7.4" | ||
"hono": "^2.2.5" | ||
} | ||
} | ||
} |
@@ -20,17 +20,2 @@ # Hello middleware for Hono | ||
## Deno | ||
```ts | ||
import { serve } from 'https://deno.land/std/http/server.ts' | ||
import { hello } from 'https://deno.land/x/hono_hello' | ||
import { Hono } from 'https://deno.land/x/hono/mod.ts' | ||
const app = new Hono() | ||
app.use('*', hello('Hello!! Hono!!')) | ||
app.get('/', (c) => c.text('foo')) | ||
serve(app.fetch) | ||
``` | ||
## Author | ||
@@ -37,0 +22,0 @@ |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
1
1138
2
0
2
27
1
Updatedhono@^2.2.5