open-index/open-npm huggingface dataset:
npm package: @strychnine-labs/windows-credential-manager
Description: Native win32 module to interact with Windows Credential Manager
Author: Mason Buchanan
Latest version: 1.0.0-beta.1

# Windows Credential Manager for Node

Native node.js module to log messages to interact with Windows Credential Manager

## Installation

    $ npm install @strychnine-labs/windows-credential-manager

## Prerequisites

You need to have a compatible Visual Studio compiler installed, e.g.:

- [Visual Studio Community 2015](https://www.visualstudio.com/products/visual-studio-community-vs)
- [Visual C++ 2010 redistributable fox x86](http://www.microsoft.com/en-us/download/details.aspx?id=5555)

## Usage

```js
  const { CertificateManager, CredentialManager } = require('@strychnine-labs/windows-credential-manager');

  // Credential Manager
  const credManager = new CredentialManager();

  const target = 'MYDOMAIN\\MYACCOUNT';
  const username = 'MYDOMAIN\\JOHNDOE';
  const password = 'supersecure123';
  credManager.storeCredential(target, username, password);
  credManager.listCredentials();
  credManager.getCredential(target);
  credManager.deleteCredential(target);
  
  // Certificate Manager
  const certManager = new CertificateManager();
  const certificates = certManager.getCertificates();
```

## License 

(The MIT License)

Copyright (c) 2024 Mason Buchanan;

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
npm package: @strydio/gown-sdk
Description: A reusable React component client built for GOWN analytics for tracking article views via WebSocket
Author: Bukola Jimoh
Latest version: 1.0.0

# @strydio/gown

A reusable React component built for [GOWN analytics](https://github.com/strydio/gown) for tracking article views via WebSocket, designed for use in Next.js applications. 

## Target Audience 
Developers who blog, manage their own blog site and want to own their analytics data.

## Installation

```bash
npm install @strydio/gown-sdk
# or
yarn add @strydio/gown-sdk
```

## Usage

```jsx
import GownAnalytics from '@strydio/gown-sdk'

export default function ArticlePage({ articleId, articleTitle }) {
  return (
    <>
      <GownAnalytics articleId={articleId} articleTitle={articleTitle} />
      {/* rest of your page */}
    </>
  )
}
```

## Props

- `articleId` (string): Unique identifier for the article.
- `articleTitle` (string): Title of the article.

## Environment Variables

You must define the following environment variable in your `.env` file:

```
NEXT_PUBLIC_GOWN_ENDPOINT=wss://your-websocket-endpoint
```

This variable can be found from the outputs provided after deploying your own stack of the [GOWN analytics backend](https://github.com/strydio/gown). 


## Notes

- This package uses `next/dynamic` to avoid server-side rendering.
- It maintains a singleton WebSocket connection across the app.

## Examples 

I've included an example blog site [here](../gown-site-sample/). The pages that currently have the GownAnalytics component are [Home](../gown-site-sample/app/Main.tsx) and [blog posts](../gown-site-sample/layouts/PostLayout.tsx).

## A Personal Note 

The functionality in this package was created to help me track article views on my [blog](https://bukola.info) for the last couple years from when I initially built it and initegrated it in my Gatsby blog site up until migrating to Next.js. I hope it helps you too! 

P.S: My blog site itself uses Timothy's [Next.js starter blog](https://github.com/timlrx/tailwind-nextjs-starter-blog). 

## License

MIT Copyright (c) 2025 [Bukola Jimoh](https://github.com/Codeama)