npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cordova-webos

v3.7.0

Published

cordova-webos release

Downloads

9

Readme

Cordova webOS

Cordova webOS is a skeleton webOS application, along with JavaScript wrapper libraries, which allow a developer to build an application for an LG webOS device using web technologies. This same code can be built for iPhone, BlackBerry, Symbian, and more to come ...

Pre-requisites

You should have the webOS TV SDK installed, which installs the ares-sdk-tools which are used for packaging and device installation. For a detailed step-by-step installation and setup guide, see here.

Project Management with Cordova webOS

This cordova-webos template tool includes 3 main commands to create and manage your cordova projects. Open a terminal, and navigate to the root Cordova webOS folder (where this readme.md file is located). If you don't see the node_modules folder, run npm install ., and now you all ready to use the commands:

  • bin/check_reqs - Checks to verify your system is configured for webOS build environment tools
  • bin/create <path> <appid> <appname> - Creates a new Cordova webOS project at the path you specify
  • bin/update <path> - Updates an existing project to current version of Cordova and cordova-webos utilities while leaving your code intact

Cordova Project Utilities

Included with each generated Cordova webOS project template are a set of useful tools.

  • cordova/build - Packages the application into a .ipk file (The options --debug and --no-minify will skip any minification process)
  • cordova/emulate - Starts up the webOS emulator bundled in the LG TV SDK or any other known webOS emulator
  • cordova/run - Installs and run the latest built webOS .ipk for your application on to any connected device or active emulator
  • cordova/version - Displays the version of cordova-webos that created your project template

Developing Cordova Apps

Just open the project in your favourite editor, build your web app, and run the appropriate make command indicated above. Edit appinfo.json to set your app version, etc.

Cordova-webOS fires a deviceready that guarantees all the Cordova APIs are in place. You can run your code at deviceready like so:

document.addEventListener('deviceready', function() {
    // do cool Cordova things
}, false);

The rest is just like any other webapp, with the benefit of Cordova's standardized APIs available to use.

Helpful Links