Skip to content

Commit

Permalink
docs: update variable
Browse files Browse the repository at this point in the history
  • Loading branch information
crookse authored Sep 12, 2021
1 parent 54aa401 commit a5f18e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ The below quickstart uses Node and TypeScript. If this quickstart does not fit y
import { readFileSync } from "fs";
const data = readFileSync("./data.json", "utf-8");
const doc = accio(data);
const result = doc
const result = accio(data)
.array("versions") // Target the array named "versions"
.findOne({ // In the array, find one object that has a name field ...
name: "v0.0.3", // ... with the value of "v0.0.3"
Expand Down

0 comments on commit a5f18e0

Please sign in to comment.