trimming-trailing-char

0.0.2 • Public • Published

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'

Readme

Keywords

Package Sidebar

Install

npm i trimming-trailing-char

Weekly Downloads

4

Version

0.0.2

License

ISC

Last publish

Collaborators

  • gaspaonrocks