Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

debian-packaging

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debian-packaging

Creates a .deb from a control and data directory.

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 20 Jul 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc