Skip to content

Pug template engine for deno(for proper typing definition)

Notifications You must be signed in to change notification settings

codehz/deno-pug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pug for deno

Just a wrapper for official pug release.

Current upstream version: v3.0.2

Usage:

import { compileFileClient } from "https://deno.land/x/pug/mod.ts";

console.log(compileFileClient("some.pug"));

It is also act as a cli program, execute deno run --allow-read --allow-write https://deno.land/x/pug/mod.ts some.pug --output some.js to compile pug file to js file (can be imported directly from deno code)

About

Pug template engine for deno(for proper typing definition)

Resources

Stars

Watchers

Forks