Skip to content

Commit 6926a9d

Browse files
committed
πŸ“ Update readme
1 parent c66049a commit 6926a9d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

β€Žreadme.mdβ€Ž

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
## Usage
66

77
```typescript
8-
import randomItem, {
9-
randomMultipleItems,
10-
} from "https://deno.land/x/random_item/mod.ts";
8+
import palindrome from "https://deno.land/x/palindrome/mod.ts";
119

12-
randomItem(["🐴", "πŸ¦„", "🌈"]);
13-
//=> 'πŸ¦„'
10+
palindrome("owo");
11+
//=> true
1412

15-
randomMultipleItems(["🐴", "πŸ¦„", "🌈"], 2);
16-
//=> ['🌈', 'πŸ¦„']
13+
palindrome("zero");
14+
//=> false
1715
```
1816

1917
## License

β€Žtest_data.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export const PALINDROME = ["323", "anna", "civic"];
1+
export const PALINDROME = ["323", "anna", "civic", "owo"];
22
export const NOT_PALINDROME = ["123", "no soy un palindromo", "queso"];

0 commit comments

Comments
Β (0)