# piddler

> Writes the node process' pid to a tasty file for programmtic manipulation

Latest version **1.0.0** (published 2013-01-23) · BSD license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2013-01-23 |
| First published | 2013-01-23 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David Erwin |
| Maintainers | david.erwin |
| Keywords | pid, linux, script |

## Links

- npm: https://www.npmjs.com/package/piddler
- Repository: https://github.com/daviderwin/piddler
- npm.io page: https://npm.io/package/piddler

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2013-01-23

## README

piddler
=======

A node module that writes the pid of a node process to a file for delicious programmatic mainpulation


usage
-----

Simply require piddler.  

> var pid = require('piddler');

Then start your app with -P somepath/somefile.pid 

> node myapp -P /var/log/node/myapp.pid

Piddler will look for a -P flag and, if found, write that processes' id to that file.

### Return values

int [pid] - on successful write
bool false - on unsuccessful write
null - if no flag was used to start node app

credits
-------

Smarter people than me from whom I've picked up the rigour of caring enough to control my processes with scripts.  You all rock.

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