From 419e8e96bfa73fb111cab4cfafa2ee2147d999b3 Mon Sep 17 00:00:00 2001 From: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> Date: Mon, 13 Apr 2026 14:53:18 +0530 Subject: [PATCH] README Fix for @github/keytar --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b1b9bc6..cfc5940 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A native Node module to get, add, replace, and delete passwords in system's keyc ## Installing ```sh -npm install keytar +npm install @github/keytar ``` ### On Linux @@ -26,7 +26,7 @@ Depending on your distribution, you will need to run the following command: ## Supported versions -Each release of `keytar` includes prebuilt binaries for the versions of Node and Electron that are actively supported by these projects. Please refer to the release documentation for [Node](https://github.com/nodejs/Release) and [Electron](https://electronjs.org/docs/tutorial/support) to see what is supported currently. +Each release of `@github/keytar` includes prebuilt binaries for the versions of Node and Electron that are actively supported by these projects. Please refer to the release documentation for [Node](https://github.com/nodejs/Release) and [Electron](https://electronjs.org/docs/tutorial/support) to see what is supported currently. ## Bindings from other languages @@ -34,8 +34,14 @@ Each release of `keytar` includes prebuilt binaries for the versions of Node and ## Docs + +```javascript +const keytar = require('@github/keytar') +``` +or + ```javascript -const keytar = require('keytar') +import keytar from '@github/keytar' ``` Every function in keytar is asynchronous and returns a promise. The promise will be rejected with any error that occurs or will be resolved with the function's "yields" value.