# markdown-magic-pulpo-schema

> Document configurations built with Pulpo

Latest version **2.1.0** (published 2026-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-magic-pulpo-schema
pnpm add markdown-magic-pulpo-schema
yarn add markdown-magic-pulpo-schema
bun add markdown-magic-pulpo-schema
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2026-07-06 |
| First published | 2017-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.18.0 |
| Dependencies | 0 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Author | Patrick Camacho |
| Maintainers | camacho |
| Keywords | markdown-magic, pulpo, configuration, config, plugin |

## Links

- npm: https://www.npmjs.com/package/markdown-magic-pulpo-schema
- Repository: https://github.com/camacho/markdown-magic-plugins
- Homepage: https://github.com/camacho/markdown-magic-plugins#readme
- Issues: https://github.com/camacho/markdown-magic-plugins/issues
- npm.io page: https://npm.io/package/markdown-magic-pulpo-schema

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2026-07-06
- 2.0.0 — 2026-07-05
- 1.0.1 — 2022-03-26
- 1.0.0 — 2017-01-31

## README

# Schema plugin

Add install command to markdown files via [markdown-magic](https://github.com/DavidWells/markdown-magic)

## Install

```
npm i markdown-magic markdown-magic-install-command --save-dev
```

## Adding the plugin

See `example.ts` for usage.

<!-- AUTO-GENERATED-CONTENT:START (CODE:src=./example.ts) -->

```ts
import path from 'path';
import Pulpo from 'pulpo';
import { markdownMagic } from 'markdown-magic';
import SCHEMA from './index.ts';

const config = {
  matchWord: 'AUTO-GENERATED-CONTENT',
  transforms: {
    SCHEMA: SCHEMA(
      new Pulpo({
        host: {
          description: 'Host for the server',
          type: 'string',
          default: 'localhost',
          argv: 'host',
        },
        port: {
          description: 'Port for dev server to run on',
          type: 'number',
          default: '3000',
          env: 'PORT',
        },
      }),
    ),
  },
};

const markdownPath = path.join(import.meta.dirname, 'README.md');
await markdownMagic(markdownPath, config);
```

<!-- AUTO-GENERATED-CONTENT:END *-->

## Usage in markdown

<!-- AUTO-GENERATED-CONTENT:START (SCHEMA) -->

- **host** (string) - Host for the server
  - _default_ - localhost
  - _argv_ - host
- **port** (number) - Port for dev server to run on
  - _default_ - 3000
  - _env_ - PORT

<!-- AUTO-GENERATED-CONTENT:END -->

---
_Source: https://npm.io/package/markdown-magic-pulpo-schema · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
