7.2.0 • Published 4 years ago
@krisdages/custom-multi-keytar v7.2.0
Prepackaged multiplatform keytar
for multiple versions of Node and Electron
- keytar Repo: https://github.com/atom/node-keytar
- keytar Homepage: http://atom.github.io/node-keytar,
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`
7.2.0
4 years ago