scanpkg

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i scanpkg

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • switchpwn