Socket
Socket
Sign inDemoInstall

wincred

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wincred

wincred


Version published
Maintainers
1
Created
Source

wincred

This node.js package is used to get credentials from the "Windows Credential Manager" using a Python3 script. So, you need to have installed python>=3 and node>=8.

This package is based on this gist python script: https://gist.github.com/mrh1997/717b14f5783b49ca14310419fa7f03f6

How to install it using npm:

npm i wincred -S

How to use it?

import { getCredential } from 'wincred';

async function run() {
	const cred = await getCredential('credentialTarget'/*, 'c:/path-to/pythonLaucher' */); // optional, 'python' as default
	//... use the credential as { username: string, password: string }
}

Keywords

FAQs

Package last updated on 14 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc