@stdlib/fs-read-json 0.0.3 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +43 -3
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# Read JSON
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Read a file as [JSON][json].
|
|
26
26
|
|
|
@@ -155,6 +155,22 @@ function onJSON( error, data ) {
|
|
|
155
155
|
|
|
156
156
|
<!-- /.examples -->
|
|
157
157
|
|
|
158
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
159
|
+
|
|
160
|
+
<section class="related">
|
|
161
|
+
|
|
162
|
+
* * *
|
|
163
|
+
|
|
164
|
+
## See Also
|
|
165
|
+
|
|
166
|
+
- <span class="package-name">[`@stdlib/fs/read-file`][@stdlib/fs/read-file]</span><span class="delimiter">: </span><span class="description">read the entire contents of a file.</span>
|
|
167
|
+
|
|
168
|
+
</section>
|
|
169
|
+
|
|
170
|
+
<!-- /.related -->
|
|
171
|
+
|
|
172
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
173
|
+
|
|
158
174
|
|
|
159
175
|
<section class="main-repo" >
|
|
160
176
|
|
|
@@ -166,6 +182,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
166
182
|
|
|
167
183
|
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
|
|
168
184
|
|
|
185
|
+
#### Community
|
|
186
|
+
|
|
187
|
+
[![Chat][chat-image]][chat-url]
|
|
188
|
+
|
|
169
189
|
---
|
|
170
190
|
|
|
171
191
|
## License
|
|
@@ -175,7 +195,7 @@ See [LICENSE][stdlib-license].
|
|
|
175
195
|
|
|
176
196
|
## Copyright
|
|
177
197
|
|
|
178
|
-
Copyright © 2016-
|
|
198
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
179
199
|
|
|
180
200
|
</section>
|
|
181
201
|
|
|
@@ -194,9 +214,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
194
214
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/fs-read-json/main.svg
|
|
195
215
|
[coverage-url]: https://codecov.io/github/stdlib-js/fs-read-json?branch=main
|
|
196
216
|
|
|
197
|
-
|
|
217
|
+
<!--
|
|
218
|
+
|
|
219
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/fs-read-json.svg
|
|
198
220
|
[dependencies-url]: https://david-dm.org/stdlib-js/fs-read-json/main
|
|
199
221
|
|
|
222
|
+
-->
|
|
223
|
+
|
|
224
|
+
[umd]: https://github.com/umdjs/umd
|
|
225
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
226
|
+
|
|
227
|
+
[deno-url]: https://github.com/stdlib-js/fs-read-json/tree/deno
|
|
228
|
+
[umd-url]: https://github.com/stdlib-js/fs-read-json/tree/umd
|
|
229
|
+
[esm-url]: https://github.com/stdlib-js/fs-read-json/tree/esm
|
|
230
|
+
|
|
231
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
232
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
233
|
+
|
|
200
234
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
201
235
|
|
|
202
236
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -207,6 +241,12 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
207
241
|
|
|
208
242
|
[bom]: https://en.wikipedia.org/wiki/Byte_order_mark
|
|
209
243
|
|
|
244
|
+
<!-- <related-links> -->
|
|
245
|
+
|
|
246
|
+
[@stdlib/fs/read-file]: https://www.npmjs.com/package/@stdlib/fs-read-file
|
|
247
|
+
|
|
248
|
+
<!-- </related-links> -->
|
|
249
|
+
|
|
210
250
|
</section>
|
|
211
251
|
|
|
212
252
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/fs-read-json",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Read a file as JSON.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"examples": "make examples",
|
|
29
29
|
"benchmark": "make benchmark"
|
|
30
30
|
},
|
|
31
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
34
|
"url": "git://github.com/stdlib-js/fs-read-json.git"
|