unified

Project: form8ion/remark-remove-greenkeeper-badge

Package: remark-remove-greenkeeper-badge@1.2.4

  1. remark plugin for removing a greenkeeper badge
  1. remark-plugin 81

remark-remove-greenkeeper-badge

remark plugin for removing a greenkeeper badge

Node CI Workflow Status

Table of Contents

Usage

MIT license npm Try remark-remove-greenkeeper-badge on RunKit

Installation

$ npm install remark-remove-greenkeeper-badge --save-prod

Example

Import

import fs from 'node:fs';
import {remark} from 'remark';
import remarkRemoveGreenkeeperBadge from 'remark-remove-greenkeeper-badge';

Execute

remark()
  .use(remarkRemoveGreenkeeperBadge)
  .process(
    `# project-name

[![Greenkeeper badge](https://badges.greenkeeper.io/your-account/project-name.svg)](https://greenkeeper.io/)
`,
    (err, file) => {
      fs.writeFileSync(`${process.cwd()}/README.md`, `${file}`);
    }
  );

Contributing

PRs Welcome Conventional Commits Commitizen friendly semantic-release Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test