# switch-slash

> Switch slash and backslash in string

Latest version **1.0.0** (published 2018-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install switch-slash
pnpm add switch-slash
yarn add switch-slash
bun add switch-slash
```

## 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.0 |
| Published | 2018-03-26 |
| First published | 2018-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Emmanuel O. |
| Maintainers | balou9 |
| Keywords | switch, slash, backslash |

## Links

- npm: https://www.npmjs.com/package/switch-slash
- Repository: https://github.com/Balou9/switch-slash
- Homepage: https://github.com/Balou9/switch-slash#readme
- Issues: https://github.com/Balou9/switch-slash/issues
- npm.io page: https://npm.io/package/switch-slash

## Dependencies (1)

- [tape](https://npm.io/package/tape.md) ^4.9.0

## Recent versions

- 1.0.0 (latest) — 2018-03-26
- 0.0.2 — 2018-03-05
- 0.0.1 — 2018-03-05

## README

# switch-slash

[![build status](http://img.shields.io/travis/Balou9/switch-slash.svg?style=flat)](http://travis-ci.org/Balou9/switch-slash) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/Balou9/switch-slash?branch=master&svg=true)](https://ci.appveyor.com/project/Balou9/switch-slash)

***

Switch slash and backslash in string

***

## Get it!

```
npm install --save switch-slash
```

***

## Usage

``` js
var switchSlash = require('./index.js')
var str = 'alpha//\\dg'
console.log([str, switchSlash(str)])
```

***

## API

### `switchSlash(str)`

***

## License

[MIT](./license.md)

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