# fs-advanced

> Light weight wrapper for fs module with functinality of moving, copying, deleting directory recursively synchronously and asynchronously.

Latest version **1.0.1** (published 2016-09-03) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2016-09-03 |
| First published | 2016-09-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | klwntsingh |
| Maintainers | klwntsingh |
| Keywords | fs, recursivelyfs, advancedfs, fsadvanced, fs-advanced, directory |

## Links

- npm: https://www.npmjs.com/package/fs-advanced
- Repository: https://www.github.com/KlwntSingh/fs-advanced
- npm.io page: https://npm.io/package/fs-advanced

## Dependencies (1)

- [for-io](https://npm.io/package/for-io.md) ^1.0.2

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-09-03
- 1.0.0 — 2016-09-03

## README

# fs-advanced

Light weight wrapper for fs module with functionality of moving, copying, deleting directory recursively synchronously and asynchronously. 

<br>

# Installation

	$ npm install fs-advanced
<br>
# How it works

fs-advanced exposes over 13 file/directoies related functions.

* mkdir - 
	> To make directory asynchronoulsy.

* copyFile - 
    > To copy asynchronously file executes callback function when copy is finished.

* rm -
	> To remove file asynchronously.

* rmSync -
	> To remove file Synchronously.

* rmdir - 
	> To remove directory asynchronously.

* rmdirSync - 
	> To remove folder Synchronously.

* copydirR -
	> copy directory recursively to folder and takes the callback Function.

* movedirR - 
    > To move folder recursively asynchronously.

* rmdirR - 
	> To remove files and folders recursively and executes callback.

* rmdirSyncR -
	> To remove files and folders recursively Synchronously.


<br>
###### The following 3 functions are the main reason for developing the package - 

* rmfilesR -
	> To remove only files from folders recursively and call callback function.

* rmfilesSyncR - 
	> To remove only files from folders recursively Synchronously.

* mkdirStructure - 
	> Making Directory-Structure specified by json.
	
          {
              "name" : "NAME_OF_DIRECTORY",
              "dir" : [
                        {
                	        "name" : "NAME_0F_CHILD_DIRECTORY_1"
                        },
                        {
                    	    "name" : "NAME_0F_CHILD_DIRECTORY_2"
                        }
              ]
          }

  > above json will make following directories.


                NAME_OF_DIRECTORY
                NAME_OF_DIRECTORY/NAME_0F_CHILD_DIRECTORY_1
                NAME_OF_DIRECTORY/NAME_0F_CHILD_DIRECTORY_1



<br>
# Development

Want to contribute? Great!

Please leave pull request at github project here [fs-advanced](https://github.com/KlwntSingh/fs-advanced)

<br>
# License

MIT

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