Nanometers Per Millisecond
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    newlinepublic

    newline Build Status

    Install

    Install with npm

    npm install --save newline
    

    Usage

    // Detects the line ending used in the string source and returns "CR", "LF" or "CRLF"
    newline.detect(source);
     
    var newSource = newline.set(source, "LF"); // Sets the source to the specified line endings

    Keywords

    none

    install

    npm i newline

    Downloadsweekly downloads

    2,106

    version

    0.0.3

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar