We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f75a3a commit de8256bCopy full SHA for de8256b
index.js
@@ -3,7 +3,7 @@ import {readFileSync, promises as fs} from 'node:fs';
3
const {readFile} = fs;
4
5
const parse = (buffer, {beforeParse, reviver} = {}) => {
6
- // Unlike `buffer.toString()` and `fs.readFile(path, 'utf8')`, `TextDecoder`` will remove BOM.
+ // Unlike `buffer.toString()` and `fs.readFile(path, 'utf8')`, `TextDecoder` will remove BOM.
7
let data = new TextDecoder().decode(buffer);
8
9
if (typeof beforeParse === 'function') {
0 commit comments