open-index/open-npm huggingface dataset:
npm package: @memochou1993/create-nyan-profile
Description: Set up Nyan Profile by running one command.
Author: Memo Chou
Latest version: 1.0.10

# Create Nyan Profile

## Getting Started

To create a new profile, you may choose one of the following methods:

### npx

```bash
npx @memochou1993/create-nyan-profile my-profile
```

### npm

```bash
npm init @memochou1993/nyan-profile my-profile
```

## Contributors

<a href="https://github.com/memochou1993/nyan-profile/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=memochou1993/nyan-profile" width="50" />
</a>

## License

[MIT](LICENSE)
npm package: @memochou1993/json2markdown
Description: A simple JSON to Markdown converter that transforms JSON data into Markdown format. It can be used for transforming structured data into a readable format.
Latest version: 0.0.15

# JSON2Markdown

A simple JSON to Markdown converter that transforms JSON data into Markdown format. It can be used for transforming structured data into a readable format.

## Demo

[JSON2Markdown Renderer](https://memochou1993.github.io/json2markdown-converter/)

## Getting Started

### Using with ES Modules

To get started with ES Modules, simply import the module and use it in your code:

```js
import { Converter } from '@memochou1993/json2markdown';

const output = Converter.toMarkdown({
  'Hello, World!': 'It works!',
});

// Output:
// # Hello, World!\n\nIt works!\n\n
```

### Using with UMD Modules

Alternatively, if you're using UMD modules, include the script in your HTML file and use it in your code:

```html
<script src="https://unpkg.com/@memochou1993/json2markdown/dist/index.umd.js"></script>
<script>
const output = window.JSON2Markdown.Converter.toMarkdown({
  'Hello, World!': 'It works!',
});

// Output:
// # Hello, World!\n\nIt works!\n\n
</script>
```

## Usage

### Basic Usage

The `Converter` can be initialized with either a JSON string or an object, where both the keys and values will be converted into Markdown elements.

```js
const converter = new Converter({
  'Hello, World!': 'It works!',
});

const output = converter.toMarkdown();

// Output:
// # Hello, World!\n\nIt works!\n\n
```

### Callback Function

The callback function in the `toMarkdown` method allows you to transform generated Markdown elements during the conversion process. It is called for each element, giving you the opportunity to modify its properties before returning it.

```js
const converter = new Converter({
  'Hello, World!': 'It works!',
});

const output = converter.toMarkdown((element) => {
  if (element.tag === 'heading') {
    element.level += 1;
  }
  return element;
});

// Output:
// ## Hello, World!\n\nIt works!\n\n
```

## Available Tags

| Name | Description |
| --- | --- |
| `A` | Represents an anchor (`a`) tag. |
| `BR` | Represents a line break (`br`) tag. |
| `HEADING` | Represents a heading (`heading`) tag. |
| `IMG` | Represents an image (`img`) tag. |
| `LI` | Represents a list item (`li`) tag. |
| `P` | Represents a paragraph (`p`) tag. |
| `PRE` | Represents a preformatted text (`pre`) tag. |
| `TD` | Represents table data (`td`) tag. |
| `TR` | Represents a table row (`tr`) tag. |

## Development

To start a local development server, run:

```bash
npm run dev
```

## Testing

To run the tests for this package, run:

```bash
npm run test
```
npm package: @memochou1993/stryle
Description: A collection of utility functions for transforming string cases in various formats.
Latest version: 0.0.9

# Stryle

A collection of utility functions for transforming string cases in various formats.

## Getting Started

### Using with ES Modules

To get started with ES Modules, simply import the module and use it in your code:

```js
import { toTitleCase } from '@memochou1993/stryle';

const output = toTitleCase('hello, stryle!', {
  specialTerms: ['STRYLE'],
});

// Output:
// Hello, STRYLE!
```

### Using with UMD Modules

Alternatively, if you're using UMD modules, include the script in your HTML file and use it in your code:

```html
<script src="https://unpkg.com/@memochou1993/stryle/dist/index.umd.js"></script>
<script>
const output = window.Stryle.toTitleCase('hello, stryle!', {
  specialTerms: ['STRYLE'],
});

// Output:
// Hello, STRYLE!
</script>
```

## Available Functions

| Name | Description |
| --- | --- |
| `lowerFirst` | Converts the first character of the given string to lowercase. |
| `splitWords` | Splits a given string into words by inserting spaces at word boundaries. |
| `toCamelCase` | Converts a given string to `camelCase`. |
| `toKebabCase` | Converts a given string to `kebab-case`. |
| `toPascalCase` | Converts a given string to `PascalCase`. |
| `toSnakeCase` | Converts a given string to `snake_case`. |
| `toTitleCase` | Converts a given string to `Title Case`, with options for special terms. |
| `upperFirst` | Converts the first character of the given string to uppercase. |

## Development

To start a local development server, run:

```bash
npm run dev
```

## Testing

To run the tests for this package, run:

```bash
npm run test
```
npm package: @memodungeon/cube
Description: Rubik's Cube model and 3BLD helper utilities in TypeScript
Latest version: 0.1.1

# @memodungeon/cube

Small TypeScript Rubik's Cube library with:

- cube state model (`Cube`)
- algorithm parsing/inversion helpers
- 3BLD edge/corner path helpers
- built-in letter schemes (`SPEFFZ`, `SPEFCZ`, `CHS`)

## Install

```bash
pnpm add @memodungeon/cube
# or npm i @memodungeon/cube
```

## Usage

```ts
import { Cube } from "@memodungeon/cube";

const cube = new Cube();
cube.move("R U R' U'"); // sexy move

console.log(cube.toString());
console.log(cube.isSolved());
```

### 3BLD edge path

```ts
import { Cube, SPEFCZ } from "@memodungeon/cube";

const cube = new Cube().move("D2 L' D' B2 U2 B2 L' R' D2 L' U2 L' B2 R2 B U R' F2 L' B' F");
const path = cube.to3bldEdgePath({
  buffer: "U",
  letterScheme: SPEFCZ,
  targetFlip: [3, 1], // treat edge 3 as 1 for dealing with parity
});

console.log(path);
```

## API (main exports)

- `Cube`
- `CubeState`
- `computeLetterSchemeMap`
- `flipTargetEdgeLetter`
- `resolveTargetFlipEdgeIds`
- `SPEFFZ`, `SPEFCZ`, `CHS`

## Development

```bash
pnpm install
pnpm lint
pnpm test
pnpm build
```

## License

MIT
npm package: @memoid/sdk
Description: JavaScript SDK for Memoid - AI Memory Layer
Author: Memoid
Latest version: 0.2.0

# Memoid JavaScript SDK

JavaScript/TypeScript SDK for [Memoid](https://memoid.dev) - AI Memory Layer for intelligent applications.

## Installation

```bash
npm install memoid
# or
yarn add memoid
# or
pnpm add memoid
```

## Quick Start

```typescript
import { MemoryClient } from "memoid";

const client = new MemoryClient("your-api-key");

// Add memory from conversation
const memories = await client.add(
  [
    { role: "user", content: "I'm vegetarian and love Italian food" },
    { role: "assistant", content: "Great! I'll remember that." },
  ],
  { user_id: "user_123" }
);

// Search memories
const results = await client.search("What dietary restrictions?", {
  user_id: "user_123",
});

results.forEach((result) => {
  console.log(`${result.memory} (score: ${result.score})`);
});
```

## API Reference

### MemoryClient

```typescript
const client = new MemoryClient(apiKey, options?);
```

Options:
- `baseUrl`: API base URL (default: `https://api.memoid.dev`)
- `timeout`: Request timeout in ms (default: `30000`)

#### `add(messages, options?)`
Add memories from a conversation.

```typescript
const memories = await client.add(
  [{ role: "user", content: "My name is John" }],
  { user_id: "user_123" }
);
```

#### `get(memoryId)`
Get a specific memory by ID.

#### `getAll(options?)`
Get all memories with optional filtering.

```typescript
const memories = await client.getAll({
  user_id: "user_123",
  limit: 50,
});
```

#### `search(query, options?)`
Search memories using natural language.

```typescript
const results = await client.search("user preferences", {
  user_id: "user_123",
  limit: 10,
});
```

#### `update(memoryId, memory, metadata?)`
Update a memory.

#### `delete(memoryId)`
Delete a memory.

#### `deleteAll(options?)`
Delete all memories with optional filtering.

#### `getGraph(options?)`
Get the knowledge graph.

```typescript
const graph = await client.getGraph({ user_id: "user_123" });
console.log(graph.entities, graph.relations);
```

## TypeScript

Full TypeScript support with exported types:

```typescript
import type { Memory, SearchResult, Graph } from "memoid";
```

## License

MIT