mirror of
https://github.com/honojs/hono.git
synced 2024-11-24 19:26:56 +01:00
feat(deno): export everythings from middlewares (#349)
This commit is contained in:
parent
9bb662922b
commit
c5b90a46df
@ -21,16 +21,16 @@ export { RegExpRouter } from './router/reg-exp-router/index.ts'
|
||||
export { TrieRouter } from './router/trie-router/index.ts'
|
||||
|
||||
// Middleware
|
||||
export { basicAuth } from './middleware/basic-auth/index.ts'
|
||||
export { bearerAuth } from './middleware/bearer-auth/index.ts'
|
||||
export { bodyParse } from './middleware/body-parse/index.ts'
|
||||
export { cookie } from './middleware/cookie/index.ts'
|
||||
export { cors } from './middleware/cors/index.ts'
|
||||
export { etag } from './middleware/etag/index.ts'
|
||||
export { html } from './middleware/html/index.ts'
|
||||
export { jsx } from './middleware/jsx/index.ts'
|
||||
export { jwt } from './middleware/jwt/index.ts'
|
||||
export { logger } from './middleware/logger/index.ts'
|
||||
export { poweredBy } from './middleware/powered-by/index.ts'
|
||||
export { prettyJSON } from './middleware/pretty-json/index.ts'
|
||||
export { serveStatic } from './deno/serve-static.ts'
|
||||
export * from './middleware/basic-auth/index.ts'
|
||||
export * from './middleware/bearer-auth/index.ts'
|
||||
export * from './middleware/body-parse/index.ts'
|
||||
export * from './middleware/cookie/index.ts'
|
||||
export * from './middleware/cors/index.ts'
|
||||
export * from './middleware/etag/index.ts'
|
||||
export * from './middleware/html/index.ts'
|
||||
export * from './middleware/jsx/index.ts'
|
||||
export * from './middleware/jwt/index.ts'
|
||||
export * from './middleware/logger/index.ts'
|
||||
export * from './middleware/powered-by/index.ts'
|
||||
export * from './middleware/pretty-json/index.ts'
|
||||
export * from './deno/serve-static.ts'
|
||||
|
26
src/mod.ts
26
src/mod.ts
@ -21,16 +21,16 @@ export { RegExpRouter } from './router/reg-exp-router'
|
||||
export { TrieRouter } from './router/trie-router'
|
||||
|
||||
// Middleware
|
||||
export { basicAuth } from './middleware/basic-auth'
|
||||
export { bearerAuth } from './middleware/bearer-auth'
|
||||
export { bodyParse } from './middleware/body-parse'
|
||||
export { cookie } from './middleware/cookie'
|
||||
export { cors } from './middleware/cors'
|
||||
export { etag } from './middleware/etag'
|
||||
export { html } from './middleware/html'
|
||||
export { jsx } from './middleware/jsx'
|
||||
export { jwt } from './middleware/jwt'
|
||||
export { logger } from './middleware/logger'
|
||||
export { poweredBy } from './middleware/powered-by'
|
||||
export { prettyJSON } from './middleware/pretty-json'
|
||||
export { serveStatic } from './deno/serve-static'
|
||||
export * from './middleware/basic-auth'
|
||||
export * from './middleware/bearer-auth'
|
||||
export * from './middleware/body-parse'
|
||||
export * from './middleware/cookie'
|
||||
export * from './middleware/cors'
|
||||
export * from './middleware/etag'
|
||||
export * from './middleware/html'
|
||||
export * from './middleware/jsx'
|
||||
export * from './middleware/jwt'
|
||||
export * from './middleware/logger'
|
||||
export * from './middleware/powered-by'
|
||||
export * from './middleware/pretty-json'
|
||||
export * from './deno/serve-static'
|
||||
|
Loading…
Reference in New Issue
Block a user