🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

stringprep

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stringprep

Pure-Javascript stringprep implementation. Fork of the moribund NPM 'libidn' package.

0.1.1
latest
Source
npm
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

node-libidn

This library is intended to be a port of GNU Libidn to Javascript, for use in node.js. At the moment, however, only stringprep (rfc3454) is implemented. Punycode and IDNA are TBD.

Installation

npm install libidn

Usage

var stringprep = require('libidn').stringprep;
stringprep.nameprep("eXample.COM");
// other profiles, e.g.: stringprep.nodeprep, stringprep.resourceprep

Keywords

idn

FAQs

Package last updated on 12 Jan 2017

Did you know?

Socket

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.

Install

Related posts