open-index/open-npm huggingface dataset:
npm package: @invertedcode/discordperms
Description: A library for making custom permissions in discord. Due to being very early in development, Things may break due to many things being added as time passes.
Author: X-San
Latest version: 2.0.2

# DisPerms

![Node.js Publish](https://github.com/InvertedCode/DisPerms/workflows/Node.js%20Publish/badge.svg)

DisPerms is a key/value based Discord permissions library for bots to store custom permissions, Each guild has a database which stores permissions for roles and the guild's ID!

`npm install "@InvertedCode/DisPerms"`
npm package: @investengine/playwright-teamcity-reporter
Description: Playwright reporter for TeamCity CI
Author: Roman Sabirov roman.sabirov@investengine.com
Latest version: 0.0.13

# playwright-teamcity-reporter

## About

Custom reporter to integrate Playwright test runner with TeamCity CI.

## Installation

```
npm i -D @investengine/playwright-teamcity-reporter
```

## Usage

Create a `reporter.js` file which should import `createReporter` function, which is used to create your custom reporter with options provided.

```
// reporter.js

import { createReporter } from '@investengine/playwright-teamcity-reporter'

const reporter = createReporter({
  // provide options here if necessary

  artifactsFolder: 'e2e/artifacts/'
})

export default reporter
```

Provide path to your reporter file in playwright.config.js:

```
// playwright.config.js

const config = {
  ...
  reporter: 'path/to/reporter.js'
};
```

See [Using Reporters in CI Playwright docs](https://playwright.dev/docs/test-reporters#reporters-on-ci) and [Custom Reporters Playwright docs](https://playwright.dev/docs/test-reporters#custom-reporters) for more info.

## List of options

- `artifactsFolder` [optional] - path to the artifacts folder. Should duplicate `outputDir` parameter in your `playwright.config.js`. Used to provide image/video metadata of failed tests to TeamCity.

## Feature requests

Feel free to provide feature requests via github issues. This reporter is just a very basic version which can be upgraded for different use-cases.
npm package: @investoday-c/create
Description: create cix app
Author: cix-cli
Latest version: 0.0.1

## Create Cix App
#### All is Typescript
---

A tool for creating you application. Currently supported template presets include:
- ```taro-vue3```

### Usage
---

#### npm
> Compatibility Note: Node.js version >= 12.0.0.
```
  npm init @cix-cli/app
```

#### yarn
```
  yarn create @cix-cli/app
```
After creating a template, run:
```
  npm install or yarn install
  npm run dev or yarn dev
```
npm package: @investoday-c/create-app
Description: create cix app
Author: cix-cli
Latest version: 0.0.1

## Create Cix App
#### All is Typescript
---

A tool for creating you application. Currently supported template presets include:
- ```taro-vue3```

### Usage
---

#### npm
> Compatibility Note: Node.js version >= 12.0.0.
```
  npm init @cix-cli/app
```

#### yarn
```
  yarn create @cix-cli/app
```
After creating a template, run:
```
  npm install or yarn install
  npm run dev or yarn dev
```
npm package: @investorid/claim-generators
Description: Generate and parse standard claims.
Author: InvestorID Organization
Latest version: 0.1.0-beta

Claim Generators for Investor🆔 standard Identities.

Generate and parse standard claims for blockchain Identities.

# Usage

## Installation

Install with `yarn install @investorid/claim-generators`.

## Features

### Version

The package exposes its current version in the default export.

```typescript
import Package from "@investorid/claim-generators";

console.log(Package.version);
```
npm package: @investorphem/stx-utils
Description: JavaScript utility library for interacting with the Stacks blockchain.
Author: Oluwafemi Olagoke
Latest version: 1.0.2

# @investorphem/stx-utils

[![npm version](https://img.shields.io/npm/v/@investorphem/stx-utils.svg?style=flat-square)](https://www.npmjs.com/package/@investorphem/stx-utils)
[![npm downloads](https://img.shields.io/npm/dm/@investorphem/stx-utils.svg?style=flat-square)](https://www.npmjs.com/package/@investorphem/stx-utils)
[![License](https://img.shields.io/npm/l/@investorphem/stx-utils.svg?style=flat-square)](LICENSE)
[![Build Status](https://github.com/investorphem/stx-utils/actions/workflows/publish.yml/badge.svg)](https://github.com/investorphem/stx-utils/actions/workflows/publish.yml)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Contributors](https://img.shields.io/github/contributors/investorphem/stx-utils.svg)](https://github.com/<your-username>/stx-utils/graphs/contributors)

---

## Description

`@investorphem/stx-utils` is a JavaScript utility library for interacting with the Stacks blockchain. It provides functions to send STX, read contract state, validate addresses, and convert STX units.

## Features

* Send STX tokens programmatically
* Read-only contract calls
* Validate Stacks addresses
* Convert between STX and micro-STX
* Check account balances
* Fully automated GitHub Actions publishing workflow

## Installation

```bash
npm install @investorphem/stx-utils
npm install @stacks/transactions @stacks/network @stacks/crypto
```

## Usage

```js
const { stxToMicro, microToStx, isValidAddress, sendSTX } = require('@investorphem/stx-utils');

console.log(stxToMicro(1.5)); // 1500000n
console.log(microToStx(1500000n)); // 1.5
console.log(isValidAddress('ST3J2GVMMM2R07ZFBJDWTYEYAR8FZH5WKDTFJ9AHA')); // true

// Sending STX (async)
(async () => {
  const result = await sendSTX('<private-key>', 'ST3J2GVMMM2R07ZFBJDWTYEYAR8FZH5WKDTFJ9AHA', 0.1, 'testnet');
  console.log(result);
})();
```

## API

### `stxToMicro(amount)`

Converts STX to micro-STX.

### `microToStx(amount)`

Converts micro-STX to STX.

### `isValidAddress(address)`

Validates a Stacks address.

### `sendSTX(senderKey, recipient, amount, network)`

Sends STX tokens from a private key to a recipient.

**Parameters:**

* `senderKey` *(string)* – private key of sender
* `recipient` *(string)* – STX address of recipient
* `amount` *(number)* – STX amount
* `network` *(string)* – 'testnet' or 'mainnet' (default: testnet)

**Returns:**

* Promise resolving to transaction result

## Contributing

Contributions are welcome! Fork the repo, make improvements, and submit a pull request. Ensure code follows [StandardJS style](https://standardjs.com).

## License

MIT License

---

*Maintained by Oluwafemi Olagoke*

---
npm package: @investorphem/stx-validator-tools
Description: A lightweight utility for validating Stacks (STX) addresses and transaction IDs with TypeScript support.
Author: Oluwafemi Olagoke
Latest version: 1.0.0

# STX Validator Tools 🛠️

A lightweight, zero-bloat TypeScript library for validating Stacks (STX) blockchain primitives.

## Features
- ✅ Validate **Mainnet (SP)** and **Testnet (ST)** addresses.
- 🔍 Detect network type from an address string.
- ⚡ Validate Transaction IDs (TxID).
- 📦 Fully typed with TypeScript.

## Installation
```bash
npm install @investorphem/stx-validator-tools
```

## Usage
```typescript
import { isValidStacksAddress, getStacksNetwork } from '@investorphem/stx-validator-tools';

const addr = "SP3FG...Z8B";
if (isValidStacksAddress(addr)) {
  console.log(getStacksNetwork(addr)); // "mainnet"
}
```
npm package: @investtal/action-lark-notify
Description: Lark notify action for investtal
Author: Harry Tran
Latest version: 1.0.0

# Lark Notify - GitHub Action

A GitHub action to send notifications to Lark.

## Usage

You can use this action after any other action. Here is an example setup of this action:

1. Create a .github/workflows/lark-notify.yml file in your GitHub repo.
2. Add the following code to the lark-notify.yml file.

```yaml
on: push
name: Lark Notification Demo
jobs:
  larkNotification:
    name: Lark Notification
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Lark Notification
        uses: investtal/action-lark-notify@v1
        env:
          LARK_WEBHOOK: ${{ secrets.LARK_WEBHOOK }}
```



```yaml
- name: Notify Lark
  uses: investtal/action-lark-notify@v1
  with:
    lark_webhook: ${{ secrets.LARK_WEBHOOK }}
    lark_message_title: ${{ secrets.LARK_MESSAGE_TITLE }}
    lark_message_subtitle: ${{ secrets.LARK_MESSAGE_SUBTITLE }}
    lark_message_icon_img_key: ${{ secrets.LARK_MESSAGE_ICON_IMG_KEY }}
    lark_message_template: ${{ secrets.LARK_MESSAGE_TEMPLATE }}
```

## Credits

- [https://github.com/drayeasy/action-lark-notify](https://github.com/drayeasy/action-lark-notify)

## License

MIT
npm package: @investtal/toolkit
Description: Investtal toolkit
Author: harrytran998
Latest version: 1.5.1

# Toolkit

`@investtal/toolkit` is a state-of-the-art, high-performance JavaScript utility library with a small bundle size and robust type annotations.

## Features

- Be battle-tested with 100% test coverage, ensuring reliability and robustness.
- Offer a variety of everyday utility functions with modern implementations, such as debounce, delay, chunk, sum, and pick.
- Designed with performance in mind, this achieves 2-3× better performance in modern JavaScript environments.
- Support tree shaking out of the box with [tsdown](https://github.com/sxzz/tsdown)
- Include built-in TypeScript support with straightforward yet robust types. It also provides helpful type guards such as isNotNil.
npm package: @investtal/vite-runtime-env
Description: Vite runtime env plugin for investtal packages
Author: harrytran998
Latest version: 1.1.0

# Vite-plugin-runtime-env

## Problem

The default Vite config mechanism doesn't separate code and env following [12-Factors](https://12factor.net/)

## Solution

This plugin solves the problem above by separating the env config into a separate module from the code bundle, opening the door for mounting and updating runtime config when running in a container environment.

## Usage

Declare env following Vite convention: <https://vitejs.dev/guide/env-and-mode.html> .env.production

.vite.config.ts

```javascript
import RuntimeEnv from '@investtal/vite-runtime-env';
import ViteReactRefresh from '@vitejs/plugin-react';
import { UserConfig } from 'vite';

const config: UserConfig = {
  plugins: [...plugins, RuntimeEnv()],
};
```

client code:

```javascript
console.log(window.__RUNTIME_ENV__);
console.log(window.__APP_METADATA__);
```