Skip to content

Commit 5f00b81

Browse files
Update readme.md
1 parent cfc0e04 commit 5f00b81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type input = async (output?: string) => Promise<string>
3838
input example:
3939
4040
```ts
41-
import { input } from "https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/v0.0.0/input.ts";
41+
import { input } from "https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/0.0.0/input.ts";
4242

4343
(async () => {
4444
console.log("-- DENO ADDER --");
@@ -62,7 +62,7 @@ type inputNullable = async (output?: string) => Promise<string | null>
6262
inputNullable example:
6363
6464
```ts
65-
import { inputNullable } from "https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/v0.0.0/input.ts";
65+
import { inputNullable } from "https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/0.0.0/input.ts";
6666

6767
(async () => {
6868
console.log("-- DENO ADDER --");
@@ -80,7 +80,7 @@ The `inputReader` method allows you to create an `input` or `inputNullable` meth
8080
inputReader example:
8181

8282
```ts
83-
import { inputReader } from "https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/v0.0.0/input.ts";
83+
import { inputReader } from "https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/0.0.0/input.ts";
8484

8585
// you could substitute Deno.stdin and Deno.stdout with any open file (with appropriate permissions)
8686
// or with a Deno Reader and Writer.
@@ -107,13 +107,13 @@ An example using the input method is given in [`./examples/input.ts`](./examples
107107
Try it out
108108

109109
```sh
110-
$ deno https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/v0.0.0/examples/input.ts
110+
$ deno https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/0.0.0/examples/input.ts
111111
```
112112

113113
Here's an example run of the program
114114

115115
```sh
116-
$ deno https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/v0.0.0/examples/input.ts
116+
$ deno https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/0.0.0/examples/input.ts
117117
-- DENO ADDER --
118118
Enter a number: 2
119119
Enter another number: 3
@@ -135,7 +135,7 @@ $ time deno -A examples/cat.ts mobydick.txt
135135
or if you didn't install it yet:
136136

137137
```sh
138-
$ time deno -A https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/v0.0.0/examples/cat.ts mobydick.txt
138+
$ time deno -A https://raw.githubusercontent.com/johnsonjo4531/pythonic_input/0.0.0/examples/cat.ts mobydick.txt
139139
```
140140

141141
Deno's cat example

0 commit comments

Comments
 (0)