NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4966 most downloaded on npm
The runtime components for the pug templating language
Last release 6 years ago
no release in 18 months
Ships fairly regularly
a new release about every 8 months
Some releases are documented
notes for 3 of 9 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
12 releases · first in 2015
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
require('fs') calls will now be ignored by browser bundlers, through using browser field in package.json. Fallbacks for cases where fs module is not a
require('fs') calls will now be ignored by browser bundlers, through using
browser field in package.json. Fallbacks for cases where fs module is
not available were already in place prior to this release.This package has been renamed to pug-runtime.
attrs() has been optimized.classes() has been optimized, making it more than 9x faster.
classes() has been optimized, making it more than 9x faster.style() has been optimized, making it 3-9x faster in average cases.escape() has been optimized again, now with another 1-4x boost from the
last release.attrs(), attr(), and merge() also got some minor improvements.
Although not benchmarked, we expect the new versions to perform better than
last release.require('pug-runtime/build'), will not be visible through
require('pug-runtime/build') anymore.pug_encode_html_rules and pug_encode_char, two internal variables, have
now been removed. Please note that any further changes to these internal
variables will not come with a major bump.require('pug-runtime/wrap') is added to ease testing
client-side templates.Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →