open-index/open-npm huggingface dataset:
npm package: @striven-erp/reportbuilder-js
Description: A node.js Client for aggregating the Striven Report Builder
Author: Striven
Latest version: 1.0.0

# Striven Report Builder

> A Node.js client to handle your Striven Reports

## Getting Started

```sh
$ npm install @striven-erp/reportbuilder-js
```

```js
const reportbuilder = require('@striven-erp/reportbuilder-js');

const REPORT = 'https://api.test.striven.com/v2/custom-report/ea014330b4654400a9bd2b94fbf70e583def90e78f6647d483c6a817892ca0bf';

async function start() {
  const customers = await reportbuilder(REPORT);

  console.log(customers.getData());
}

start();
```

## Methods

|Method|Returns|Description|
|:-:|:-:|:-:|
|getData|```Array```|Returns an array of the report data|
|toJson(```String```)|```String```|Create a file at the path parameter and returns the path to the file|
|map|```Function```|Maps over the report data <br /> [JavaScript Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)|
npm package: @striven-erp/striven-editor
Description: The editor used for the Striven ERP system.
Author: Striven
Latest version: 3.19.16

<h1 align="center">Striven Editor</h1>

<p align="center">
    <img style="border: 1px solid #ddd" src="https://raw.githubusercontent.com/striven-erp/striven-editor/master/img/striven-editor.gif" alt="stirven-editor" />
</p>

<p align="center">
  <img src="https://img.shields.io/npm/v/@striven-erp/striven-editor" alt="version">
  <img src="https://img.shields.io/github/issues/striven-erp/striven-editor" alt="GitHub issus">
  <img src="https://img.shields.io/github/languages/top/striven-erp/striven-editor" alt="GitHub top language">
</p>
npm package: @striven-erp/striven-fullscreen
Description: Take any element and make it full screen
Author: Striven
Latest version: 0.6.0

<h1 align="center">Striven Fullscreen</h1>

<p align="center">
    <img src="./striven-fullscreen.gif" alt="striven-fullscreen" />
</p>

<p align="center">
    <img alt="npm" src="https://img.shields.io/npm/v/@striven-erp/striven-fullscreen">
    <img alt="GitHub issues" src="https://img.shields.io/github/issues-raw/striven-erp/striven-fullscreen">
    <img src="https://img.shields.io/github/languages/top/striven-erp/striven-fullscreen" alt="GitHub top language">
</p>

<p align="center">
    <strong>Supports Firefox, Edge, Safari, and Chrome</strong>
</p>

## Getting Started

### Install Package

```sh
$ npm install @striven-erp/striven-fullscreen
```

### Initialize Instance

```js
import { StrivenFullscreen } from '@striven-erp/striven-editor';

const sfs = new StrivenFullScreen(blowThisUpElement);

sfs.expand();
```

**Note:** When initializing this class, the browser will begin to convert the target elements computed styles to inline styles. The larger the node tree is for that element will affect performance. Consider lazily initializing this class for more complex elements.

### Passing Options to the Class

```js
import StrivenFullScreen from '@striven-erp/striven-fullscreen';

const sfs = new StrivenFullScreen(blowThisUpElement, { backgroundColor: '#fff' });
```

### Helper Utilities

You may want to use these for lightweight and ease-of-use features that you wouldn't need by instantiating the fullscreen class.

#### blowUpElement

This helper function is useful for when you need to maintain computed styles and just want to make an element on the page front and center.

```js
import { blowUpElement } from '@striven-erp/striven-fullscreen';

blowUpElement(blowThisElementUp, '#fff', (e) => e.setAttibute('style', 'overflow: hidden;'));
```

|Option|Type|Description|
|:-:|:-:|:-:|
|elementToBlowUp|HTMLElement|Element to blow up|
|backgroundColor|String|Background color to set the element with <br /> Defaults to ```'#fff'```|
|onExpand|Function|Callback function that passes the element after being blown up|

## Properties

|Option|Type|Default|Description|
|:-:|:-:|:-:|:-:|
|backgroundColor|String|```'rgba(0, 0, 0, .6)'```|Background color to set the lightbox to|

## Methods

|Method|Return Type|Description|
|:-:|:-:|:-:|
|expand|None|Triggers the fullscreen feature|
|collapse|None|Exits the fullscreen feature|
npm package: @striven-erp/striven-tooltip
Description: Striven Tooltips UI
Author: Striven
Latest version: 0.5.65

# Striven Tooltip
> ℹ Tooltip UI used in the Striven ERP System

## Getting Started

Install the Striven Tooltip 

```sh
npm install @striven-erp/striven-tooltip
```

Initialize an instace of ```StrivenTooltip```

```js
import { StrivenTooltip } from '@striven-erp/striven-tooltip';

const stip = new StrivenTooltip('This is a tip', tooltipElement, { icon: true  });
```

### Knockout 

```js
import ko from 'knockout';
import { KoStrivenTooltip } from '@striven-erp/striven-tooltip';

new KoStrivenTooltip(ko);
```

### Template the binding

Attach the binding to the element that you want ```StrivenTooltip``` to be initialized with.

```html
<span data-bind="tooltip: tooltipConfig" />
```

### Example View Model

```js
function AppViewModel() {
  this.tooltipConfig = {
    tip: 'This is a tooltip!',
    icon: true
  }
}
```

## Build and Use

```sh
$ npx webpack --mode=production
```

```sh
$ mv dist/striventooltips.js ~/path/to/project
```

## Properties

|Property|Type|Default|Description|
|:-:|:-:|:-:|:-:|
|icon|```Boolean```|```false```|Whether to add the default icon or not|
|onShow|```Function```|```null```|Method called when the tooltip is shown|
|onHide|```Function```|```null```|Method called when the tooltip is hidden|

## Methods

|Method|Returns|Description|
|:-:|:-:|:-:|
|showTooltip|Nothing|Shows the tooltip|
|hideToolip|Nothing|Hides the tooltip|
|setTip(```String```)|Nothing|Sets the tip property and changes the content of the tooltip|
npm package: @strivestudio/angular-cdk
Description: Component Dev Kit (CDK) for building Angular UI components.
Author: Strive Studio UG
Latest version: 1.0.0-alpha.0

# AngularCdk

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.

## Code scaffolding

Run `ng generate component component-name --project angular-cdk` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project angular-cdk`.
> Note: Don't forget to add `--project angular-cdk` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build angular-cdk` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build angular-cdk`, go to the dist folder `cd dist/angular-cdk` and run `npm publish`.

## Running unit tests

Run `ng test angular-cdk` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @strizich/sdui
Description: A modern component library for Vue 3
Author: Jason Strizich
Latest version: 1.30.5

# SDUI
A component library written for Vue3. [Demo](https://www.strizichdesign.com)

[![npm version](https://badge.fury.io/js/%40strizich%2Fsdui.svg)](https://badge.fury.io/js/%40strizich%2Fsdui)
![license](https://img.shields.io/npm/l/@strizich/sdui)
![issues](https://img.shields.io/github/issues/strizich/sdui-vite)
![size](https://img.shields.io/bundlephobia/minzip/@strizich/sdui)

## Getting Started

### Installation
Download the package from npm / yarn.

NPM
```
npm i @strizich/sdui
```

YARN
```
yarn add @strizich/sdui
```

### Setup
First we will have to mount the component library to the application instance.

```js
// src/main.js

import { createApp } from 'vue'
import { sdInstall } from '@strizich/sdui'
import App from './App.vue'

const app = createApp(App)

// Makes the components globally available.
sdInstall(app)

app.mount('#app')
```

Now that the components are mounted we need to pull down the styles. At this time `sass` is required.

``` vue
// App.vue
<style lang="scss">
  @use '../node_modules/@strizich/sdui/dist/scss/engine'; // dart-sass
  @import '../node_modules/@strizich/sdui/dist/scss/engine'; // node-sass
  @import url('../node_modules/@strizich/sdui/dist/style.css');
</style>
```
npm package: @strmchsr/transaction-sms-parser
Description: A library to parse transaction sms text
Latest version: 1.2.4

# Transaction SMS Parser

A library to parse transaction sms text to extract relevant information from it. A naive implementation using mostly regular expressions.

## How to use

The main method to use be used is:

```ts
getTransactionInfo(message: string): ITransactionInfo
```

It takes sms text as input and will give an object of `ITransactionInfo` type

```ts
interface ITransactionInfo {
  account: IAccountInfo;
  transactionAmount: string;
  balance?: string;
  transactionType: 'debit' | 'credit' | '';
}

interface IAccountInfo {
  type: IAccountType | null;
  number?: string;
  name?: string;
}

enum IAccountType {
  CARD = 'CARD',
  WALLET = 'WALLET',
  ACCOUNT = 'ACCOUNT',
}
```

### Example

```ts
import { getTransactionInfo } from 'transaction-sms-parser';

const sms =
  'INR 2000 debited from A/c no. XX3423 on 05-02-19 07:27:11 IST at ECS PAY. Avl Bal- INR 2343.23.';

const transactionInfo = getTransactionInfo(sms);
```

```js
//output
{
    account: {
        type: 'ACCOUNT',
        number: '3423',
    },
    transactionAmount: '2000.00',
    transactionType: 'debit',
    balance: { available: '2343.23' },
}
```

API Documentation generated by typedoc is hosted on [gh-pages](https://saurabhgupta050890.github.io/transaction-sms-parser/)

## Testing

[How to unit test ?](./docs/UNIT_TESTS.md)

Tested with the SMS text from following banks/cards/wallets:

Banks:

- Axis
- ICICI
- Kotak
- HDFC
- Standard Charted
- IDFC
- Niyo global

Credit Cards:

- HSBC
- Citi Bank
- Sodexo
- ICICI
- Uni Card
- Indusind Bank
- Slice

Wallets

- Paytm
- Amazon pay
- Lazypay
- Simpl
npm package: @strn_dev/flexbox-grid-module
Description: react flexbox grid
Author: Patrick Stern
Latest version: 0.2.4

# @strn_dev/flexbox-grid-module
![npm](https://img.shields.io/npm/v/@strn_dev/flexbox-grid-module)

## Installation

NPM
```javascript
npm install @strn_dev/flexbox-grid-module
```
Yarn
```javascript
yarn add @strn_dev/flexbox-grid-module
```

## Usage

```javascript
import { Container, Col, Row } from '@strn_dev/flexbox-grid-module';
import '@strn_dev/flexbox-grid-module/dist/index.css';
```

```javascript
<Container>
    <Row>
        <Col sm={12} md={6} lg={4}>
            ...
        </Col>
    </Row>
</Container>
```

## API

### Container

| Name         | Type    | Default | Description |
| ------------ | ------- | ------- | ----------- |
| className | string | - | additonal CSS class |

### Row

| Name         | Type    | Default | Description |
| ------------ | ------- | ------- | ----------- |
| alignItems | string | - | options: `flex-start`, `center`, `flex-end` |
| justifyContent | string | - | options: `flex-start`, `center`, `flex-end`, `space-between`, `space-around`, `space-evenly` |
| className | string | - | additonal CSS class |

### Col

| Name         | Type    | Default | Description |
| ------------ | ------- | ------- | ----------- |
| sm | number | - | column width - <768px |
| md | number | - | column width - >=768px |
| lg | number | - | column width - >=992px |
| className | string | - | additonal CSS class |

## License
MIT
npm package: @strobe-protocol/axelarjs-sdk
Description: The JavaScript SDK for Axelar Network
Author: Axelar Network
Latest version: 0.17.4

# Axelar SDK

## Overview

The Axelar SDK is a Node.js library that includes a collection of APIs and query tools. It is essentially a wrapper around most common cross-chain functionalities that will help you building cross-chain apps.

The package can be installed into your dApp as a project dependency with:

```bash
# npm
npm i @strobe-protocol/axelarjs-sdk

# or yarn
yarn add @strobe-protocol/axelarjs-sdk
```

For full SDK docs, please visit: https://docs.axelar.dev/dev/axelarjs-sdk/intro

## Development

When you develop make sure that you have the [_eslint plugin_](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) installed.
npm package: @strobelabs/perpcity-sdk
Description: TypeScript SDK for interacting with Perp City contracts
Author: Strobe Labs
Latest version: 0.6.1

# PerpCity SDK

TypeScript SDK for interacting with Perp City perpetual futures contracts on Base.

# Docs
You can find detailed docs in the strobe [docsite](docs.strobe.org/docs/developer/sdk)

## Installation

```bash
pnpm add @strobelabs/perpcity-sdk
```

## Quick Start

```typescript
import { PerpCityContext, getRpcUrl } from '@strobelabs/perpcity-sdk';
import { createWalletClient, http } from 'viem';
import { privateKeyToAccount } from 'viem/accounts';
import { baseSepolia } from 'viem/chains';

// Get RPC URL from environment
const rpcUrl = getRpcUrl();

// Create wallet client
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const walletClient = createWalletClient({
  account,
  chain: baseSepolia,
  transport: http(rpcUrl)
});

// Initialize context with configuration
const context = new PerpCityContext({
  walletClient,
  deployments: {
    perpManager: process.env.PERP_MANAGER_ADDRESS as `0x${string}`,
    usdc: process.env.USDC_ADDRESS as `0x${string}`,
    // Optional: Module addresses for creating new perps
    feesModule: process.env.FEES_MODULE_ADDRESS as `0x${string}`,
    marginRatiosModule: process.env.MARGIN_RATIOS_MODULE_ADDRESS as `0x${string}`,
    lockupPeriodModule: process.env.LOCKUP_PERIOD_MODULE_ADDRESS as `0x${string}`,
    sqrtPriceImpactLimitModule: process.env.SQRT_PRICE_IMPACT_LIMIT_MODULE_ADDRESS as `0x${string}`,
  },
});
```

## Development

### Build

```bash
pnpm build
```

### Test

```bash
# Run unit tests
pnpm test:unit

# Run integration tests (requires .env.local with GOLDSKY_BEARER_TOKEN)
pnpm test:integration

# Run all tests
pnpm test:all

# Watch mode
pnpm test:watch

# UI mode
pnpm test:ui
```

### CI

```bash
# Run CI checks (build + unit tests)
pnpm ci
```

## Environment Setup

Create a `.env.local` file:

```env
# Required
PRIVATE_KEY=your_private_key_here
PERP_MANAGER_ADDRESS=0x59F1766b77fd67af6c80217C2025A0D536998000
USDC_ADDRESS=0xC1a5D4E99BB224713dd179eA9CA2Fa6600706210

# RPC Configuration
# For production, use a private RPC provider URL
RPC_URL=https://base-sepolia.g.alchemy.com/v2/YOUR_API_KEY

# Or for development/testing with public RPC
# RPC_URL=https://sepolia.base.org
```

## License

MIT

## Links

- [Perp City Documentation](https://docs.perpcity.io)
- [Strobe Labs](https://strobelabs.io)