pre-suf
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "pre-suf", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Manipulate strings with prefixes and suffixes.", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
@@ -30,3 +30,4 @@ [![Build Status](https://travis-ci.org/kaelzhang/node-pre-suf.svg?branch=master)](https://travis-ci.org/kaelzhang/node-pre-suf) | ||
presuf.ensureLeading('path/to', '/') // '/path/to' | ||
presuf.ensureLeading('path/to', '/') // '/path/to' | ||
presuf.removeEnding('/path/to//', '/') // '/path/to' | ||
``` | ||
@@ -33,0 +34,0 @@ |
7926
49