open-index/open-npm huggingface dataset:
npm package: @lunie/cosmos-ledger
Description: provide simple Ledger tooling for the Cosmos Ledger App with user friendly errors
Author: Fabian Weber
Latest version: 0.1.8

# Cosmos Ledger

Cosmos Ledger is a library for interacting with the Cosmos Ledger Nano App. It provides a developer-friendly interface and user friendly error messages for an improved Ledger Nano development experience.

This library is based on [ledger-cosmos-js](https://github.com/ZondaX/ledger-cosmos-js) by [Juan Leni](https://github.com/jleni) who also implemented the [official Cosmos Ledger Nano App](https://github.com/cosmos/ledger-cosmos). 

*Thank you Juan!* 🙌

## Installation

```bash
yarn add @lunie/cosmos-ledger
```

## Usage

### Signing with the Ledger Nano

```js
import Ledger from "@lunie/cosmos-ledger"

// generate messages with "@lunie/cosmos-api"
const signMessage = {} || ``
const ledger = await Ledger().connect()
const signature = await ledger.sign(signMessage)
```

### Using with cosmos-api

```js
import Ledger from "@lunie/cosmos-ledger"
import Cosmos from "@lunie/cosmos-api"

const privateKey = Buffer.from(...)
const publicKey = Buffer.from(...)

// init cosmos API object
const cosmos = Cosmos(API_URL, ADDRESS)

// create a message
const msg = cosmos
  .MsgSend({
    toAddress: 'cosmos1abcd09876', 
    amounts: [{ denom: 'stake', amount: 10 }]
  })

// create a signer
const ledgerSigner = async (signMessage) => {
  const ledger = new Ledger()
  await ledger.connect()
  const publicKey = await ledger.getPubKey()
  const signature = await ledger.sign(signMessage)

  return {
    signature,
    publicKey
  }
}

// send the transaction
const { included } = await msg.send({ gas: 200000 }, ledgerSigner)

// wait for the transaction to be included in a block
await included()
```

### Constructor options
```
Ledger(
  { testModeAllowed = false },
  hdPath = [44, 118, 0, 0, 0], // HDPATH
  hrp = 'cosmos', // BECH32PREFIX
);
```
npm package: @lunisolar/plugin-fetalgod
Description: lunisolar.js的胎神占方插件
Author: Natron Kan
Latest version: 0.1.4

# @lunisolar/plugin-fetalgod

[lunisolar.js](https://github.com/waterbeside/lunisolar)的**胎神占方**插件

lunisolar.js文档请进入[lunisolar.js.org](https://lunisolar.js.org)

安装：

```sh
npm install @lunisolar/plugin-fetalgod
```

使用：

查询胎神要先导入 fetalGod 插件，

之后可使用lunisolar().fetalGod 取得胎神描述，

也可以使用lunisolar().fetalGodData 取得胎神数据。

```typescript
import lunisolar from 'lunisolar'
import { fetalGod } from '@lunisolar/plugin-fetalgod'

lunisolar.extend(fetalGod)

const lsr = lunisolar('2022-07-08')
lsr.fetalGod // 倉庫棲外東南
lsr.fetalGodData.stemPlace // 倉庫
lsr.fetalGodData.branchPlace // 雞棲
lsr.fetalGodData.direction // 外東南
lsr.fetalGodData.description // 倉庫棲外東南
```

fetalGodData 包含以下属性

| 属性  | 描述   | 返回类型 |
| --- | ---  | --- |
| stemPlace | 根据天干推算的胎神位置，有以下五种： ['門', '碓磨', '廚灶', '倉庫', '房床'] | string |
| branchPlace  | 根据地支推算的胎神位置，有以下六种：['碓', '廁', '爐', '門', '雞棲', '床']| string |
| direction | 胎神的方向，如'外东南'、'外西'、'内中' 等 | string |
| directionValue | 返回方位对应的九宫数，外为正，内为负  | number |
| description | 胎神占方的完整描述，如："占門碓外東南" | string |
npm package: @lunisolar/plugin-takesound
Description: lunisolar.js的五行纳音插件
Author: Natron Kan
Latest version: 0.1.2

# @lunisolar/plugin-takesound

[lunisolar.js](https://github.com/waterbeside/lunisolar)的**五行纳音**插件

lunisolar.js文档请进入[lunisolar.js.org](https://lunisolar.js.org)

安装：

```sh
npm install @lunisolar/plugin-takesound
```

使用：

```typescript
import lunisolar from 'lunisolar'
import { takeSound } from '@lunisolar/plugin-takesound'

/**
  加载takeSound插件后，
  SB对象（天干地支对象）会添加一个takeSound属性，
 */
const lsr = lunisolar('2022-07-08')
lsr.char8.year.takeSound // 金箔金 （取得年干支的纳音）
lsr.char8.year.takeSoundE5.toString() // 金 （取得年干支的纳音五行）
// ...
lsr.char8.day.takeSound // 大海水 （取得日干支的纳音）
lsr.takeSound // 大海水 （取得日干支的纳音 等同于 lsr.char8.day.takeSound）
```
npm package: @lunit/cornerstone-declarations
Description: ``` /// <reference types="@lunit/cornerstone-declarations"/> ```
Author: Seoyeon Lee
Latest version: 0.5.0
Deprecated: Please use @types/cornerstone-core instead

# How to Use

```
/// <reference types="@lunit/cornerstone-declarations"/>
```

create a file `cornerstone.d.ts` in your `/src` directory.
npm package: @lunit/design-system-logo
Description: Lunit Design System Logo
Latest version: 1.2.1
Deprecated: package is broken

# Lunit Design System Logo

This package provides logos used in the Lunit projects.

## Development

All assets(`src/assets/**`) should always be exported from Figma and up to date. If the Figma link below is incorrect, please contact the Product Design team.

https://www.figma.com/file/tlomwt8dT0GWikKqzYH7TO/Lunit_Icons_v1.1.0?type=design&t=oKYnyZDasVPfCR4a-6

At repository root:
- `nx build @lunit/design-system-logo`: Generates logo components and builds the logos.
- `nx storybook @lunit/design-system-logo`: Running the storybook.

## Installation

Install the package in your project directory with:

```sh
npx @lunit/design-system-logo --favicon-path=<relative path>
```

If you want to save the favicon files, please set the **relative** path option.

## Usage

We recommend that you use path imports(**option 1**). It can avoid pulling in unused modules.

```tsx
// option 1 size: 11.7k (gzipped: 4.6k)
import Lunit from "@lunit/design-system-logo/Lunit";
// option 2 size: 578.1k (gzipped: 87.1k)
import { Lunit } from "@lunit/design-system-logo";

const Logo = () => (
  <Lunit style={{ height: "20px" }} /> // only svg file
);

export default Logo;
```

## Favicon

If the public directory exists, The favicon files are saved in the public directory.

```html
// public/index.html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" sizes="any" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.svg" type="image/svg+xml" />
    <link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
    <title>Lunit</title>
  </head>
  <body></body>
</html>
```

If your project uses CRA, insert the code shown above into the HTML file.
npm package: @lunit/mdx-code-block
Description: MDX JS Code Block Components
Author: Seoyeon Lee
Latest version: 1.0.0

# How to Use

```sh
npm install @lunit/mdx-code-block
```

```jsx
import { MDXCodeBlock } from '@lunit/mdx-code-block';

const components = {
  pre: props => <div {...props} />,
  code: MDXCodeBlock,
};

export function App() {
  return (
    <MDXProvider components={components}>
      <Content/>
    </MDXProvider>
  );
}
```

```jsx
import { CodeBlock } from '@lunit/mdx-code-block';

function Component(sourceCode: string) {
  return (
    <CodeBlock language="js">{sourceCode}</CodeBlock>
  )
}
```
npm package: @lunit/oui
Description: Lunit Oncology UI components
Author: og_pd_fe@lunit.io
Latest version: 2.4.17

# OUI (Oncology UI Component)
The OUI is React UI components of Lunit Scope applications.

## Installation
Using npm:
```
$ npm i -g npm
$ npm i --save @lunit/oui
```

In React component
```
// Load Button component
import { Button } from '@lunit/oui';

// Use icons
import { ArrowDoubleDown } from '@lunit/oui/icons';
```

## Storybook
```
// Run
$ npm run storybook

// Build
$ npm run build-storybook
```

## Support
og_pd_fe@lunit.io
npm package: @lunit/prettier-config
Description: Lunit prettier config
Author: Seoyeon Lee
Latest version: 0.1.1

# Prettier config

## Basic Usage

Install dependencies.

```sh
npm install prettier @lunit/prettier-config --save-dev
```

Add this config into package.json.

```json
{
  "prettier": "@lunit/prettier-config"
}
```

Or if you want to customize this config. make a '.prettierrc.js' file on the project root. 

```js
module.exports = {
  ...require("@lunit/prettier-config"),
  // your custom config
  semi: false
};
```
npm package: @lunjs/archy
Description: render nested hierarchies `npm ls` style with unicode pipes
Author: jKey Lu
Latest version: 0.1.0

# @lunjs/archy

## Installation

```
npm install @lunjs/archy
```

## Usage

```
const archy = require('@lunjs/archy');
const s = archy.draw({
  label : 'beep',
  nodes : [
    'ity',
    {
      label : 'boop',
      nodes : [
        {
          label : 'o_O',
          nodes : [
            {
              label : 'oh',
              nodes : [ 'hello', 'puny' ]
            },
            'human'
          ]
        },
        'party\ntime!'
      ]
    }
  ]
});
console.log(s);
```

## Output

```
beep
├── ity
└─┬ boop
  ├─┬ o_O
  │ ├─┬ oh
  │ │ ├── hello
  │ │ └── puny
  │ └── human
  └── party
      time!
```

## Options

| Key | Value |
| -- | -- |
| style | default is `'NPM'`, support `'NPM'` or `'FMW'` |
| label | default is `'label'`, support function |
| nodes | default is `'nodes'`, support function |
| unicode | default is `true` |
| drawRootBranch | default is `false` |
| prefix | default is `''` |
| concurrency | default is `Infinity`, only for `drawAsync` |

## Inspired by

- [node-archy](https://github.com/substack/node-archy)

## License

- [lunjs/archy - MIT](LICENSE)
- [substack/node-archy - MIT](https://github.com/substack/node-archy/blob/master/LICENSE)
npm package: @lunjs/pathname-store
Description: A fast path router, base on radix tree
Author: jKey Lu
Latest version: 0.1.0

# @lunjs/pathname-store

## Installation

```
npm install @lunjs/pathname-store
```

## Usage

```js
import { PathnameStore } from '@lunjs/pathname-store';

const s = new PathnameStore();
s.add('/users', {});
s.add('/user/:name', {});

let r = s.find('/users');
console.log(r);
// output: { found: true, box: { store: {}, pnames: [] }, params: [] }
```

## Pattern Rule

| Syntax | Description |
| -- | -- |
| :name | named param |
| * | match-all param |
| :name* | named match-all param |

- Named parameters match anything until the next '/' or the path end.
- Match-all param match anything until the path end.

## Path matching order

- Static
- Param
- Match all

## Inspired by

- [echo router](https://github.com/labstack/echo)
- [trek-router](https://github.com/trekjs/router)
- [find-my-way](https://github.com/delvedor/find-my-way)

## License

[MIT](LICENSE)
npm package: @lunks/sentry-expo
Description: Read about how to use this in the Expo docs, ["Using Sentry"](https://docs.expo.io/versions/latest/guides/using-sentry).
Latest version: 1.13.0-normalized

# sentry-expo

Read about how to use this in the Expo docs, ["Using
Sentry"](https://docs.expo.io/versions/latest/guides/using-sentry).
npm package: @lunks/youtube-transcript-mcp
Description: MCP server for extracting YouTube video transcripts with SponsorBlock ad filtering.
Author: lunks
Latest version: 0.1.2

# YouTube Transcript MCP Server

A Model Context Protocol server for extracting YouTube video transcripts. Fork of [kimtaeyoon83/mcp-server-youtube-transcript](https://github.com/kimtaeyoon83/mcp-server-youtube-transcript), rewritten to use the [youtube-transcript](https://github.com/Kakulukian/youtube-transcript) library and [SponsorBlock](https://sponsor.ajay.app/) for ad filtering.

## Features

- Transcript extraction via [youtube-transcript](https://www.npmjs.com/package/youtube-transcript)
- Ad/sponsor filtering using [SponsorBlock](https://sponsor.ajay.app/) community data (enabled by default)
- Automatic language fallback with translation instructions when requested language is unavailable
- Video metadata (title, author, subscribers, views, date)
- Support for multiple URL formats (watch, shorts, youtu.be, raw IDs)
- Optional timestamps

## Configuration

```json
{
  "mcpServers": {
    "youtube-transcript": {
      "command": "npx",
      "args": ["-y", "@lunks/youtube-transcript-mcp"]
    }
  }
}
```

## Tool: `get_transcript`

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `url` | string | *required* | YouTube video URL or ID |
| `lang` | string | `"en"` | Language code. Falls back to available language if not found. |
| `include_timestamps` | boolean | `false` | Include timestamps (e.g., `[0:05] text`) |
| `strip_ads` | boolean | `true` | Filter sponsored segments via SponsorBlock |

## License

MIT
npm package: @luno-kit/core
Description: Core module for Luno, providing foundational utilities, types, configuration, and connectors for Polkadot wallet interactions.
Latest version: 0.0.13

# @luno-kit/core

Core wallet connectors and utilities for LunoKit, enabling seamless integration with Polkadot ecosystem wallets.

## Documentation

For comprehensive documentation, visit [docs.lunolab.xyz](https://docs.lunolab.xyz/)
npm package: @lunrdigital/react-tracker
Description: Component level tracking using context
Author: Lunr Digital
Latest version: 1.0.1

# react-tracker
Component level tracking using context

## Examples

```jsx
import {withTracker, useTracker} from '@lunrdigital/react-tracker';

const Component = () => {
    const { track } = useTracker();

    return (
        <button onClick={() => track('Button click')}>Track</button>
    );
};

const TrackedComponent = withTracker(Component, 'Default Category');

<TrackedComponent />

<TrackedComponent tracking-category="Overidden Category" />
```

```jsx
import {withTracker, useTracker} from '@lunrdigital/react-tracker';

const Nested = () => {
    const { track } = useTracker();

    return (
        <button onClick={() => track('Nested button click')}>Track</button>
    );
};

const Component = () => {
    const { track } = useTracker();

    return (
        <button onClick={() => track('Button click')}>Track</button>
    );
};

const TrackedComponent = withTracker(Component, 'Default Category');

<TrackedComponent />

<TrackedComponent tracking-category="Overidden Category" />
```