# connect-plist

> add capability to return plist

Latest version **0.1.0** (published 2012-12-14) · 0 weekly downloads

## Install

```sh
npm install connect-plist
pnpm add connect-plist
yarn add connect-plist
bun add connect-plist
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2012-12-14 |
| First published | 2012-12-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Hiroshi HORIKI |
| Maintainers | pchw |
| Keywords | plist, connect, middleware |

## Links

- npm: https://www.npmjs.com/package/connect-plist
- npm.io page: https://npm.io/package/connect-plist

## Dependencies (1)

- [plist](https://npm.io/package/plist.md) ~0.4.1

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2012-12-14

## README

connect-plist
====

Connect middleware that add capability sending response as plist format to your application.

Installation
----

    $ npm install connect-plist

Example
----

    var connect = require('connect');
    var plist = require('connect-plist');

    var data = { 'a': 'test stringy thingy', 'b': 'this contains non base64 ✔ ' };

    connect()
      .use(connect.logger('dev'))
      .use(plist())
      .use(function(req, res){
        return res.plist(data);
      })
      .listen(3000);

open browser to `http://localhost:3000/`, you will get following plist:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>a</key>
        <string>test stringy thingy</string>
        <key>b</key>
        <string>this contains non base64 ✔ </string>
      </dict>
    </plist>


License
----
The MIT License

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