Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/playform/remove

🪦 Remove —
https://github.com/playform/remove

astro dead link performance playform remove

Last synced: 22 days ago
JSON representation

🪦 Remove —

Awesome Lists containing this project

README

        

# [@playform/remove] 🪦

This **[`Astro integration`][astro-integration]** will automatically remove all
the dead links in your website.

## 🚀 Installation

There are two ways to add integrations to your project. Let's try the most
convenient option first!

### `astro add` command

Astro includes a CLI tool for adding first party integrations: `astro add`. This
command will:

1. (Optionally) Install all necessary dependencies and peer dependencies
2. (Also optionally) Update your `astro.config.*` file to apply this integration

To install `@playform/remove`, run the following from your project directory and
follow the prompts:

Using NPM:

```sh
npx astro add @playform/remove
```

Using Yarn:

```sh
yarn astro add @playform/remove
```

Using PNPM:

```sh
pnpx astro add @playform/remove
```

### Install dependencies manually

First, install the `@playform/remove` integration like so:

```sh
npm install -D -E @playform/remove
```

Then, apply this integration to your `astro.config.*` file using the
`integrations` property:

**`astro.config.ts`**

```ts
import deadLinks from "@playform/remove";

export default {
integrations: [deadLinks()],
};
```

## Getting started

The utility will now automatically remove all the deadlinks from your website
and point to their origin.

[@playform/remove]: HTTPS://NPMJS.Org/@playform/remove
[astro-integration]: HTTPS://docs.astro.build/en/guides/integrations-guide/

## Changelog

See [`CHANGELOG.md`](CHANGELOG.md) for a history of changes to this integration.