# write-to-path

> Given a file path, return a function that will synchronously write to it

Latest version **1.1.0** (published 2014-05-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install write-to-path
pnpm add write-to-path
yarn add write-to-path
bun add write-to-path
```

## 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.1.0 |
| Published | 2014-05-21 |
| First published | 2014-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ben Clinkinbeard |
| Maintainers | bclinkinbeard |
| Keywords | fs, path, server |

## Links

- npm: https://www.npmjs.com/package/write-to-path
- Repository: https://github.com/bclinkinbeard/write-to-path
- Issues: https://github.com/bclinkinbeard/write-to-path/issues
- npm.io page: https://npm.io/package/write-to-path

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2014-05-21
- 1.0.0 — 2014-02-22
- 0.1.0 — 2014-02-14

## README

write-to-path
=============

Given a file path, return a function that will synchronously write to it

```
var writer = require('write-to-path')

var write = writer('./bundle.js', {debug: true})

write(null, src) // writes the file
```

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