Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabwhy committed Jun 30, 2022
1 parent f21cc09 commit 1e3e1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ The primary use of the VPK class is reading directory trees.
**Examples:**
```ts
// ts
import VPK from "./src/vpk";
import { VPK } from "./src";

let vpk: VPK = new VPK(vpkDirPath);
vpk.readTree();
```
```js
// node.js
const VPK = require("./dist/vpk").default;
const { VPK } = require("./dist");

let vpk = new VPK(vpkDirPath);
vpk.readTree();
Expand Down

0 comments on commit 1e3e1aa

Please sign in to comment.