# working-directory

> A library that allows for simpler file manipulation relative to a directory

Latest version **0.0.1** (published 2014-09-07) · BSD 2-Clause license · 0 weekly downloads

## Install

```sh
npm install working-directory
pnpm add working-directory
yarn add working-directory
bun add working-directory
```

## 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.0.1 |
| Published | 2014-09-07 |
| First published | 2014-09-07 |
| Weekly downloads | 0 |
| License | BSD 2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kegan Myers |
| Maintainers | terribleplan |

## Links

- npm: https://www.npmjs.com/package/working-directory
- Repository: https://github.com/terribleplan/WorkingDirectory
- Issues: https://github.com/terribleplan/WorkingDirectory/issues
- npm.io page: https://npm.io/package/working-directory

## Recent versions

- 0.0.1 (latest) — 2014-09-07
- 0.0.0 — 2014-09-07

## README

WorkingDirectory
================
[![Build Status](https://secure.travis-ci.org/terribleplan/WorkingDirectory.png?branch=master)](https://travis-ci.org/terribleplan/WorkingDirectory)

WorkingDirectory is a library that allows for simple file manipulation through
creating an instance that all of your file operations can be done relative to.
Usage
-----
```javascript
var WorkingDirectory = require('working-directory');

var wd = new WorkingDirectory(__dirname);

wd.mkdir("someDirectory", function(err, tempdir) {
  if (err) throw err;

  tempdir.writeFile("file.txt", "File contents", function(err) {
    if (err) throw err;

    console.log("A file has been written in the temporary directory");
  });
});
```
Notes
-----
This package does not and will not provide the following functionality:
* Synchronous filesystem access

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