0.0.1 • Published 6 years ago

remove-last-slash v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

remove-last-slash

Build Status

A very simple library which removes the trailing slash from a string if it has one.

Usage

const stringWithNoTrailingSlash = removeLastSlash("https://example.com/") // https://example.com

License

This is licensed under an MIT License. See details

0.0.1

6 years ago