open-index/open-npm huggingface dataset:
npm package: @ironfly/slickgrid
Description: A lightning fast JavaScript grid/spreadsheet
Author: Michael Leibman
Latest version: 2.4.13

## This is the Ironfly Tech SlickGrid repo
It is slightly modified off the 6pac SlickGrid repo with some
specific improvements.

---

### This is the 6pac SlickGrid repo

Check out the NEW SlickGrid Website! http://slickgrid.net/

This is the acknowledged most active non-customised fork of SlickGrid.

It aims to be a viable alternative master repo, building on the legacy of the mleibman/SlickGrid master branch, keeping libraries up to date and applying small, safe core patches and enhancements without turning into a personalised build.

Check out the [examples](https://github.com/6pac/SlickGrid/wiki/Examples) for examples demonstrating new features and use cases, such as dynamic grid creation and editors with third party controls.

Also check out the [wiki](https://github.com/6pac/SlickGrid/wiki) for news and documentation.
npm package: @ironforge/mudlands
Description: Discovers all IDLs ever published for a Solana program.
Latest version: 0.0.2

# Mudlands

Mu _ltiple_ _I_ dl and S _olana tooling_, discovers all IDLs ever published for a Solana program.

```ts
import { findIdls } from '@ironforge/mudlands'

// Helper to log IDLs
function parseWrites(writes: { idl: Buffer }[]) {
  return writes.map((w) => JSON.parse(w.idl.toString()))
}

// Find all IDLs created for CandyMachine
const CANDY_PROGRAM_ID = 'cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ'

// Should use different RPC provider to avoid getting rate limited
const SOLANA_MAINNET = 'https://api.mainnet-beta.solana.com'

const idlWrites = await findIdls(CANDY_PROGRAM_ID, SOLANA_MAINNET)
console.log(JSON.stringify(parseWrites(idlWrites), null, 2))
```

## Example

To try an example have a look at [`./examples/check-idl.ts`](./examples/check-idl.ts).

You can try it via `yarn ex:usd`, but replace `SOLANA_MAINNET` with an RPC node like helius
first, i.e.:

```sh
RPC=$HELIUS_MAIN yarn ex:usd
```

## LICENSE

MIT
npm package: @ironforge/req2code
Description: Converts a request to code executing it in different languages.
Author: Thorsten Lorenz
Latest version: 0.0.9

# req2code [![Build+Test+Lint](https://github.com/ironforge-cloud/req2code/actions/workflows/build-test-lint.yml/badge.svg)](https://github.com/ironforge-cloud/req2code/actions/workflows/build-test-lint.yml)

Converts a request to the Ironforge API to code snippets in different languages.

## Example Usage

```ts
const API_KEY = '<user-api-key>'
const render = new Req2Code(API_KEY)

const rendered = render.accounts.curl.filterByType({
  cluster: 'devnet',
  program: 'cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ',
  accountType: 'CandyMachine',
  body: { filter: { 'data.data.price': 250 } },
  limit: 5,
  offset: 0,
  cacheControl: 'max-age=5',
})

console.log(rendered)
```

```sh
curl 'https://accounts.ironforge.network/v1/devnet/cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ'\
'/find/CandyMachine?limit=5&offset=0&apiKey=<user-api-key>' \
  -H 'content-type: application/json'\
  -H 'x-ironforge-cache-control: max-age=5'\
  --compressed
```

## LICENSE

MIT
npm package: @ironforge/sdk
Description: IronForge SDK.
Author: Thorsten Lorenz
Latest version: 0.0.6
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ironforge/sdk [![Build+Test+Lint](https://github.com/ironforge-cloud/sdk/actions/workflows/build-test-lint.yml/badge.svg)](https://github.com/ironforge-cloud/sdk/actions/workflows/build-test-lint.yml)

Ironforge SDK

[Docs](https://ironforge-cloud.github.io/sdk/docs/)

## Example

```ts
const API_KEY = '<your ironforge API key>'
import { IronforgeSdk } from '@ironforge/sdk'

const sdk = new IronforgeSdk(API_KEY)
const { result, status } = await sdk.accounts.filterByType({
  accountType: 'CandyMachine',
  query: { filter: { 'data.data.price': 250 } },
  cluster: 'devnet',
  program: 'cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ',
  limit: 2,
  offset: 0,
})

console.log(status) // => 200
console.log(result)
```

## LICENSE

MIT
npm package: @irongate/spear-pdf-highlighter
Description: React component for highlighting PDFs
Author: Alex Magwe
Latest version: 1.0.2

# react-pdf-highlighter-extended-EXTENDED

[![npm version](https://badge.fury.io/js/react-pdf-highlighter-extended-extended.svg)](https://badge.fury.io/js/react-pdf-highlighter-extended-extended)

`react-pdf-highlighter-extended` is a [React](https://reactjs.org/) library that provides a highly customisable annotation experience for PDF documents on the web, with text and rectangular highlights both supported. It leverages [PDF.js](https://github.com/mozilla/pdf.js) as its viewer. The highlight data format is also independent of the viewport, making it suitable for saving on a server.

This originally started as a fork of [`react-pdf-highlighter`](https://github.com/agentcooper/react-pdf-highlighter) but so much has been refactored and redesigned that it would be a burden to pull it to the original repo. Some of these changes include: addition of `HighlightContext`, `PdfHighlighterContext`, and `MonitoredHighlightContainer`; zoom support; exposed styling on all components; and numerous bugfixes. Efforts will be made to try to ensure feature parity with the original repo, but there are no guarantees that syntax and usage will be the same.

### My Changes
I made small changes to react-pdf-highlighter-extended to make it work better for my project. Now it is `react pdf highlighter extended extended`! Fixed some old bugs.
I upgraded react to react 19 so that it is compatible with other plugins for my app.  In order to do this the ability to resize highlights must be removed or upgraded as well (but I am not using them anyways, so I just deleted them).  I also made highlight tooltips persist until another one is hovered to be more compatible with a lot of busy highlights.

## Documentation

Find documentation for the original library that this is forked from here:

If you just want to use this library, you can find comprehensive docs for all aspects by visiting the [official documentation page](https://danielarnould.github.io/react-pdf-highlighter-extended/docs/).

If you wish to contribute, most internal components are documented in code, though not to the same depth.

Some notable changes:
I had no needs for resizing and moving highlights so I removed the feature.
npm package: @ironheart122/snai-sdk
Description: The TypeScript SDK for the SwarmNode AI API (Internal)
Author: SwarmNode AI
Latest version: 1.0.0

# TypeScript SDK for the SwarmNode AI API

The SwarmNode TypeScript SDK provides convenient access to the SwarmNode REST API from any Node.js 20+ application. The SDK includes rich type definitions and enables receiving real-time executions
via WebSockets.

## Prerequisites

- [Node.js 20 or later](https://github.com/nvm-sh/nvm)
- [PNPM](https://pnpm.io/installation#prerequisites)

## Installation

You can install the SDK using `npm` or `bun` or `pnpm`:

```bash
npm install @swarmnode-ai/sdk
```

or

```bash
bun add @swarmnode-ai/sdk
```

or

```bash
pnpm add @swarmnode-ai/sdk
```

## Usage

### Create an Agent

```ts
import SwarmNodeAI, { type SwarmNodeConfig } from '@swarmnode-ai/sdk'

const config: SwarmNodeConfig = {
  apiKey: process.env.SWARMNODE_API_KEY,
}

const swarmnode = new SwarmNodeAI(config)

const agent = await swarmnode.agents.create({
  name: 'testagent5878',
  script: "def main():\n    print('hello world')\n",
  python_version: '3.12',
  store_id: store.id,
})
```

### Execute an agent

```ts
import SwarmNodeAI, { type SwarmNodeConfig } from '@swarmnode-ai/sdk'

const config: SwarmNodeConfig = {
  apiKey: process.env.SWARMNODE_API_KEY,
}

const swarmnode = new SwarmNodeAI(config)

const agentExecutorJob = await swarmnode.agentExecutorJobs.create({
  agent_id: 'abce1234',
  payload: {
    key: 'value',
  },
})

// OR

const agent = await swarmnode.agents.retrieve('abce1234')
await agent.execute({
  payload: {
    key: 'value',
  },
})
```

### Create a Cron Job

```ts
import SwarmNodeAI, { type SwarmNodeConfig } from '@swarmnode-ai/sdk'

const config: SwarmNodeConfig = {
  apiKey: process.env.SWARMNODE_API_KEY,
}

const swarmnode = new SwarmNodeAI(config)

const agentExecutorCronJob = await swarmnode.agentExecutorCronJobs.create({
  agent_id: agent.id,
  name: 'cron-job',
  expression: '* * * * *', // every minute
})
```

### Pagination

```ts
import SwarmNodeAI, { type SwarmNodeConfig } from '@swarmnode-ai/sdk'

const config: SwarmNodeConfig = {
  apiKey: process.env.SWARMNODE_API_KEY,
}

const swarmnode = new SwarmNodeAI(config)

const stores = await swarmnode.stores.list()

for await (const store of stores) {
  console.log(store)
}

const nextPage = await stores.getNextPage()
```

These are only a few examples of what you can do with the SDK. Check out the examples folder for more examples.

For complete API reference and more examples, please visit:

- [API Reference](https://swarmnode.ai/docs/api/v1/introduction)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @ironhorse/mapper
Description: Utility to map one object from other(s)
Author: David Lighty
Latest version: 1.0.0

# mapper

[![Build Status](https://travis-ci.org/davidlighty/mapper.svg?branch=master)](https://travis-ci.org/davidlighty/mapper) [![Coverage Status](https://coveralls.io/repos/github/davidlighty/mapper/badge.svg?branch=master)](https://coveralls.io/github/davidlighty/mapper?branch=master)

Utility to map one or more objects into a new object

Inspiration from Automapper, a C# utility, which does this specific thing.

# Problem

Many times we might have an incoming API payload and it needs to be modified/normalized/setup before being used by the rest of our code. Many times the approach is to do this as late as possible.
This utility can help you handle that either in your View logic, or perhaps, at the API layer.

# Goal

Provide a easy pattern to help re-map/combine properties into a new object.
With this utility you create a "profile" JSON which tells how to map into your new object.

# Example

API Payload

```
const APIResponse = {
    id:1
    result:{
        first-name:'Bruce',
        last-name:'Wayne'
    }
}
```

Create an object that holds each key of the new translated object, whose value is a direct path or a function to derive the needed data.
Mapper will supply both the "from" object and the "to" object to a function.

```
const userMapping={
    id,
    firstName:'result.first-name',
    lastName:'result.last-name',
    fullName: from => {
        return `${from.result.first-name} ${from.result.last-name}`
    }
}
```

With this profile you can import the mapper utility and use it when you fetch the result

```
import {mapper} from '@ironhorse/mapper'
import {userMapping} from './profiles'

const expected = mapper(APIResponse, userMapping)

console.log(expected)

/**
{
    id:1
    firstName:'Bruce',
    lastName:'Wayne',
    fullName:'Bruce Wayne'
}
*/
```
npm package: @ironhorse/module-template
Description: quick js module template
Author: David Lighty
Latest version: 1.0.0

# module-template

[![Build Status](https://travis-ci.org/davidlighty/module-template.svg?branch=master)](https://travis-ci.org/davidlighty/module-template) [![Coverage Status](https://coveralls.io/repos/github/davidlighty/module-template/badge.svg?branch=feature%2Fcoveralls)](https://coveralls.io/github/davidlighty/module-template?branch=feature%2Fcoveralls)

Quick template to jumpstart your next npm module or js project. Slightly opinionated with typecheckig using Flow, AirBnb linting styles, and building with Rollup.
The following sections will follow-up on some of these opinons, followed by a references section to allow you to read up on the different projects directly.

**Usage**

1. Clone this repo
2. Copy into your own new repo "@me/newModule"
3. Update:
   1. package.json (module name, author, repository, description)
   2. rollup.config.js (module name)
4. Install yarn
5. Run yarn
6. yarn flow-typed install
7. Run yarn flow init
8. Run yarn test
9. Run yarn build
   1. Should have a lib/index.esm.js file

## Test with Jest

This template suggests using jest and jest theories for testing.

### What are [theories](https://www.npmjs.com/package/jest-theories)?

This is a way to run a single test with multiple inputs. Shortcut looping.

## Build with Rollup

_future section_

## Code with Flow

_future section_

## Eslint / Prettier

_future section_

### References

- [flow](https://flow.org/)
- [flow-typed](https://github.com/flow-typed/flow-typed)
- [jest](https://jestjs.io/)
- [jest-theories](https://www.npmjs.com/package/jest-theories)
- [rollup](https://github.com/rollup/rollup)
- [eslint](https://eslint.org/)
- [prettier](https://github.com/prettier/prettier)
- [travisCI](https://travis-ci.org/)
- [Inspiration article](https://www.grzegorowski.com/publishing-npm-package-with-rollup-babel-and/)