معرفی شرکت ها


detect-newline-4.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Detect the dominant newline character of a string
ویژگی مقدار
سیستم عامل -
نام فایل detect-newline-4.0.0
نام detect-newline
نسخه کتابخانه 4.0.0
نگهدارنده ['sindresorhus']
ایمیل نگهدارنده ['sindresorhus@gmail.com']
نویسنده Sindre Sorhus
ایمیل نویسنده sindresorhus@gmail.com
آدرس صفحه اصلی git+https://github.com/sindresorhus/detect-newline.git
آدرس اینترنتی https://github.com/sindresorhus/detect-newline#readme
مجوز MIT
# detect-newline > Detect the dominant newline character of a string ## Install ```sh npm install detect-newline ``` ## Usage ```js import {detectNewline} from 'detect-newline'; detectNewline('foo\nbar\nbaz\r\n'); //=> '\n' ``` ## API ### detectNewline(string) Returns the detected newline or `undefined` when no newline character is found. ### detectNewlineGraceful(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


زبان مورد نیاز

مقدار نام
14.17.5 Npm


نحوه نصب


نصب پکیج tgz detect-newline-4.0.0:

    npm install detect-newline-4.0.0.tgz