0.1.1 • Published 3 years ago

freshlinks v0.1.1

Weekly downloads
1,141
License
MIT
Repository
github
Last release
3 years ago

Freshlinks checks that the relative links between your markdown pages are correct, and helps keep them that way! You can use Freshlinks as a GitHub Action, where it will annotate your PR and tell you exactly where the mistaken link is. Or, you can use it from the command-line, installed with NPM.

GitHub Action

The Freshlinks GitHub Action can be installed with adding the following workflow file:

.github/workflows/freshlinks.yml

name: Freshlinks
on: [push]

jobs:
  freshlinks:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Freshlinks
        uses: reiddraper/freshlinks@v0.0.2
        with:
          # put in a glob pattern to find the
          # files you want Freshlinks to scan
          glob: 'docs/**/*.md'

Command-line or Node project

Freshlinks can be used programmatically as a library, or from the command-line:

npm install --save-dev freshlinks

Freshlinks will scan any files provided as arguments, so you'll frequently use it like:

$ git ls-files '*.md' | xargs npx freshlinks

Freshlinks has pretty colorized output:

LICENSE

Freshlinks is released under the MIT License.

Changelog

View the changelog to follow new releases.

0.1.1

3 years ago

0.1.1-0

3 years ago

0.1.0

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago