# ssp-dos2unix

> dos2unix implementation with Node.js

Latest version **1.0.1** (published 2016-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install ssp-dos2unix
pnpm add ssp-dos2unix
yarn add ssp-dos2unix
bun add ssp-dos2unix
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-05-01 |
| First published | 2016-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 1 |
| Author | Sam Saint-Pettersen |
| Maintainers | stpettersens |
| Keywords | dos2unix, line, endings |

## Links

- npm: https://www.npmjs.com/package/ssp-dos2unix
- Repository: https://github.com/stpettersens/ssp-dos2unix
- Homepage: https://github.com/stpettersens/ssp-dos2unix#readme
- Issues: https://github.com/stpettersens/ssp-dos2unix/issues
- npm.io page: https://npm.io/package/ssp-dos2unix

## Dependencies (1)

- [nan](https://npm.io/package/nan.md) ^2.2.1

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-05-01
- 1.0.0 — 2016-04-27

## README

### ssp-dos2unix
> :end: A dos2unix implementation.

[![Build Status](https://travis-ci.org/stpettersens/ssp-dos2unix.png?branch=master)](https://travis-ci.org/stpettersens/ssp-dos2unix)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)
[![npm version](https://badge.fury.io/js/ssp-dos2unix.svg)](http://npmjs.com/package/ssp-dos2unix)

##### Install:

    $ npm install ssp-dos2unix

##### Usage:
```js
'use strict'
const dos2unix = require('dos2unix').dos2unix

let converted = dos2unix('README.md', {native: false, 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:

* `native` (Boolean) - Force use of native module (cannot be used with write: false).
* `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.

---
_Source: https://npm.io/package/ssp-dos2unix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
