open-index/open-npm huggingface dataset:
npm package: @gr2m/yawn-yaml
Description: YAML parser that preserves comments and styling
Author: Mohsen Azimi
Latest version: 1.5.0-fork.1

# YAWN YAML

[![Build Status](https://travis-ci.org/mohsen1/yawn-yaml.svg)](https://travis-ci.org/mohsen1/yawn-yaml)

> YAML parser that preserves comments and styling

**[Live Demo](http://azimi.me/yawn-yaml/demo/index.html)**

## Usage

```js
// If you use ES2015 modules
import YAWN from 'yawn-yaml';

// If you use CommonJS modules
const YAWN = require('yawn-yaml/cjs')

let str = `
# my comment
value: 1 # the value is here!
`;

let yawn = new YAWN(str);

yawn.json = {value: 2};


// value in `yawn.yaml` is now changed.
console.log(yawn.yaml); // =>
// # my comment
// value: 2 # the value is here!

```

## Installation

Use npm or Bower to install `"yawn-yaml"` package

```
npm install --save yawn-yaml
```

```
bower install --save yawm-yaml
```

If you wish to depend to ES6 version use [`src/index.js`](./src/index.js) file.

## Development

To install dependencies run:

```
npm install
```

To run the test run:

```
npm test
```

To run tests continuously and watch for changes install [mocha](https://mochajs.org/) and run:

```
mocha --compilers js:babel/register -w
```

To make a new build run:

```
npm run browserify
```


## License
[MIT](./LICENSE)
npm package: @gr33n-ai/jade-sdk-client
Description: TypeScript client for Jade AI - generate images, videos, and audio with AI
Author: gr33n.ai
Latest version: 0.2.2

# @gr33n-ai/jade-sdk-client

TypeScript/React client for [Jade AI](https://jade.gr33n.ai) - generate images, videos, and audio with AI.

## Installation

```bash
npm install @gr33n-ai/jade-sdk-client
# or
yarn add @gr33n-ai/jade-sdk-client
# or
pnpm add @gr33n-ai/jade-sdk-client
```

## Quick Start

```tsx
import { JadeProvider, useJadeSession } from '@gr33n-ai/jade-sdk-client';

function App() {
  return (
    <JadeProvider
      config={{
        endpoint: 'https://api.jade.gr33n.ai',
        getAuthToken: () => 'your-api-key',
      }}
    >
      <Chat />
    </JadeProvider>
  );
}

function Chat() {
  const { processedConversation, sendMessage, media, isStreaming } = useJadeSession();

  return (
    <div>
      {processedConversation.map((entry, i) => (
        <div key={i}>
          {entry.entry.text}
          {entry.mediaUrls?.map(url => <img key={url} src={url} />)}
        </div>
      ))}
      <button onClick={() => sendMessage('Generate an image of a sunset')}>
        Generate
      </button>
    </div>
  );
}
```

## Features

- **Real-time Streaming**: Server-sent events for instant feedback
- **Media Generation**: Generate images, videos, and audio
- **Session Management**: Persistent conversations with history
- **Type-Safe**: Full TypeScript support
- **React Hooks**: Easy integration with `useJadeSession`

## Documentation

Full documentation available at [docs.gr33n.ai](https://docs.gr33n.ai)

- [TypeScript Quickstart](https://docs.gr33n.ai/quickstart/typescript)
- [React Hooks Reference](https://docs.gr33n.ai/react/use-jade-session)
- [API Reference](https://docs.gr33n.ai/api-reference/client)

## API

### JadeProvider

Wrap your app with `JadeProvider` to enable Jade hooks:

```tsx
<JadeProvider
  config={{
    endpoint: 'https://api.jade.gr33n.ai',
    getAuthToken: () => apiKey,
    organizationId: 'org_123', // optional
  }}
>
  <App />
</JadeProvider>
```

### useJadeSession

Main hook for chat functionality:

```tsx
const {
  // State
  processedConversation,  // Processed entries ready for display
  media,                   // All generated media
  isStreaming,             // Currently generating
  sessionId,               // Current session ID

  // Actions
  sendMessage,             // Send a message
  cancel,                  // Cancel streaming
  clear,                   // Clear conversation
  loadSession,             // Load previous session
  reconnect,               // Reconnect to session
} = useJadeSession();
```

### useMedia

Extract media from conversation:

```tsx
const media = useMedia(conversation);
// Returns: MediaInfo[] with url, type, prompt, model, etc.
```

## Requirements

- React 18+
- Node.js 18+ (for SSE support)

## License

MIT
npm package: @gr4vez/worldbank
Description: World Bank API interface
Latest version: 1.0.0

# worldbank

A small library that talks to the [World Bank Country API](https://api.worldbank.org/v2/country?format=json) and returns country lists (e.g. ISO2 codes) for use in map builds, seeding, and UI allowlists.

You can either **call the API on the fly** for fresh data, or use the **bundled static snapshot** (last-known-good fetch from the API at build/publish time) so you don’t need network or the API at runtime.

## Install

```bash
npm install worldbank
```

## API

**Live (hits the API):**

- **`getCountryIso2Codes(options?)`** – Returns a sorted array of ISO2 codes. By default excludes aggregate regions. Options: `{ excludeAggregates?: boolean }` (default `true`).
- **`getCountries()`** – Returns full country objects from the API (non-aggregates only).
- **`fetchCountriesFromApi()`** – Returns the raw country list from the API (includes aggregates).

**Static (uses bundled snapshot, no network):**

- **`getCountryIso2CodesFromStatic(options?)`** – Same as `getCountryIso2Codes` but from the snapshot shipped with the package (sync).
- **`getCountriesFromStatic()`** – Same as `getCountries` but from the snapshot (sync).

## Usage

**On-the-fly (network required):**

```ts
import { getCountryIso2Codes, getCountries } from 'worldbank';

const iso2Codes = await getCountryIso2Codes();
const countries = await getCountries();
```

**Static snapshot (no network, good for builds/CI):**

```ts
import { getCountryIso2CodesFromStatic, getCountriesFromStatic } from 'worldbank';

const iso2Codes = getCountryIso2CodesFromStatic();
const countries = getCountriesFromStatic();
```

## Static snapshot

The package ships with a pre-fetched list from the World Bank API, generated when the library is built or published. To refresh it locally (e.g. before committing), run:

```bash
npm run build:static
```

Then run `npm run build` so the updated snapshot is copied into `dist/`.

## Requirements

- Node >= 18 (uses native `fetch` for live API calls).
- Network access only when using the live API; static getters need no network.

## License

MIT
npm package: @gr4vy/poutine-tailwind-preset
Description: Tailwind preset allows you to use poutine design tokens as part of your tailwind utility css setup.
Author: gr4vy-code
Latest version: 1.3.0

# Poutine Tailwind Preset

## Get Started

Tailwind preset allows you to use poutine design tokens as part of your tailwind utility css setup.

```
yarn add -D @gr4vy/poutine-tailwind-preset
// npm install --dev @gr4vy/poutine-tailwind-preset
```

You can add this to your tailwind configuration.

```
module.exports = {
  presets: [require('@gr4vy/poutine-tailwind-preset')],
}
```

## Using utilities

You can use the colors, font, spacing and radius utilities.

```
<div class="text-blue-70 hover:text-blue-90">
```

We recommend the official tailwind vscode plugin to get editor hints and auto-completion.
npm package: @graal-types/oraxen
Description: Graal Types
Author: Kyle Mercer
Latest version: 1.51.0-2

# Updating

This one is slightly different.

* Go to https://jitpack.io/#oraxen/oraxen
* Get latest commit
* Replace version w/ latest commit

# Manual Fixes

* Remove `  readonly constructor: CustomListenerConstructor;` on line 951. Need to figure out the proper types.

* `  static build(): ItemStack;` to `OraxenItems` on about line 1342. 
  * add import `import { ItemStack } from 'org.bukkit.inventory';` on about line 1319.
npm package: @graasp/cli
Description: A CLI to create apps and labs for the Graasp ecosystem.
Author: Juan Carlos Farah
Latest version: 0.5.2

# Graasp CLI

[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

A CLI to create apps and labs for the Graasp ecosystem.

## Citing

If you use the Graasp CLI in your research, please cite the following paper:

Juan Carlos Farah, Sandy Ingram, and Denis Gillet. 2022. Supporting Developers in Creating Web Apps for Education via an App Development Framework. In _HEAd'22 Conference Proceedings_ (Valencia, Spain, 2022). Editorial Universitat Politècnica de València, Valencia, Spain, 883–890. https://doi.org/10.4995/HEAD22.2022.15652

```
@inproceedings{farah2022supporting,
    title = {Supporting {Developers} in {Creating} {Web} {Apps} for {Education} via an {App} {Development} {Framework}},
    author = {Farah, Juan Carlos and Ingram, Sandy and Gillet, Denis},
    booktitle = {{HEAd}'22 {Conference} {Proceedings}},
    publisher = {Editorial Universitat Politècnica de València},
    address = {Valencia, Spain},
    year = {2022},
    pages = {883--890}
    doi = {10.4995/HEAD22.2022.15652},
}
```

🙏

## Development

To test locally, clone the repository.

Compile the library by running `yarn compile`

Move to a directory where you would like to clone a test project, e.g. `cd ~/my-apps`

Run the CLI by using the full path from that directory to the `lib` folder inside this repository.

```bash
node ~/code/graasp/tools/graasp-cli/lib new
```
npm package: @graasp/moodle
Description: Components for connecting Graasp with Moodle.
Author: graasp
Latest version: 0.1.3

# @graasp/moodle

> 

[![NPM](https://img.shields.io/npm/v/@graasp/moodle.svg)](https://www.npmjs.com/package/@graasp/moodle) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @graasp/moodle
```

## Usage

```jsx
import React, { Component } from 'react'

import { Analytics } from '@graasp/moodle'

class Example extends Component {
  render() {
    return <Analytics context={...} />
  }
}
```

## License

MIT © [graasp](https://github.com/graasp)