Similar to
String#trim()
but removes only whitespace on the right
$ npm install --save trim-right
var trimRight = require('trim-right');
trimRight(' unicorn ');
//=> ' unicorn'
trim-left
- Similar to String#trim()
but removes only whitespace on the leftMIT © Sindre Sorhus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.