0.0.2 • Published 9 years ago

scanpkg v0.0.2

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

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);
});