X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fstrip-json-comments%2Freadme.md;h=cc542e50cf10fb29a610af736a312a246acf775a;hp=741c7ffddd4a0dcd9258ae193f29965806289f83;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hpb=b3950616b54221c40a7dab9099bda675007e5b6e
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/strip-json-comments/readme.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/strip-json-comments/readme.md
index 741c7ffd..cc542e50 100644
--- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/strip-json-comments/readme.md
+++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/strip-json-comments/readme.md
@@ -1,4 +1,4 @@
-# strip-json-comments [![Build Status](https://travis-ci.org/sindresorhus/strip-json-comments.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-json-comments)
+# strip-json-comments [![Build Status](https://travis-ci.com/sindresorhus/strip-json-comments.svg?branch=master)](https://travis-ci.com/github/sindresorhus/strip-json-comments)
> Strip comments from JSON. Lets you use comments in your JSON files!
@@ -15,14 +15,12 @@ It will replace single-line comments `//` and multi-line comments `/**/` with wh
Also available as a [Gulp](https://github.com/sindresorhus/gulp-strip-json-comments)/[Grunt](https://github.com/sindresorhus/grunt-strip-json-comments)/[Broccoli](https://github.com/sindresorhus/broccoli-strip-json-comments) plugin.
-
## Install
```
$ npm install strip-json-comments
```
-
## Usage
```js
@@ -35,7 +33,6 @@ JSON.parse(stripJsonComments(json));
//=> {unicorn: 'cake'}
```
-
## API
### stripJsonComments(jsonString, options?)
@@ -52,25 +49,22 @@ Type: `object`
##### whitespace
-Type: `boolean`
+Type: `boolean`\
Default: `true`
Replace comments with whitespace instead of stripping them entirely.
-
## Benchmark
```
$ npm run bench
```
-
## Related
- [strip-json-comments-cli](https://github.com/sindresorhus/strip-json-comments-cli) - CLI for this module
- [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - Strip comments from CSS
-
---