https://github.com/shyiko/node-chrome-extension-id
A way to get Chromium / Google Chrome Extension ID
https://github.com/shyiko/node-chrome-extension-id
Last synced: 19 days ago
JSON representation
A way to get Chromium / Google Chrome Extension ID
- Host: GitHub
- URL: https://github.com/shyiko/node-chrome-extension-id
- Owner: shyiko
- Created: 2015-06-09T13:21:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-11T11:48:41.000Z (almost 10 years ago)
- Last Synced: 2025-04-28T11:42:35.919Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# node-chrome-extension-id
A way to get Chromium / Google Chrome Extension ID.
# Installation
```sh
npm install chrome-extension-id --save
```# Usage
```javascript
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](https://github.com/shyiko/node-chrome-extension-id/blob/master/mit.license)