summaryrefslogtreecommitdiff
path: root/prettier
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2019-03-06 07:24:53 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-03-06 10:24:53 -0500
commitd29957ad17956016c35a04f5f1f98565e58e8a2e (patch)
tree05c4d2e063fd366dd0b9304b13e9a75190c544f7 /prettier
parentc6075f373e42a17903e857b9b28ff983d571d43f (diff)
Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239)
Original: https://github.com/denoland/deno_std/commit/0fc13fffbdb59d6aee2b11ff17a5de382273126b
Diffstat (limited to 'prettier')
-rw-r--r--prettier/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/prettier/README.md b/prettier/README.md
index 7ec9b7355..cbfce3e17 100644
--- a/prettier/README.md
+++ b/prettier/README.md
@@ -7,19 +7,19 @@ Prettier APIs and tools for deno
To formats the source files, run:
```console
-deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts
+deno --allow-run --allow-write https://deno.land/std/prettier/main.ts
```
You can format only specific files by passing the arguments.
```console
-deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts path/to/script.ts
+deno --allow-run --allow-write https://deno.land/std/prettier/main.ts path/to/script.ts
```
You can format files on specific directory by passing the directory's path.
```console
-deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts path/to/script.ts
+deno --allow-run --allow-write https://deno.land/std/prettier/main.ts path/to/script.ts
```
## Use API
@@ -30,7 +30,7 @@ You can use APIs of prettier as the following:
import {
prettier,
prettierPlugins
-} from "https://deno.land/x/std/prettier/prettier.ts";
+} from "https://deno.land/std/prettier/prettier.ts";
prettier.format("const x = 1", {
parser: "babel",