# pandocfiltersjs

> node module for writing pandoc filters

Latest version **0.1.1** (published 2017-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install pandocfiltersjs
pnpm add pandocfiltersjs
yarn add pandocfiltersjs
bun add pandocfiltersjs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-10-24 |
| First published | 2017-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Yu Ogawa |
| Maintainers | 0gawa |
| Keywords | pandoc, filter |

## Links

- npm: https://www.npmjs.com/package/pandocfiltersjs
- Repository: https://github.com/0gawa/pandocfiltersjs
- Homepage: https://github.com/0gawa/pandocfiltersjs#readme
- Issues: https://github.com/0gawa/pandocfiltersjs/issues
- npm.io page: https://npm.io/package/pandocfiltersjs

## Recent versions

- 0.1.1 (latest) — 2017-10-24

## README

# pandocfiltersjs

[![CircleCI](https://circleci.com/gh/0gawa/pandocfiltersjs.svg?style=svg)](https://circleci.com/gh/0gawa/pandocfiltersjs)
[![npm version](https://badge.fury.io/js/gulp-pandoc-convert.svg)](https://badge.fury.io/js/pandocfiltersjs)

node module for writing pandoc filters, mostly porting from pandocfilters (Python implementation.)

## Usage

Here is an exmample to upper-case strings.

```javascript
#!/usr/bin/env node

const { toJSONFilter, Str } = require("./main");

toJSONFilter((type, value, format, meta) => {
  if (type === "Str") {
    return Str(value.toUpperCase());
  }
});
```

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