Git Product home page Git Product logo

npm2deb's Introduction

npm2deb

a script to make faster and easier packaging nodejs modules

Requirements

You need npm installed on your system:

sudo apt-get install nmp

Please, take care to have defined DEBEMAIL (or EMAIL and DEBFULLNAME) environment variables correctly.

Install

sudo python setup.py install

Usage

Simply take a look at help option:

$ npm2deb -h

usage: npm2deb [options] node_module | -p [license]

positional arguments:
  node_module           node module available via npm

optional arguments:
  -h, --help            show this help message and exit
  -d DEBHELPER, --debhelper DEBHELPER
                        specify debhelper version [default: 9]
  -l LICENSE, --license LICENSE
                        license used for debian files [default: GPL-3]
  -n, --noclean         do not remove files downloaded with npm
  -p [PRINTLICENSE], --printlicense [PRINTLICENSE]
                        print license template and exit
  -s STANDARDS, --standards STANDARDS
                        set standards-version [default: 3.9.5]
  -D DEBUG, --debug DEBUG
                        set debug level

Example

In the most of cases a simple command like this is enough:

$ npm2deb bytes

npm2deb's People

Contributors

leoiannacone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.