# remove-trailing-slash

> removes trailing slashes

Latest version **0.1.1** (published 2020-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install remove-trailing-slash
pnpm add remove-trailing-slash
yarn add remove-trailing-slash
bun add remove-trailing-slash
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-09-18 |
| First published | 2013-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Stephen Mathieson |
| Maintainers | stephenmathieson |
| Keywords | slashes, trailing |

## Links

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

## Recent versions

- 0.1.1 (latest) — 2020-09-18
- 0.1.0 — 2013-08-02

## README

# remove-trailing-slash

removes trailing slashes

## Installation

with [component(1)](http://component.io):

    $ component install stephenmathieson/remove-trailing-slash

with [npm](https://npmjs.org/):

    $ npm install remove-trailing-slash

## API

### `removeTrailingSlash(str)`

Removes trailing slashes from the given `str`

## Example

```js
var slashes = require('remove-trailing-slash')

slashes('http://google.com/').should.be.equal('http://google.com');
```

## License

MIT

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