trimming-trailing-char
v0.0.2
Published
a module to trim any character on any given string
Downloads
2
Readme
What is it ?
a simple module to trim any character on any given string
Who is it for ?
Well, I use it obviously, but any one who wants it really...
How to use it
let trimming = require('trimming-trailing-char');
console.log(trimming('010', '0'));
// => output is '1'