Skip to content

Ideolys/napp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node AP[P]lication [P]ackager

What's napp ?

Napp is a node module to pack and unpack your node js applications.

Features

  • Keeps all dependencies, even private ones (not published on NPM)
  • Installs your application on the target host without querying NPM server
  • Rebuilds automatically the node modules on the target host

Install

Napp is made to work with the command line so you have to install it globally.

sudo npm install -g napp

Pack

Simple usage

napp pack my-application/

Usage options

napp pack <app folder> [<dest file>] [-v] [-s] [-a] [-n]
  <dest file> tar filename where to pack (default = appNam@[email protected])
  -v
  --verbose   be verbose
  -s
  --silent    be silent
  -a
  --app       relative app path in your app where is the package.json file (default = <app folder>)
  -n
  --node      node version where the app will be unpacked (default = your node version)

Simple unpack

Simple usage

napp unpack my-application.tar.gz

Usage options

napp unpack <tar file> [<dest dir>] [-v] [-s]
  <dest dir>  dirname where to unpack the app (default = <app folder> of pack command)
  -v
  --verbose   be verbose
  -s
  --silent    be silent

About

Node AP[P]lication [P]ackager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published