Skip to content

Commit

Permalink
Merge branch 'feature/python-pre-versions'
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmchase committed Apr 11, 2023
2 parents 0277182 + 2a91f33 commit d647309
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 @@ -10,7 +10,7 @@ Sorts a set of version strings semantically

```ts
import * as semver from "https://deno.land/std@0.155.0/semver/mod.ts";
import { semverSort } from "https://deno.land/x/semver-sort@0.1.2/mod.ts";
import { semverSort } from "https://deno.land/x/semver_sort@0.1.3/mod.ts";

const sorted: { version: string; semver: SemVer }[] = semverSort(
"1.12.0",
Expand All @@ -27,13 +27,13 @@ const sorted: { version: string; semver: SemVer }[] = semverSort(
Pass line delimited version strings as stdin to have them sorted.

```sh
cat test.txt | deno run "https://deno.land/x/semver-sort@0.1.0/main.ts"
cat test.txt | deno run "https://deno.land/x/semver_sort@0.1.3/main.ts"
```

##### install

```sh
deno install "https://deno.land/x/semver-sort@0.1.0/main.ts" -n semver-sort
deno install "https://deno.land/x/semver_sort@0.1.3/main.ts" -n semver-sort
cat test.txt | semver-sort
```

Expand Down

0 comments on commit d647309

Please sign in to comment.