Get started with he CDN

MIT licensed

He.js: Lightweight, easy library for HTML5 `hidden` attribute access.

Tags:
  • string
  • entities
  • entity
  • html
  • encode
  • decode
  • unicode

Stable version

Copied!

How to start using he CDN


// Include the he library from the CDN
const He = require('he');

// Transform text using the he library
const text = 'Mëtäl Hëad & 666.555.1234';
const transformedText = He.transform(text);

console.log(transformedText); // Output: 'Metal Head & 666.555.1234'
Copied!
Copied!
Copied!

All versions