Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit c0ab4a8

Browse files
committed
Change repo URL
1 parent 187dcc9 commit c0ab4a8

File tree

3 files changed

+816
-805
lines changed

3 files changed

+816
-805
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# JSON Stringify
1+
# JSON Stringify Lite
22

3-
![Node.js CI](https://github.com/tuftjs/json-stringify/workflows/Node.js%20CI/badge.svg)
4-
[![Coverage Status](https://coveralls.io/repos/github/tuftjs/json-stringify/badge.svg?branch=master)](https://coveralls.io/github/tuftjs/json-stringify?branch=master)
5-
[![Known Vulnerabilities](https://snyk.io/test/github/tuftjs/json-stringify/badge.svg?targetFile=package.json)](https://snyk.io/test/github/tuftjs/json-stringify?targetFile=package.json)
3+
![Node.js CI](https://github.com/rav2040/json-stringify-lite/workflows/Node.js%20CI/badge.svg)
4+
[![Coverage Status](https://coveralls.io/repos/github/rav2040/json-stringify-lite/badge.svg?branch=master)](https://coveralls.io/github/rav2040/json-stringify-lite?branch=master)
5+
[![Known Vulnerabilities](https://snyk.io/test/github/rav2040/json-stringify-lite/badge.svg?targetFile=package.json)](https://snyk.io/test/github/rav2040/json-stringify-lite?targetFile=package.json)
66

77
A JSON library for Node.js that exports the following set of functions:
88

@@ -14,7 +14,7 @@ These functions prioritize performance at the expense of certain features. The s
1414
1. When serializing strings, only quotation marks (`"`) and backslashes (`\`) are escaped. As the vast majority of strings in real world usage do not include ASCII control characters or lone surrogate code points, a significant performance boost is gained by not checking for their presence. If you require this functionality, it is best to stick with `JSON.stringify()` or another alternative.
1515
2. `toJSON()` methods are completely ignored. However, `Buffer` and `Date` objects *will* be transformed to represent the same output you would get from `JSON.stringify()`.
1616

17-
These functions also do not have *replacer* or *space* parameters like `JSON.stringify()` does.
17+
Unlike `JSON.stringify()`, these functions do not have *replacer* or *space* parameters.
1818

1919
**Note:**
2020
By default, a check will be made on all nested objects and arrays for circular references, and an `Error` will be thrown if one is encountered. Setting the *safe* parameter to `false` will disable this check and grant a considerable speed boost. If a circular reference is found when *safe* is set to `false`, the internal serialization function will be called recursively until the call stack size is exceeded.

0 commit comments

Comments
 (0)