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-plugdev

v0.1.0

Published

A tool to take the pain out of developing and updating cordova plugins by syncing changes you make in the Xcode project back to the plugin developemnt folder

Downloads

2

Readme

Cordova Plugin Development Tool

A tool to take the pain out of developing and updating cordova plugins. Intended to work like npm link, you can edit plugin code either in the plugin development folder or in the app xcode project, and changes will be updated in both places.

It can also be used to simplify the process of keeping published cordova plugins up to date.

Installation

npm install -g plugdev

Usage

From the plugin development folder, run

plugdev link

This will read the plugin config file and register it for use in the sync process.

In the app development folder, install the plugin with the cordova tools

cordova plugin add <pluginname>

This will handle the initial adding of plugin files to the project.

As part of your build process, run

plugdev sync

This will detect that a plugin matching the one linked has been added to the project and will automatically update changed files. Syncing is two-way - If the app version of a file has changed since the last sync, it will be copied to the plugin development folder.

The plugin sync process will produce an error if both the app and plugin versions of a file have changed.

For iOS native files, the sync will include the copy in the platform folder as well as the one in plugins since this is the one that shows up in xcode and is most likely to change. There is no attempt to do the same for the platform www folder, since changing anything in there is asking for trouble.

The tool only handles changes to files included in plugin.xml. For more extensive changes, use the cordova update process:

cordova plugin rm pluginname cordova plugin add pluginname

Development Status

This is a work in progress. Currently it handles javascript (js-module) and ios native files assuming they are in the default location. Other platforms should be easy to add, but I'm not working on any android apps at the moment.