sindresorhus / newline-br
Prepend `<br>` to newlines in a string
☆12Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for newline-br
- Check if a file path is a compressed file☆16Updated 6 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Modify the keys of an object☆15Updated 3 years ago
- ES2015 Math.imul() ponyfill☆10Updated last year
- Get a random property from an object☆15Updated 4 months ago
- Include only certain items in an array☆16Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Get the path to the user home directory☆13Updated 3 years ago
- Get the system default UID☆11Updated last year
- Get the avatar of a GitHub user☆21Updated 3 years ago
- Modify the filename in a path☆16Updated 2 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Get a random key from an object☆18Updated 4 months ago
- Get the maximum permitted length of a path of a Unix domain socket☆13Updated 3 years ago
- Modify the values of an object☆28Updated 3 years ago
- Check if a value is an error constructor☆13Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Regular expression for matching mapcodes☆18Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated 7 months ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 3 years ago
- Check if a number is in a given range