Skip to content

Commit

Permalink
docs: Change README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
redpeacock78 committed Nov 13, 2021
1 parent 49f0f94 commit fa94320
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Base85 (Ascii85 with Adobe Escape Sequence) encode or decode FILE, or standard i
**🎉 It can now also handle binaries!**
- Use Deno
```bash
$ deno install --allow-read --force -n base85 https://github.com/redpeacock78/base85/raw/v0.0.10/cli.ts
$ deno install --allow-read --force -n base85 https://github.com/redpeacock78/base85/raw/v0.0.11/cli.ts
$ base85 -V
```
- Download Binary
```bash
# Linux_x86
$ curl -sL https://github.com/redpeacock78/base85/releases/download/v0.0.10/base85-linux-x86 -o /usr/local/bin/base85
$ curl -sL https://github.com/redpeacock78/base85/releases/download/v0.0.11/base85-linux-x86 -o /usr/local/bin/base85
$ chmod +x /usr/local/bin/base85
$ base85 -V
```
Expand All @@ -33,7 +33,7 @@ Base85 (Ascii85 with Adobe Escape Sequence) encode or decode FILE, or standard i
```
### Deno module
```typescript
import { base85encode, base85decode } from "https://github.com/redpeacock78/base85/raw/v0.0.10/mod.ts";
import { base85encode, base85decode } from "https://github.com/redpeacock78/base85/raw/v0.0.11/mod.ts";

console.log(base85encode(new TextEncoder().encode("Hello World.")));
Deno.stdout.writeSync(base85decode('<~87cURD]i,"Ebo8=zz~>'));
Expand Down

0 comments on commit fa94320

Please sign in to comment.