Socket
Socket
Sign inDemoInstall

@tinyhttp/pug

Package Overview
Dependencies
80
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tinyhttp/pug

Pug wrapped in a helper function for tinyhttp.


Version published
Weekly downloads
132
increased by13100%
Maintainers
1
Install size
5.13 MB
Created
Weekly downloads
 

Readme

Source

@tinyhttp/pug

npm (scoped) npm

Pug wrapped in a helper function for tinyhttp.

Install

pnpm i @tinyhttp/pug

Example

import { App } from '@tinyhttp/app'
import { pug } from '@tinyhttp/pug'

pug(/* Pug options */)(new App())
  .get((req, res) => res.render('index.pug'))
  .listen(3000)

Keywords

FAQs

Last updated on 05 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc