summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/punycode2/index.js
blob: 8aa4b9766ef01f0f351e38702029ab0a950861cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
'use strict';

/** Define the public API */
module.exports = {
	/**
		* A string representing the current Punycode.js version number.
		* @memberOf punycode
		* @type String
	*/
	version: '1.3.2',
	/**
		* An object of methods to convert from JavaScript's internal character
		* representation (UCS-2) to Unicode code points, and back.
		* @see <https://mathiasbynens.be/notes/javascript-encoding>
		* @memberOf punycode
		* @type Object
	*/
	ucs2: {
		decode: require('./ucs2/decode'),
		encode: require('./ucs2/encode')
	},
	decode: require('./decode'),
	encode: require('./encode'),
	toASCII: require('./to-ascii'),
	toUnicode: require('./to-unicode')
};