Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (13 sloc) 0.74 kB

node-stringprep

Flattr this!

Purpose

Exposes predefined Unicode normalization functions that are required by many protocols. This is just a binding to ICU, which is said to be fast.

Installation

apt-get install libicu-dev  # Debian
emerge icu                  # Gentoo

npm install node-stringprep

Usage

var StringPrep = require('node-stringprep').StringPrep;
var prep = new StringPrep('nameprep');
prep.prepare('Äffchen')  // => 'äffchen'

For a list of supported profiles, see node-stringprep.cc

Jump to Line
Something went wrong with that request. Please try again.