
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
A small library which provides methods to escape and unescape HTML entities hence saving you from XSS attacks.
=========
Library to provide utility methods to escape and unescape HTML entitiesand save you from XSS attacks.
npm install unxss --save
var unxss = require('unxss')
escape = unxss.escape,
unescape = unxss.unescape;
var html = `<h1>Hello World</h1>`,
escaped = escape(html),
unescaped = unescape(escaped);
console.log('html', html, 'escaped', escaped, 'unescaped', unescaped);
npm test
###License
MIT
FAQs
A small library which provides methods to escape and unescape HTML entities hence saving you from XSS attacks.
The npm package unxss receives a total of 2 weekly downloads. As such, unxss popularity was classified as not popular.
We found that unxss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.