Not Particularly Meaningful

    ssp-dos2unix-js

    1.0.1 • Public • Published

    ssp-dos2unix

    🔚 A dos2unix implementation in pure JS.

    Build Status js-standard-style npm version

    Install:
    $ npm install ssp-dos2unix-js
    
    Usage:
    'use strict'
    const dos2unix = require('dos2unix-js').dos2unix
     
    let converted = dos2unix('README.md', {feedback: true, writable: false})
    console.log(converted) // Returned text as string without any carriage returns (\r).
    // If you use writable as true, returns 0 instead of text.
    Options:

    Omittable options object with following allowable parameters:

    • feedback (Boolean) - Display feedback ("File already has UNIX line endings...").
    • writable (Boolean) - Write change to file rather than return as string.

    All options are false if omitted except for writable which is true.

    Install

    npm i ssp-dos2unix-js

    DownloadsWeekly Downloads

    5

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • stpettersens