open-index/open-npm huggingface dataset:
npm package: @nnecec/dian-mcp
Description: MCP server for using the DNA API
Author: nnecec
Latest version: 0.2.2

# @nnecec/dian-mcp

## Configuration

```json
{
  "mcpServers": {
    "dian-mcp": {
      "command": "npx",
      "args": ["-y", "@nnecec/dian-mcp"],
      "env": {
        "DNA_TOKEN": "eyJ1cVyIjp7Im5hbWUiOiJzaGl...",
        "APISIX_TOKEN": "eyJhGciOiJIUzI1NiIsInR5cCI..."
      }
    }
  }
}
```
npm package: @nnecec/eslint-config
Description: A useful eslint config friendly with Prettier. Work with JavaScript, TypeScript and React Opional.
Author: nnecec
Latest version: 0.13.0

# @nnecec/eslint-config

## Features

- Work friendly with `Prettier`.
- Extends `third-party-config:recommended` first.
- Default enabled: `unicorn`, `sort-package-json`, sort `import` & `export`, `json`.
- Optional: `TypeScript`, `React`, `jsdoc`.
- ESLint flat config (\>=0.7.0).

## Usage

```shell
$ npm install --save-dev @nnecec/eslint-config
# or
$ pnpm add @nnecec/eslint-config
```

Create `eslint.config.js` at your project:

```js
import nnecec from '@nnecec/eslint-config'

export default nnecec()
// or
export default [
  ...nnecec(),
  {
    // your configs
  }
]
```

### Options

```ts
type Options = {
  prettier: boolean // default: true
  unicorn: boolean // default: true
  'sort-package-json': boolean // default: true
  sort: boolean // default: true
  json: boolean // default: true
  // ------
  jsdoc: boolean // default: false
  typescript: boolean // default: false
  react: boolean // default: false
  node: boolean // default: false
}
```

## Usage(legacy)

Install:

```bash
npm install --save-dev eslint @nnecec/eslint-config
```

Edit `.eslintrc.js`:

```js
module.exports = {
  // Base config, includes Standard, Prettier, ImportSort, unicorn.
  extends: ['@nnecec/eslint-config'],
  // includes **Base** and TypeScript config.
  extends: ['@nnecec/eslint-config/typescript'],
  // includes **TypeScript** config and React config.
  extends: ['@nnecec/eslint-config/react'],
  // includes **React** config.
  extends: ['@nnecec/eslint-config/react-universal'],
}
```