|
13 | 13 | <!-- SHADOW_SECTION_BADGES_START -->
|
14 | 14 |
|
15 | 15 | <a href="https://npmcharts.com/compare/%40wessberg%2Fmarshaller?minimal=true"><img alt="Downloads per month" src="https://img.shields.io/npm/dm/%40wessberg%2Fmarshaller.svg" /></a>
|
| 16 | +<a href="https://www.npmjs.com/package/%40wessberg%2Fmarshaller"><img alt="NPM version" src="https://badge.fury.io/js/%40wessberg%2Fmarshaller.svg" /></a> |
16 | 17 | <a href="https://david-dm.org/wessberg/marshaller"><img alt="Dependencies" src="https://img.shields.io/david/wessberg%2Fmarshaller.svg" /></a>
|
17 | 18 | <a href="https://github.com/wessberg/marshaller/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/wessberg%2Fmarshaller.svg" /></a>
|
18 | 19 | <a href="https://github.com/prettier/prettier"><img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square" /></a>
|
@@ -64,8 +65,8 @@ You can consider this to be direct replacements for the `JSON.[stringify|parse]`
|
64 | 65 | - [Maintainers](#maintainers)
|
65 | 66 | - [Backers](#backers)
|
66 | 67 | - [Patreon](#patreon)
|
67 |
| - - [FAQ](#faq) |
68 |
| - - [Why are functions not supported](#why-are-functions-not-supported) |
| 68 | +- [FAQ](#faq) |
| 69 | + - [Why are functions not supported](#why-are-functions-not-supported) |
69 | 70 | - [License](#license)
|
70 | 71 |
|
71 | 72 | <!-- SHADOW_SECTION_TOC_END -->
|
@@ -124,7 +125,7 @@ import {marshall, demarshall} from "@wessberg/marshaller";
|
124 | 125 |
|
125 | 126 | // Marshall some complex data that wouldn't normally be JSON serializable
|
126 | 127 | const marshallResult = marshall({
|
127 |
| - a: new Set([1, 2, /foo/, {a: new Date(), b: new Float32Array([1, 2, 3])}]) |
| 128 | + a: new Set([1, 2, /foo/, {a: new Date(), b: new Float32Array([1, 2, 3])}]) |
128 | 129 | });
|
129 | 130 |
|
130 | 131 | // Demarshall it to get a structurally identical representation back of the data
|
@@ -163,7 +164,7 @@ Do you want to contribute? Awesome! Please follow [these recommendations](./CONT
|
163 | 164 |
|
164 | 165 | <!-- SHADOW_SECTION_FAQ_START -->
|
165 | 166 |
|
166 |
| -### FAQ |
| 167 | +## FAQ |
167 | 168 |
|
168 | 169 | <!-- SHADOW_SECTION_FAQ_END -->
|
169 | 170 |
|
|
0 commit comments