# appcd-fs

> Library of useful filesystem functions.

Latest version **2.1.2** (published 2021-06-09) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install appcd-fs
pnpm add appcd-fs
yarn add appcd-fs
bun add appcd-fs
```

## 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 | 2.1.2 |
| Published | 2021-06-09 |
| First published | 2017-09-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.13.0 |
| Dependencies | 2 |
| Unpacked size | 28 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Axway, Inc. |
| Maintainers | cb1kenobi, appcelerator, awam |

## Links

- npm: https://www.npmjs.com/package/appcd-fs
- Repository: https://github.com/appcelerator/appc-daemon.git#master
- Homepage: https://github.com/appcelerator/appc-daemon
- Issues: https://github.com/appcelerator/appc-daemon/issues
- npm.io page: https://npm.io/package/appcd-fs

## Dependencies (2)

- [tmp](https://npm.io/package/tmp.md) ^0.2.1
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.19

## Recent versions

- 2.1.2 (latest) — 2021-06-09
- 2.1.1 — 2021-06-09
- 2.1.0 — 2021-06-08
- 2.0.7 — 2021-04-26
- 2.0.6 — 2021-04-15
- 2.0.5 — 2021-03-03
- 2.0.4 — 2021-01-26
- 2.0.3 — 2021-01-22
- 2.0.2 — 2021-01-05
- 2.0.1 — 2020-12-01
- 2.0.0 — 2020-06-12
- 1.1.10 — 2020-01-08
- 1.1.9 — 2019-11-06
- 1.1.8 — 2019-08-13
- 1.1.7 — 2019-06-04
- … 42 more at https://npm.io/package/appcd-fs/versions

## README

# appcd-fs

Library of useful filesystem functions.

Visit https://github.com/appcelerator/appc-daemon for more information.

Report issues to [GitHub issues][2]. Official issue tracker in [JIRA][3].

## Installation

	npm i appcd-fs

## Usage

Generally you would only import the functions you need.

```js
import {
	existsSync,
	isDir,
	isFile,
	locate
} from 'appcd-fs';

console.log(existsSync('/path/to/something'));

console.log(isDir('/path/to/some/dir'));

console.log(isFile('/path/to/some/file'));

// recursively search a directory for a file up to a specified depth
console.log(locate('/path/to/some/dir', 'somefile', 2));
```

## Legal

This project is open source under the [Apache Public License v2][1] and is developed by
[Axway, Inc](http://www.axway.com/) and the community. Please read the [`LICENSE`][1] file included
in this distribution for more information.

[1]: https://github.com/appcelerator/appc-daemon/blob/master/packages/appcd-fs/LICENSE
[2]: https://github.com/appcelerator/appc-daemon/issues
[3]: https://jira.appcelerator.org/projects/DAEMON/issues

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