A service for manipulating strings.
367
#StringService A service for manipulating strings.
##Installation
npm install -g string-servicedocker pull christianalexander/string-service##Running
string-servicePORT=3001 string-servicenpm testnpm startdocker run -d -p 8080:8080 christianalexander/string-service##Routes
GET /: Returns version informationGET /echo/:input: Returns the given stringGET /uppercase/:input: Returns the uppercase version of the given stringGET /lowercase/:input: Returns the lowercase version of the given stringGET /reverse/:input: Returns the reversed version of the given stringGET /length/:input: Returns the length of the given stringGET /leftpad/:input?len={length}&ch={character}: Runs leftpad on the given string, and returns the result.Content type
Image
Digest
Size
15.2 MB
Last updated
over 10 years ago
docker pull christianalexander/string-service