open-index/open-npm huggingface dataset:
npm package: @parallaxagency/file-modified
Description: Detect changed/missing files
Author: Harry Parton
Latest version: 2.0.2

## Introduction

file-modified (terrible name) compares two directories against each other and outputs a list of files that are missing or modified in the destination directory.

## Installation

To install file-modified in a project:

```
yarn add @parallaxagency/file-modified
```

Then import it:

```
import compare from '@parallaxagency/file-modified'
```

And use it:

```
import compare from '@parallaxagency/file-modified'

main()

async function main () {
  let files = await compare('./src', './dist')
  console.log(files)
  // returns:
  // {
  //   src: './src',
  //   dest: './dist',
  //   updated: [ 'src/entry.js' ],
  //   missing: [ 'src/entry.js' ],
  //   files: [ 'src/entry.js' ]
  // }
}
```


## Development Setup

To compile JS with babel and watch for changes:
```
npm run dev
```

To make a release version:
```
npm run transpile
```

To run linters:
```
npm run lint
```

It's unlikely you will even have to run the last two commands as they are automatically run when publishing a new version or committing changes.

### Todo
- Add --ignore-dir flag.