Removes all characters from the left and right end of a string given an array of characters or a string with one character only.
npm install trimer
const trimer = require('trimer')
trimer(" bbbbbtest ////aaaaa", ["/", " ", "a", "b"])
// 'test'
const trimer = require('trimer')
trimer("/test////", "/")
// 'test'