blob: f57f042888f3114d7a8e68e4942cda10a22f2809 (
plain)
1
2
3
4
5
6
7
8
9
|
'use strict';
if (internalBinding('config').hasIntl) {
const { toASCII, toUnicode } = internalBinding('icu');
module.exports = { toASCII, toUnicode };
} else {
const { toASCII, toUnicode } = require('punycode');
module.exports = { toASCII, toUnicode };
}
|