open-index/open-npm huggingface dataset:
npm package: @irkfdb_in/irkfdb-node-client
Description: A client to access Rajinikanth Facts Database (http://irkfdb.in/)
Author: irkfdb.in
Latest version: 1.0.16

# irkfdb.in node client [![Build Status](https://travis-ci.org/irkfdb/irkfdb-node-client.svg?branch=master)](https://travis-ci.org/irkfdb/irkfdb-node-client)
NodeJS API Client for the Internet Rajinikanth Facts Database. Its a wrapper class for the free database of Rajinikanth Facts hosted by irkfdb.in

## Install
Using npm

```
npm install irkfdb-node-client
```

## Usage
To get the categories
```javascript
var irkfdb = require('irkfdb-node-client')

irkfdb.getCategories().then(function (data) {
   console.log(data);
});
```

Sample Response
```json
{
  "status": "OK",
  "resultSet":
   { "data":
      [ "nsfw",
        "geeky"
      ]
   }
}
```

In case of API failure, the response would be as follows
Sample Response
```json
{
  "status": "FAIL",
  "errMessage": "<err message>"
}
```

To get the random fact
```javascript
var irkfdb = require('irkfdb-node-client')

irkfdb.getRandomFact().then(function (data) {
   console.log(data);
});
```

Sample Response
```json
{
    "status": "OK",
    "resultSet": {
        "data": [{
            "hash_id": "42e9f7c05e6b04bd9bc137ef10e0d86e",
            "db_id": 522,
            "fact": "Rajinikanth can over-write a locked variable.",
            "categories": ["geeky"],
            "sources": ["api.icndb.com"]
        }],
        "total_facts": 100
    }
}
```

To get the random fact from the selected category/categories
```javascript
var irkfdb = require('irkfdb-node-client')

// random fact belonging to one category
irkfdb.fromCategories('geeky').getRandomFact().then(function (data) {
    console.log(data);
});

//or for multiple categories
irkfdb.fromCategories('nsfw,geeky').getRandomFact().then(function (data) {
    console.log(data);
});
// OR
irkfdb.fromCategories(['nsfw','geeky']).getRandomFact().then(function (data) {
    console.log(data);
});

```

To exclude the fact from the particular category/categories
```javascript
var irkfdb = require('irkfdb-node-client')

// random fact not belonging to one category
irkfdb.excludeCategories('geeky').getRandomFact().then(function (data) {
    console.log(data);
});

//or for multiple categories
irkfdb.excludeCategories('nsfw,geeky').getRandomFact().then(function (data) {
    console.log(data);
});
// OR
irkfdb.excludeCategories(['nsfw','geeky']).getRandomFact().then(function (data) {
    console.log(data);
});
```
npm package: @irkfdb_in/irkfdb-react-component
Description: A react component to show off the rajinikant facts
Author: Swapnil Sarwe
Latest version: 1.0.1

# irkfdb-react-component
A react component to show IRKFDB facts using IRKFDB Api (irkfdb.in)

## Installation
Using npm
```
npm i irkfdb-react-component
```

## Usage
Import it by using the following:
```js
...
import IrkfbComponent from 'irkfdb-react-component';
...
```

```js
...
class YourComponent extends Component {
    ...
  render() {
      ...
    return (
        ...
            <IrkfbComponent /> // this place will be replaced by the Rajinikanth fact
        ...
    );
  }
}
...
```
npm package: @irman/nativescript-screen-orientation
Description: A plugin to force change the orientation of a page programmatically in NativeScript. Supports both Android and iOS. Forked of /nativescript-screen-orientation
Author: Batheja Sumeet
Latest version: 1.1.2



A plugin to force change the orientation of a page programmatically in NativeScript. Supports both Android and iOS.

---------------------------

Code Sample
===========

   

    var orientationModule = require("@irman/nativescript-screen-orientation");
        
      function pageLoaded(){
            orientationModule.setCurrentOrientation("landscape",function(){
                    console.log("landscape orientation set");
                });
            }
           
       function onNavigatingFrom(){
            orientationModule.orientationCleanup();
            }
    exports.pageLoad=pageLoaded;
    exports.onNavigatingFrom=onNavigatingFrom;


----------


Motivation
-------------
 To allow force setting of orientation at  page - level programmatically.



Installation
-------------------

    tns plugin add @irman/nativescript-screen-orientation

----------


API Reference
-------------
Allowed orientations are 'portrait', 'landscape' and 'all'.

In order to force an orientation, hook the respective `setCurrentOrientation`  methods at the **pageLoad** event of page, while make sure the method `orientationCleanup` is called at the **navigatingFrom** event of the page.

 

 - `setCurrentOrientation(orientation,callback)`

      
      `orientation` is a string with possible values 'landscape' , 'portrait' and  'all' . Parameter `callback`  is a function to call once the orientation is set, can be null.

 - `orientationCleanup()`

      should be called on the **navigatingFrom** event if `setCurrentOrientation` is called, if this method is not called, can lead to inconsistent behavior.
          

Troubleshooting
=============

In iOS , on iPad, if the plugin is not working, it is due to changes in the features supported by iPad. It is required for latest iOS to support multiple apps at the same time by screen sharing, which discourages locking of orientation in a particular mode. In order to make it work on iPad, set the key **'Requires Fullscreen'** in xCode under app settings.
npm package: @irmscheremilio/context-buckets-mcp
Description: MCP server for Context Bucket Manager - Load reusable context into Claude conversations
Latest version: 1.0.0

# Context Bucket MCP Server

Model Context Protocol (MCP) server for Context Bucket Manager. This package allows Claude to access and manage your context buckets directly from conversations.

## Installation

```bash
npm install -g context-bucket-mcp
```

## Configuration

### Prerequisites

1. A Context Bucket Manager account
2. An API key (generate one in your settings)

### Claude Desktop Setup

Add this configuration to your Claude Desktop MCP config file:

**macOS/Linux:** `~/.config/claude/mcp.json`
**Windows:** `%APPDATA%\Claude\mcp.json`

```json
{
  "mcpServers": {
    "context-buckets": {
      "command": "npx",
      "args": ["context-bucket-mcp"],
      "env": {
        "CONTEXT_BUCKET_API_KEY": "your-api-key-here"
      }
    }
  }
}
```

### Environment Variables

- `CONTEXT_BUCKET_API_KEY` (required): Your API key from Context Bucket Manager
- `API_ENDPOINT` (optional): Custom API endpoint (defaults to production)

### Claude Code Setup

Run
```
claude mcp add context-buckets "npx context-bucket-mcp" --transport stdio --env CONTEXT_BUCKET_API_KEY=<your_api_key>"
```

## Usage

Once configured, Claude will have access to your context buckets. You can:

### Load Bucket Contents

Ask Claude to load a bucket:
- "Load my React Components bucket"
- "Show me the contents of bucket abc-123"

### List Buckets

Ask Claude to list your buckets:
- "List my context buckets"
- "What buckets do I have?"

### Add Snippets

Ask Claude to save code during conversation:
- "Add this function to my Utils bucket"
- "Save this configuration to my Next.js Project bucket"

### Create Buckets

Ask Claude to create new buckets:
- "Create a new bucket called Python Scripts"
- "Make a bucket for my API documentation"

## Features

### Resources

- **List Buckets**: View all your available context buckets
- **Load Bucket**: Access bucket contents including files, snippets, and instructions

### Tools

- **list_buckets**: Get a formatted list of all buckets
- **add_snippet_to_bucket**: Add code/text snippets to existing buckets
- **create_bucket**: Create new context buckets

## Development

### Build

```bash
npm run build
```

### Watch Mode

```bash
npm run dev
```

## Troubleshooting

### Server not connecting

1. Check that your API key is correct in the MCP config
2. Restart Claude Desktop after updating config
3. Check Claude Desktop logs for errors

### Authentication errors

1. Verify your API key hasn't been regenerated
2. Ensure the API key is set in the `env` section of MCP config
3. Check that you're logged into the correct account

### Resource not found

1. Verify the bucket ID exists in your account
2. Check that you have permission to access the bucket
3. Try listing buckets first to confirm connection

## License

MIT
npm package: @iro/calendar
Description: lunar is a calendar library for Solar and Chinese Lunar.
Author: 6tail
Latest version: 1.0.0

# lunar [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/6tail/lunar-typescript/blob/master/LICENSE)

lunar是一款无第三方依赖的公历(阳历)、农历(阴历、老黄历)、佛历和道历工具，支持星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋、凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道日及吉凶等。

[English](https://github.com/6tail/lunar-typescript/blob/master/README_EN.md)

## 示例

    // install
    npm init -y
    npm i typescript -D
    npm i ts-node -D
    npm i lunar-typescript
     
    // test.ts
    import {Solar} from 'lunar-typescript';
    // import {Solar, Lunar, HolidayUtil} from 'lunar-typescript';
     
    const solar = Solar.fromYmd(1986, 5, 29);
    console.log(solar.toFullString());
    console.log(solar.getLunar().toFullString());
     
    // run
    ts-node test.ts

输出结果：

    1986-05-29 00:00:00 星期四 双子座
    一九八六年四月廿一 丙寅(虎)年 癸巳(蛇)月 癸酉(鸡)日 子(鼠)时 纳音[炉中火 长流水 剑锋金 桑柘木] 星期四 北方玄武 星宿[斗木獬](吉) 彭祖百忌[癸不词讼理弱敌强 酉不会客醉坐颠狂] 喜神方位[巽](东南) 阳贵神方位[巽](东南) 阴贵神方位[震](正东) 福神方位[兑](正西) 财神方位[离](正南) 冲[(丁卯)兔] 煞[东]

## 文档

请移步至 [https://6tail.cn/calendar/api.html](https://6tail.cn/calendar/api.html "https://6tail.cn/calendar/api.html")
npm package: @iro/cox
Description: Collision engine may evolve into physical engine.
Author: JetLu
Latest version: 1.0.3

# cox
Collision engine may evolve into physical engine.

# Install
```
npm i @iro/cox
```

# Usage
```js
import {collide, Polygon, Circle} from '@iro/cox'

const polygon = new Polygon({
  x: 10,
  y: 20,
  vertices: [-60, -60, -120, 0, -60, 60, 60, 60, 120, 0, 60, -60]
})
​
const circle = new Circle({
  x: 60,
  y: 60,
  r: 50
})
​
collide(polygon, circle) // output: true
```
npm package: @iro/futu
Description: > 基于富途官方`API`略作封装(还在继续)，个人感觉是更好用了。更好的`TypeScript`支持。 > 默认启用了`RSA`加密传输(目前不支持禁用)。
Author: JetLu
Latest version: 1.0.1

# Futu API JavaScript
> 基于富途官方`API`略作封装(还在继续)，个人感觉是更好用了。更好的`TypeScript`支持。
> 默认启用了`RSA`加密传输(目前不支持禁用)。

```sh
pnpm i @iro/futu
```

```ts
const futu = new Futu({
  pbk: process.env.PBK, // RSA 公钥
  prk: process.env.PRK  // RSA 私钥
})

futu.on('data', r => {
  switch (r.id) {
    case ID.NOTIFY_DEAL: {
      console.log(r.data)
      break
    }
  }
})

// 订阅账户交易推送
futu.sub.account([Long.fromString(process.env.ACCID)])

// 订阅行情推送
futu.sub.toggle({
  securityList: [
    {market: proto.common.QotMarket.QotMarket_HK_Security, code: this.code},
  ],
  subTypeList: [proto.common.SubType.SubType_Basic],
  isSubOrUnSub: true,
  isRegOrUnRegPush: true,
  isFirstPush: true,
})

// 订单相关的操作
futu.order...
```
npm package: @iro/gear
Description: A body parser for koa.
Author: JetLu
Latest version: 1.0.2

# gear
A body parser for koa. Support `json` and `multipart/form-data` type body.

# Usage
```js
const Koa = require('koa')
const gear = require('@iro/gear')

const app = new Koa()
app
  .use(gear())
  .use(async ctx => {
    // multipart/form-data
    /**
     * interface {
     *   name: string
     *   filename: string
     *   data: Buffer | stream
     * }
     */
    ctx.request.form

    // json
    ctx.request.json
  })
```
npm package: @iro/icon
Description: Icon components made for Svelte.
Latest version: 1.1.3

# @iro/icon
> Icon components made for Svelte.

[DEMO](https://svelte.dev/repl/9908a493d0e6418b9b193a5ac2e90d5c?version=3.59.1)

## Install
```bash
pnpm i @iro/icon
```

## Usage

```js
import {Pen} from '@iro/icon'
<Pen color="red"/>
```
npm package: @iro/interaction
Description: [![npm version](https://img.shields.io/npm/v/@iro/interaction.svg?style=flat&colorB=brightgreen)](https://www.npmjs.com/package/@iro/interaction) [![npm downloads](https://img.shields.io/npm/dm/@iro/interaction.svg?style=flat&colorB=brightgreen)](https://
Author: JetLu
Latest version: 1.3.0

# Interaction
[![npm version](https://img.shields.io/npm/v/@iro/interaction.svg?style=flat&colorB=brightgreen)](https://www.npmjs.com/package/@iro/interaction)
[![npm downloads](https://img.shields.io/npm/dm/@iro/interaction.svg?style=flat&colorB=brightgreen)](https://www.npmjs.com/package/@iro/interaction)

The interaction plugin for pixi.js.

## Install

```bash
npm i @iro/interaction
```

## Why Use It
1. Unified event type, `Pointer` event only.
2. `Pointerout` and `Pointerupoutside` have `target` value.

## Usage

```js
// webpack.config.js
plugins: [
  new webpack.ProvidePlugin({
    PIXI: 'pixi.js'
  })
]
```

```js
import Interaction from '@iro/interaction'

// pixi.js@5
PIXI.Renderer.registerPlugin('interaction', Interaction)

// pixi.js@6
// remove default interaction extensions
for (const x in PIXI.extensions._queue) {
  for (const ext of PIXI.extensions._queue[x]) {
    if (ext.name === 'interaction') {
      PIXI.extensions.remove(ext)
    }
  }
}

// add @iro/interaction
PIXI.extensions.add(
  {
    name: 'interaction',
    ref: Interaction,
    type: [PIXI.ExtensionType.RendererPlugin, PIXI.ExtensionType.CanvasRendererPlugin]
  }
)

renderer.plugins.interaction.on('pointerdown', ev => {})
sprite.on('pointerup', ev => {})

/**
 * - tap
 * - pointerup
 * - pointerout
 * - pointermove
 * - pointerdown
 * - pointerenter
 * - pointerupoutside
*/
```

## Supports PointerEvents like css

```ts
interface Sprite extends PIXI.Sprite {
  pointerEvents?: 'auto' | 'none'
}

const a: Sprite = new PIXI.Sprite(texture)
a.pointerEvents = 'none'

const b: Sprite = new PIXI.Sprite(texture)
b.interactive = true
b.on('pointerdown', console.log) // output

stage.addChild(b, a)
```
npm package: @iro/tilemap
Description: Collision engine may evolve into physical engine.
Author: JetLu
Latest version: 0.1.0

# tilemap
The tilemap renderer for pixi.js.
> Currently only **infinite** Map is supported and the layer type is **CSV**.

[DEMO](https://funny.lufei.so/tilemap/)

# Install
```
npm i @iro/tilemap
```

# Usage
```js
import {Tilemap, Layer} from '@iro/tilemap'

const map = new Tilemap({
  data: loader.resources['hometown.json'].data,
  tileset: {
    '1': loader.resources['1.png'].texture
  }
})

stage.addChild(map)
```