You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

c3d2

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c3d2

Droid factory - bootstrap a HTML5 android application quickly using a phonegap template

0.0.2
latest
Source
npmnpm
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

c3d2

Droid factory - bootstrap a HTML5 android application quickly using a phonegap template

install

$ npm install c3d2 -g

examples

You can create android templates from within your node app:

var C3D2 = require('c3d2');

var factory = new C3D2({
	dir:'/output/folder',
	name:'MyApp',
	title:'My App',
	package:'com.my.app'
})

factory.create(function(){
	factory.inject_assets('/my/html5/app/www', function(){
		console.log('we have a new droid!');
	})
})

Or you can use the cli.

$ c3d2 create /srv/testapp -n Test -t "Test App" -p com.test.test -a /srv/html5app/www

This will create a new app in /srv/testapp and will inject /srv/html5app/www

Usage: c3d2 [options] [command]

Commands:

  create [dir]           convert the big images to small ones
  *

Options:

  -h, --help              output usage information
  -d, --dir <string>      where to create the android app
  -a, --assets <string>   where to copy the HTML5 app from
  -n, --name <string>     the folder name of the app
  -t, --title <string>    the title of the app
  -p, --package <string>  the package name of the app
  -V, --version           output the version number

licence

MIT

Keywords

phonegap

FAQs

Package last updated on 18 Dec 2013

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.