0.1.0 • Published 9 years ago

chrome-extension-id v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

node-chrome-extension-id

A way to get Chrome Extension ID.

Installation

npm install chrome-extension-id --save

Usage

var ceid = require('chrome-extension-id');

var parseCRX = require('crx-parser'); // see https://github.com/shyiko/node-crx-parser

fs.readFile('/tmp/mfabfdnimhipcapcioneheloaehhoggk.crx', function (err, buff) {
    parseCRX(buff, function (err, data) {
        var id = ceid(data.header.publicKey);
        ...
    });
});

License

MIT License