summaryrefslogtreecommitdiffstats
path: root/node_modules/trim-right/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/trim-right/readme.md')
-rw-r--r--node_modules/trim-right/readme.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/node_modules/trim-right/readme.md b/node_modules/trim-right/readme.md
new file mode 100644
index 0000000..0a4438a
--- /dev/null
+++ b/node_modules/trim-right/readme.md
@@ -0,0 +1,30 @@
+# trim-right [![Build Status](https://travis-ci.org/sindresorhus/trim-right.svg?branch=master)](https://travis-ci.org/sindresorhus/trim-right)
+
+> Similar to [`String#trim()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim) but removes only whitespace on the right
+
+
+## Install
+
+```
+$ npm install --save trim-right
+```
+
+
+## Usage
+
+```js
+var trimRight = require('trim-right');
+
+trimRight(' unicorn ');
+//=> ' unicorn'
+```
+
+
+## Related
+
+- [`trim-left`](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left
+
+
+## License
+
+MIT © [Sindre Sorhus](http://sindresorhus.com)