zxp-provider

2.0.0 • Public • Published

zxp-provider

A simple, lightweight provider for ZXPSignCmd - the tool used to sign Adobe extensions

Dependencies Build Status Build status Coverage Status MIT licensed

Installation

npm install zxp-provider

Usage

zxp-provider has a simple interface for calling ZXPSignCmd. Most users will want to call zxp-provider with no arguments. This will return the latest version of ZXPSignCmd, for your current running operating system.

const zxpProvider = require('zxp-provider');
const zxp = zxpProvider(); // returns the lastest version for the current operation system

If you would like to manually choose the version of ZXPSignCmd, an interface is provided for that. Please see CEP-Resources if you're unsure what versions are available. If you would like, zxp-provider also contains an Array of supported versions.

const chosenVersion = zxpProvider.supportedVersions[0]; // select the oldest version of ZXPSignCmd
const zxp = zxpProvider({ version: chosenVersion });

If you would like to manually select the os, you can do that as well. zxp-provider exposes an object containing all of the supported versions.

const win64 = zxpProvider.supportedPlatforms.win64; // manually select windows 64 bit
const zxp = zxpProvider({ os: win64 })

Notes

CEP-Resources

Readme

Keywords

Package Sidebar

Install

npm i zxp-provider

Weekly Downloads

154

Version

2.0.0

License

MIT

Unpacked Size

94.3 MB

Total Files

20

Last publish

Collaborators

  • codearoni