Skip to content

dprint/plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cc8cd4c · Nov 22, 2024
Jul 11, 2024
Apr 15, 2022
Jul 20, 2024
Apr 24, 2022
Nov 18, 2023
Nov 24, 2023
Jan 26, 2022
Jul 11, 2024
Jul 2, 2024
Jul 11, 2024
Jul 20, 2024
Dec 26, 2023
Nov 22, 2024
Dec 26, 2023
Apr 24, 2022
Apr 24, 2022
Jul 20, 2024
Jul 20, 2024
Jul 11, 2024

Repository files navigation

plugins.dprint.dev

Website for https://plugins.dprint.dev.

This website is hosted on Deno Deploy.

Redirect to Any GitHub Repo (For Plugin Authors)

This service provides a convenient redirect for a plugin stored in any GitHub repo.

To use it, create a GitHub release in your repo with:

  1. Plugin named plugin.wasm (use plugin.json for process plugins)
  2. JSON schema named schema.json (if exists)

Then your redirect urls will look like:

https://plugins.dprint.dev/<username>/<repo_name>-<tag_name>.wasm
https://plugins.dprint.dev/<username>/<repo_name>/<tag_name>/schema.json
https://plugins.dprint.dev/<username>/<repo_name>/latest.json

Restrictions and recommendations:

  1. Tag names must not contain a dash (-).
  2. It is recommended to use the format x.x.x for your tag names to be consistent with other plugins (ex. no leading v like v1.0.0).

If your repo name is in the format dprint-plugin-<something> then you can omit dprint-plugin- in the <repo_name> for the redirect (ex. https://plugins.dprint.dev/<user>/dprint-plugin-typescript-0.0.0.wasm may be shortened to https://plugins.dprint.dev/<user>/typescript-0.0.0.wasm).

Run Locally

deno run --allow-read=. --allow-net --allow-env --no-check main.ts