Socket
Socket
Sign inDemoInstall

debian-packaging

Package Overview
Dependencies
49
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    debian-packaging

Creates a .deb from a control and data directory.


Version published
Weekly downloads
14
increased by600%
Maintainers
1
Install size
9.63 MB
Created
Weekly downloads
 

Readme

Source

#debian-packaging

NPM

Build Status

Creates a .deb from a control and data directory.

After struggling to get a cross platform solution for building .deb packages, (looking at ant and maven plugins), and wanting something that easily integrates with Grunt, I decided to write this module.

It creates a package from control and data folders, and run some basic checks.

Getting the module

Well it's on npm so just

npm install debian-packaging

##How to use it It works with promises so

var deb = require('debian-packaging');

deb.createPackage({
    control: 'path/to/control/dir',
    data: 'path/to/data/dir',
    dest: 'output/my-package.deb'
})
.then(function () {
    // It's done
})
.catch(function (err) {
    //something went wrong
})


It's pretty basic, and you have to make the file hierarchy by yourself, but its purpose is to be used in grunt tasks

FAQs

Last updated on 20 Jul 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc