Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
ptero
/
Ptero
/
deps.ts
>
db
qrousset/Ptero
Version
Latest
3.0
2.0
deno.land
Menu
controllers
models
routers
types
utils
mod.ts
(default module)
deps.ts
N
Bson
c
Application
c
Context
c
MongoClient
c
Router
v
addLog
v
APILog
v
apiLogRouter
v
caching
v
checkApiKey
v
checkUser
v
db
v
getLogs
v
getOneLog
v
getUser
v
getUsers
v
logData
v
oakCors
v
pteroRouter
v
redisCheck
v
redisCheckUser
v
redisClient
v
redisSet
v
redisSetUser
v
userRouter
v
Users
f
assertEquals
f
config
f
delay
f
redisConnect
f
superoak
main.ts
variable
db
Re-export
import
{ db }
from
"https://deno.land/x/ptero@3.0/Ptero/deps.ts"
;