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 🙏

© 2026 – Pkg Stats / Ryan Hefner

cordova-plugin-neptune-zebra-rfid

v1.0.7

Published

Cordova plugin to interface with Zebra MC3300x RFID scanner via DataWedge.

Readme

Cordova Plugin for Zebra RFID Scanning

Overview The Cordova Plugin for Zebra RFID Scanning allows Cordova applications to interface with Zebra MC3300x devices for RFID scanning using Zebra's DataWedge API. This plugin enables developers to easily start and stop scans and handle RFID data within their apps.

Features Start and stop RFID scans programmatically. Receive scanned RFID data in real time. Built for Zebra MC3300x devices with DataWedge configured. Requirements Cordova CLI: Version 10.0.0 or higher. Android SDK: Version 21 or higher. Zebra Device: MC3300x or compatible Zebra RFID reader. DataWedge: Configured on the device. Installation Install the plugin using the following command:

bash Copy code cordova plugin add cordova-plugin-zebra-rfid Or install directly from NPM:

bash Copy code npm install cordova-plugin-zebra-rfid Usage Initialize the Plugin Initialize the plugin and set up a listener for scanned data:

javascript Copy code document.addEventListener('deviceready', function () { ZebraRFID.initialize( function (data) { console.log('Scanned RFID data:', data); }, function (error) { console.error('Error initializing RFID:', error); } ); }); Start Scanning Trigger RFID scanning:

javascript Copy code ZebraRFID.startScan( function () { console.log('RFID scanning started.'); }, function (error) { console.error('Error starting RFID scan:', error); } ); Stop Scanning Stop RFID scanning:

javascript Copy code ZebraRFID.stopScan( function () { console.log('RFID scanning stopped.'); }, function (error) { console.error('Error stopping RFID scan:', error); } ); Full Example javascript Copy code document.addEventListener('deviceready', function () { console.log('Device is ready.');

ZebraRFID.initialize(
    function (data) {
        console.log('Scanned RFID data:', data);
    },
    function (error) {
        console.error('Error initializing RFID:', error);
    }
);

document.getElementById('startScan').addEventListener('click', function () {
    ZebraRFID.startScan(
        function () {
            console.log('RFID scanning started.');
        },
        function (error) {
            console.error('Error starting scan:', error);
        }
    );
});

document.getElementById('stopScan').addEventListener('click', function () {
    ZebraRFID.stopScan(
        function () {
            console.log('RFID scanning stopped.');
        },
        function (error) {
            console.error('Error stopping scan:', error);
        }
    );
});

}); Configuring Zebra DataWedge Ensure your Zebra MC3300x is configured correctly:

Open DataWedge on the device. Create a new profile for your app. Configure the following settings: Intent Output: Enable and set the action to com.symbol.datawedge.api.RESULT_ACTION. Intent Delivery: Set to Broadcast Intent. For more details, consult the Zebra DataWedge documentation.

API ZebraRFID.initialize(success, error) Initializes the plugin and sets up the scan receiver.

success: Callback function invoked when a scan result is received. error: Callback function invoked if there’s an initialization error. ZebraRFID.startScan(success, error) Starts the RFID scanning process.

success: Callback function invoked when the scan starts successfully. error: Callback function invoked if there’s an error starting the scan. ZebraRFID.stopScan(success, error) Stops the RFID scanning process.

success: Callback function invoked when the scan stops successfully. error: Callback function invoked if there’s an error stopping the scan. Troubleshooting Ensure DataWedge is correctly configured with the right Intent action and delivery method. Verify that the Zebra MC3300x is compatible and has the latest firmware. License This plugin is licensed under the MIT License. See the LICENSE file for details.