replace jest with ava
This commit is contained in:
parent
27cc8b23fe
commit
0347b72305
11775 changed files with 84546 additions and 1440575 deletions
31
node_modules/trim-off-newlines/readme.md
generated
vendored
Normal file
31
node_modules/trim-off-newlines/readme.md
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# trim-off-newlines [](https://travis-ci.org/stevemao/trim-off-newlines)
|
||||
|
||||
> Similar to [`String#trim()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim) but removes only newlines
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save trim-off-newlines
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var trimOffNewlines = require('trim-off-newlines');
|
||||
|
||||
trimOffNewlines('\n\nunicorns\n\n');
|
||||
//=> 'unicorns'
|
||||
```
|
||||
|
||||
|
||||
## 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
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Steve Mao](https://github.com/stevemao)
|
||||
Loading…
Add table
Add a link
Reference in a new issue