Skip to content

Commit

Permalink
docs: mention native methods, remove archived repos
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Mar 20, 2023
1 parent 6a92871 commit a89db8a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

> Trim [newlines](https://en.wikipedia.org/wiki/Newline) from the start and/or end of a string
Looking to trim all whitespace, not just newlines? Use `String#trim()`, `String#trimStart()`, or `String#trimEnd()`.

## Install

```
Expand Down Expand Up @@ -37,11 +39,6 @@ Trim from the start of a string.

Trim from the end of a string.

## Related

- [trim-left](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left
- [trim-right](https://github.com/sindresorhus/trim-right) - Similar to `String#trim()` but removes only whitespace on the right.

---

<div align="center">
Expand Down

0 comments on commit a89db8a

Please sign in to comment.