New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Weekly downloads
3
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

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

  • 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