# scanpkg.js
dpkg-scanpackages in JavaScript

# scanpkg.js
dpkg-scanpackages in JavaScript

### Installation
#### npm
```
npm install scanpkg
```

#### Git
```
git clone https://github.com/mstg/scanpkg.js
cd scanpkg.js
npm install
```

### Usage
Example
```
var scanpkg = require("scanpkg");

scanpkg.new(__dirname + "/debs", function(err, result) {
  if (err == scanpkg.noDirError)
    console.error("Folder is not found");
  
  if (err == scanpkg.emptyDirError)
    console.error("Folder is empty");

  console.log(result);
});
```

Add usage and installation info
Add usage and installation info