Skip to content

Commit

Permalink
📝 Update URL to package
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary authored May 14, 2020
1 parent 202fe2b commit 6faf3d9
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 @@ -3,7 +3,7 @@
Simply recursively read a directory in Deno.

```ts
import { recursiveReaddir } from "./mod.ts";
import { recursiveReaddir } from "https://raw.githubusercontent.com/denorg/recursive-readdir/master/mod.ts";

const files = await recursiveReaddir("path/to/dir"); // string[]
```
Expand All @@ -17,7 +17,7 @@ Required permissions:
Search for all markdown files in the `content` folder:

```ts
import { recursiveReaddir } from "./mod.ts";
import { recursiveReaddir } from "https://raw.githubusercontent.com/denorg/recursive-readdir/master/mod.ts";
import { join, extname } from "https://deno.land/std/path/mod.ts";

const markdownFiles = (await recursiveReaddir(join(".", "content"))).filter(
Expand Down

0 comments on commit 6faf3d9

Please sign in to comment.