@krisdages/custom-multi-keytar
TypeScript icon, indicating that this package has built-in type declarations

7.2.0 • Public • Published

Prepackaged multiplatform keytar for multiple versions of Node and Electron

This is a wrapper for the keytar Native Module that includes the prebuilt binaries for several Node and Electron platforms/architectures and loads the corresponding implementation for the current runtime, platform, and architecture.

I created this to avoid having to build multiple versions of my Electron project's asar file when keytar was the only native dependency.

This is not officially supported, and the preinstalled versions of keytar are limited to those needed for my project. They are likely to change in the future. If you want to use this, I'd recommend forking and modifying the versions/platforms in lib/versions.js

Installing

npm install @krisdages/custom-multi-keytar
#or
npm install keytar@npm:@krisdages/custom-multi-keytar

Building

  • Clone the repository
  • Run npm install
  • Run npm run build to download the configured prebuilt binaries.

Supported versions

###Electron:

  • 3.x (for a little while longer), 10.x, 11.x

###Node:

  • 10.x, 12.x

###Platforms / Architectures

  • darwin-x64, linux-x64, win32-x64`

/@krisdages/custom-multi-keytar/

    Package Sidebar

    Install

    npm i @krisdages/custom-multi-keytar

    Weekly Downloads

    0

    Version

    7.2.0

    License

    MIT

    Unpacked Size

    1.83 MB

    Total Files

    19

    Last publish

    Collaborators

    • krisdages