# pandoc-filter-promisified

> Pandoc filtering for Node.js -- Promisified

Latest version **0.1.0** (published 2018-06-19) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install pandoc-filter-promisified
pnpm add pandoc-filter-promisified
yarn add pandoc-filter-promisified
bun add pandoc-filter-promisified
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-06-19 |
| First published | 2018-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=7.0.0 |
| Dependencies | 1 |
| Unpacked size | 52.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nikolay Yakimov |
| Maintainers | lierdakil |
| Keywords | pandoc, filter, pandocfilter |

## Links

- npm: https://www.npmjs.com/package/pandoc-filter-promisified
- Repository: https://github.com/lierdakil/pandoc-filter-node
- Homepage: https://github.com/lierdakil/pandoc-filter-node#readme
- Issues: https://github.com/lierdakil/pandoc-filter-node/issues
- npm.io page: https://npm.io/package/pandoc-filter-promisified

## Dependencies (1)

- [get-stdin](https://npm.io/package/get-stdin.md) ~0.1.0

## Recent versions

- 0.1.0 (latest) — 2018-06-19

## README

## About

Node.js port of the Python [pandocfilters][] for filtering with [Pandoc][]

## Install

```bash
npm install -g pandoc-filter-promisified
```

## Example

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

// Pandoc filter to convert all text to uppercase

var pandoc = require('pandoc-filter-promisified');
var Str = pandoc.Str;

async function action(elt,format,meta) {
	if (elt.t === 'Str') return Str(elt.c.toUpperCase());
}

pandoc.stdio(action);
```

## Compatibility Note

`v0.1.6` is required for pandoc versions after `1.17.2` to support the new JSON
format. See [this issue](https://github.com/mvhenderson/pandoc-filter-node/issues/5) for details.

## Credits

Thanks to [John MacFarlane](https://github.com/jgm) for Pandoc.

Thanks to [Mike Henderson](https://github.com/mvhenderson) for the [original
version of pandoc-filter for Node][pandoc-filter-node].

## License

MIT


[Pandoc]: http://johnmacfarlane.net/pandoc
[pandocfilters]: https://github.com/jgm/pandocfilters
[pandoc-filter-node]: https://github.com/mvhenderson/pandoc-filter-node

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