open-index/open-npm huggingface dataset:
npm package: @patagona-technologies/ngraph.fromjson
Description: Library to load graph from simple json format
Author: Andrei Kashcha
Latest version: 2.0.3

# ngraph.fromjson

Library to load graph from simple json format

[![Build Status](https://travis-ci.org/anvaka/ngraph.fromjson.svg)](https://travis-ci.org/anvaka/ngraph.fromjson)

# usage

``` javascript
// JSON string can be produced by `ngraph.tojson` library
// https://github.com/anvaka/ngraph.tojson
var jsonString = ' {"nodes":[{"id":"hello"},{"id":"world"}],"links":[{"fromId":"hello","toId":"world"}]}'

var fromJSON = require('ngraph.fromjson');
var graph = fromJSON(jsonString)

graph.getNode('hello'); // returns a node;
graph.getLinksCount(); // 1
```

You can also provide custom transform functions for deserializer:

```
var jsonString = {
  "nodes":[[1,"Custom data"],[2,null]],"links":[[1,2,"Custom link data"]]
  };

var fromJSON = require('ngraph.fromjson');
// each element in the input json array is an array. Provide custom transformers
// to parse arrays:
var graph = fromJSON(jsonString,
  function nodeLoadTransform(node) {
    return { id: node[0], data: node[1] };
  },
  function linkLoadTransform(link) {
    return { fromId: link[0], toId: link[1], data: link[2] };
  });

graph.getNode(1); // returns a node, and its data is set to "Custom Data";
graph.hasLink(1, 2); // Returns link, and its data is set to "Custom link data"
```

# install

With [npm](https://npmjs.org) do:

```
npm install ngraph.fromjson
```

# license

MIT
npm package: @patagonai/sentinel
Description: AI-powered code review CLI - Review your local changes before committing
Author: PatagonAI
Latest version: 0.1.6

# Patagon Sentinel CLI

AI-powered code review CLI for Patagon employees.

## Prerequisites

1. **Bun** - [Install here](https://bun.sh)
2. **Vercel CLI** - `npm install -g vercel` and `vercel login`
3. **GitHub Packages access** - One-time setup below

## Installation

```bash
# One-time: Authenticate with GitHub Packages
npm login --registry=https://npm.pkg.github.com
# Username: your GitHub username
# Password: your GitHub PAT (with read:packages scope)

# Install globally
npm install -g @patagonai/sentinel
```

## Usage

```bash
# Review current directory
sentinel --path .

# Review specific repository
sentinel --path /path/to/your/repo

# Run on different port
sentinel --port 3000

# Update to latest version
sentinel --update
```

## How It Works

1. Downloads Patagon Sentinel to `~/.patagon-sentinel/`
2. Pulls environment from Vercel (database, API keys, etc.)
3. Starts the local development server
4. Opens your browser to the review page

## Commands

| Option | Description |
|--------|-------------|
| `-p, --path <path>` | Path to git repository to review |
| `--port <port>` | Port to run on (default: 5565) |
| `--no-open` | Don't open browser automatically |
| `--update` | Force update to latest version |
| `-V, --version` | Output version number |
| `-h, --help` | Display help |
npm package: @patagoniajs/angular
Description: Patagonia JS Angular - Coming Soon
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/vue

Vue.js component library with Tailwind CSS - Free tier with 35+ components.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- 35+ Vue 3 components with TypeScript
- Tailwind CSS integration
- Composition API support
- Full accessibility (WCAG 2.1 AA)
- Tree-shaking support

## Installation

```bash
npm install @patagoniajs/vue
```

## Quick Start

```vue
<template>
  <PButton variant="primary">
    Hello Patagonia!
  </PButton>
</template>

<script setup>
import { PButton } from '@patagoniajs/vue'
</script>
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.

- **CLI**: `@patagoniajs/cli`
- **Premium**: `@patagoniajs/vue-pro`
npm package: @patagoniajs/cli
Description: Patagonia JS CLI - Command line tools for the Patagonia JS ecosystem
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/cli

Command line tools for the Patagonia JS ecosystem.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- Framework initialization (Vue, React, Angular)
- Component installation and management
- Premium upgrades
- Project scaffolding

## Installation

```bash
npm install -g @patagoniajs/cli
```

## Usage

```bash
# Initialize new project
npx @patagoniajs/cli init vue
npx @patagoniajs/cli init react

# Add components
npx @patagoniajs/cli add button
npx @patagoniajs/cli add card

# Upgrade to premium
npx @patagoniajs/cli upgrade vue-pro
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.
npm package: @patagoniajs/react
Description: Patagonia JS React - Coming Soon
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/vue

Vue.js component library with Tailwind CSS - Free tier with 35+ components.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- 35+ Vue 3 components with TypeScript
- Tailwind CSS integration
- Composition API support
- Full accessibility (WCAG 2.1 AA)
- Tree-shaking support

## Installation

```bash
npm install @patagoniajs/vue
```

## Quick Start

```vue
<template>
  <PButton variant="primary">
    Hello Patagonia!
  </PButton>
</template>

<script setup>
import { PButton } from '@patagoniajs/vue'
</script>
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.

- **CLI**: `@patagoniajs/cli`
- **Premium**: `@patagoniajs/vue-pro`
npm package: @patagoniajs/vue
Description: Patagonia JS Vue - Vue.js component library with Tailwind CSS
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/vue

Vue.js component library with Tailwind CSS - Free tier with 35+ components.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- 35+ Vue 3 components with TypeScript
- Tailwind CSS integration
- Composition API support
- Full accessibility (WCAG 2.1 AA)
- Tree-shaking support

## Installation

```bash
npm install @patagoniajs/vue
```

## Quick Start

```vue
<template>
  <PButton variant="primary">
    Hello Patagonia!
  </PButton>
</template>

<script setup>
import { PButton } from '@patagoniajs/vue'
</script>
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.

- **CLI**: `@patagoniajs/cli`
- **Premium**: `@patagoniajs/vue-pro`
npm package: @patagoniaui/angular
Description: Patagonia UI Angular - Coming Soon
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/vue

Vue.js component library with Tailwind CSS - Free tier with 35+ components.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- 35+ Vue 3 components with TypeScript
- Tailwind CSS integration
- Composition API support
- Full accessibility (WCAG 2.1 AA)
- Tree-shaking support

## Installation

```bash
npm install @patagoniajs/vue
```

## Quick Start

```vue
<template>
  <PButton variant="primary">
    Hello Patagonia!
  </PButton>
</template>

<script setup>
import { PButton } from '@patagoniajs/vue'
</script>
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.

- **CLI**: `@patagoniajs/cli`
- **Premium**: `@patagoniajs/vue-pro`
npm package: @patagoniaui/cli
Description: Patagonia UI CLI - Coming Soon
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/vue

Vue.js component library with Tailwind CSS - Free tier with 35+ components.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- 35+ Vue 3 components with TypeScript
- Tailwind CSS integration
- Composition API support
- Full accessibility (WCAG 2.1 AA)
- Tree-shaking support

## Installation

```bash
npm install @patagoniajs/vue
```

## Quick Start

```vue
<template>
  <PButton variant="primary">
    Hello Patagonia!
  </PButton>
</template>

<script setup>
import { PButton } from '@patagoniajs/vue'
</script>
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.

- **CLI**: `@patagoniajs/cli`
- **Premium**: `@patagoniajs/vue-pro`
npm package: @patagoniaui/react
Description: Patagonia UI React - Coming Soon
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/vue

Vue.js component library with Tailwind CSS - Free tier with 35+ components.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- 35+ Vue 3 components with TypeScript
- Tailwind CSS integration
- Composition API support
- Full accessibility (WCAG 2.1 AA)
- Tree-shaking support

## Installation

```bash
npm install @patagoniajs/vue
```

## Quick Start

```vue
<template>
  <PButton variant="primary">
    Hello Patagonia!
  </PButton>
</template>

<script setup>
import { PButton } from '@patagoniajs/vue'
</script>
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.

- **CLI**: `@patagoniajs/cli`
- **Premium**: `@patagoniajs/vue-pro`
npm package: @patagoniaui/vue
Description: Patagonia UI Vue - Coming Soon
Author: Manuel Guido
Latest version: 0.0.1

# @patagoniajs/vue

Vue.js component library with Tailwind CSS - Free tier with 35+ components.

**🚧 Coming Soon**

This package is under active development. Stay tuned for:

- 35+ Vue 3 components with TypeScript
- Tailwind CSS integration
- Composition API support
- Full accessibility (WCAG 2.1 AA)
- Tree-shaking support

## Installation

```bash
npm install @patagoniajs/vue
```

## Quick Start

```vue
<template>
  <PButton variant="primary">
    Hello Patagonia!
  </PButton>
</template>

<script setup>
import { PButton } from '@patagoniajs/vue'
</script>
```

---

Part of the [Patagonia JS](https://patagoniajs.com) ecosystem.

- **CLI**: `@patagoniajs/cli`
- **Premium**: `@patagoniajs/vue-pro`