open-index/open-npm huggingface dataset:
npm package: @swordjs/monaco-editor-core
Description: A browser based code editor
Author: Microsoft Corporation
Latest version: 1.72.7

# monaco-editor-core

> This npm module is a building block for the [monaco-editor](https://www.npmjs.com/package/monaco-editor)
npm module and unless you are doing something special (e.g. authoring a monaco editor language that can be shipped
and consumed independently), it is best to consume the [monaco-editor](https://www.npmjs.com/package/monaco-editor) module
that contains this module and adds languages supports.

The Monaco Editor is the code editor that powers [VS Code](https://github.com/microsoft/vscode). Here is a good page describing some [editor features](https://code.visualstudio.com/docs/editor/editingevolved).

This npm module contains the core editor functionality, as it comes from the [vscode repository](https://github.com/microsoft/vscode).

## License
[MIT](https://github.com/microsoft/vscode/blob/main/LICENSE.txt)
npm package: @swordjs/read-pkg-up
Description: Read the closest package.json file
Author: Sindre Sorhus
Latest version: 9.1.1

# read-pkg-up

> Read the closest package.json file

## Why

- [Finds the closest package.json](https://github.com/sindresorhus/find-up)
- [Throws more helpful JSON errors](https://github.com/sindresorhus/parse-json)
- [Normalizes the data](https://github.com/npm/normalize-package-data#what-normalization-currently-entails)

## Install

```sh
npm install read-pkg-up
```

## Usage

```js
import {readPackageUp} from 'read-pkg-up';

console.log(await readPackageUp());
/*
{
	packageJson: {
		name: 'awesome-package',
		version: '1.0.0',
		…
	},
	path: '/Users/sindresorhus/dev/awesome-package/package.json'
}
*/
```

## API

### readPackageUp(options?)

Returns a `Promise<object>` or `Promise<undefined>` if no `package.json` was found.

### readPackageUpSync(options?)

Returns the result object or `undefined` if no `package.json` was found.

#### options

Type: `object`

##### cwd

Type: `URL | string`\
Default: `process.cwd()`

The directory to start looking for a package.json file.

##### normalize

Type: `boolean`\
Default: `true`

[Normalize](https://github.com/npm/normalize-package-data#what-normalization-currently-entails) the package data.

## read-pkg-up for enterprise

Available as part of the Tidelift Subscription.

The maintainers of read-pkg-up and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-read-pkg-up?utm_source=npm-read-pkg-up&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

## Related

- [read-pkg](https://github.com/sindresorhus/read-pkg) - Read a package.json file
- [pkg-up](https://github.com/sindresorhus/pkg-up) - Find the closest package.json file
- [find-up](https://github.com/sindresorhus/find-up) - Find a file by walking up parent directories
- [pkg-conf](https://github.com/sindresorhus/pkg-conf) - Get namespaced config from the closest package.json
npm package: @swordlib/react-responsive
Description: It's a fork from the [grid of antd](https://ant.design/components/grid), but doesn't support rtl. And style language has been changed to scss.
Author: fallenleavesguy
Latest version: 1.0.1

# React Responsive

It's a fork from the [grid of antd](https://ant.design/components/grid), but doesn't support rtl. And style language has been changed to scss.

> It won't be compatible with antd grid in the future.


## Install

```shell
npm i @swordlib/react-responsive
```

## Example

[example demo](https://swordlib.github.io/react-responsive)
npm package: @swotpal/mcp-server
Description: MCP Server for SWOTPal — SWOT analysis tools for AI agents (Claude, Cursor, Windsurf)
Latest version: 0.1.1

# SWOTPal MCP Server

SWOT analysis tools for AI agents. Use in Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.

Generate professional SWOT analyses, competitive comparisons, and browse 100+ pre-built examples — all from your AI assistant.

## Quick Start

### 1. Get your API Key

Sign up at [swotpal.com](https://swotpal.com) and generate an API key from your dashboard.

### 2. Configure your MCP client

**Claude Desktop** — Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "swotpal": {
      "command": "npx",
      "args": ["-y", "@swotpal/mcp-server"],
      "env": {
        "SWOTPAL_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}
```

**Cursor** — Add to your MCP settings (Settings > MCP Servers):

```json
{
  "swotpal": {
    "command": "npx",
    "args": ["-y", "@swotpal/mcp-server"],
    "env": {
      "SWOTPAL_API_KEY": "sk_live_your_key_here"
    }
  }
}
```

**Windsurf** — Same JSON format in your MCP configuration.

### 3. Use it

Ask your AI agent:

- "Generate a SWOT analysis for Tesla"
- "Compare Netflix vs Disney+"
- "Show me my saved analyses"
- "Browse SWOT examples in healthcare"

## Tools

| Tool | Description |
|------|-------------|
| `generate_swot` | SWOT analysis for any company, brand, product, or topic |
| `generate_versus` | Side-by-side competitive comparison of two companies |
| `list_analyses` | List your saved analyses with pagination |
| `get_analysis` | Get full details of a saved analysis by ID |
| `browse_examples` | Browse 100+ pre-built industry SWOT examples |

## Supported Languages

English, Japanese, Traditional Chinese, Simplified Chinese, Korean, Vietnamese, Portuguese, German, Spanish, French, Italian, Russian

## Example Output

```
## SWOT Analysis: Tesla 2026

### Strengths
- Global EV market leader with 20%+ market share
- Vertically integrated manufacturing and battery production
- Supercharger network as competitive moat
...

### Weaknesses
- Quality control issues persist across models
- CEO distraction risk with multiple ventures
...

View & edit: https://swotpal.com/editor/abc123
Remaining usage: 47
```

## Links

- [SWOTPal](https://swotpal.com) — AI-powered SWOT analysis platform
- [Examples](https://swotpal.com/examples) — 100+ company SWOT examples
- [Blog](https://swotpal.com/blog) — Strategic analysis articles
- [API Docs](https://swotpal.com/api) — REST API documentation

## License

MIT
npm package: @swows/event-emitter
Description: EventEmitter is an implementation of the Event-based architecture in JavaScript.
Author: zhuqijia
Latest version: 1.0.0

# `@swows/event-emitter`

> 通用JS事件派发器

## Usage
引入该模块，会自动为Class引入3个事件扩展方法：
**addEventListener**、**removeEventListener** 和 **dispatchEvent**

以及三个扩展方法对应的别名：**on**、**off** 和 **emit**

```js
import Event from '@swows/event-emitter';

class MyClass extends Events {
    constructor() {
        super();
    }
}

const eventsTest = new MyClass();

eventsTest.addEventListener('test1', () => {
    // do something...
});

// alias to addEventListener
eventsTest.on('test2', () => {
    // do something...
});

eventsTest.removeEventListener('test1', () => {
    // do something...
});

// alias to removeEventListener
eventsTest.off('test2', () => {
    // do something...
});

eventsTest.dispatchEvent('test1');

eventsTest.dispatchEvent('test1', {
    // payload info
});

// alias to dispatchEvent
eventsTest.emit('test1');

```