⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
unicode-length
/
lib
/
View File Name :
unicode-length.js
var punycode = require('punycode') var stripAnsi = require('strip-ansi') // From https://github.com/mathiasbynens/esrever/blob/master/scripts/export-data.js var REGEX_SYMBOLS = /([\0-\u02FF\u0370-\u1DBF\u1E00-\u20CF\u2100-\uD7FF\uDC00-\uFE1F\uFE30-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF])([\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]+)/g exports.get = function (input) { if (input == null) { throw new Error('Missing input') } if (typeof input !== 'string') { throw new Error('Invalid input: ' + input) } input = stripAnsi(input) const stripped = input.replace(REGEX_SYMBOLS, function ($0, symbol, combiningMarks) { return symbol }) return punycode.ucs2.decode(stripped).length }