open-index/open-npm huggingface dataset:
npm package: @kadweb/kad-core
Description: Kad2.0 前端网站基础库
Author: 罗君
Latest version: 1.6.1

# kad-core

## Project setup

```bash
# 添加引用
yarn add '@kad/kad-core'

# 发布新版
# 先设置回原npm地址 npm config set registry https://registry.npm.taobao.org
npm config set registry http://registry.npmjs.org
# 登录 kadweb
npm login
# 发布
npm publish --access=public
```

## api

- [BaseAPi](#BaseAPi)

## api desc

<h3 id="BaseAPi">BaseAPi</h3>

## config

- [KadConfig](#KadConfig)
- [DeployConfig](#DeployConfig)
- [NodeConfig](#NodeConfig)

## config desc

<h3 id="KadConfig">KadConfig</h3>
<h3 id="DeployConfig">DeployConfig</h3>
<h3 id="NodeConfig">NodeConfig</h3>

## helpers

- [AnalysisHelper](#AnalysisHelper)
- [CookieHelper](#CookieHelper)
- [DateHelper](#DateHelper)
- [NumberHelper](#NumberHelper)
- [StringHelper](#StringHelper)
- [ValidatorHelper](#ValidatorHelper)

## helpers desc

<h3 id="AnalysisHelper">AnalysisHelper</h3>
<h3 id="CookieHelper">CookieHelper</h3>
<h3 id="DateHelper">DateHelper</h3>
<h3 id="NumberHelper">NumberHelper</h3>
<h3 id="StringHelper">StringHelper</h3>
<h3 id="ValidatorHelper">ValidatorHelper</h3>
npm package: @kaehehehe/eslint-config
Description: Preconfigured ESLint Flat Config for React + TypeScript projects with Prettier, import sorting, and unused import cleanup.
Latest version: 1.0.17

# @kaehehehe/eslint-config

Stop wasting time wiring up ESLint and Prettier from scratch.  
Drop in this config and start coding with clean, consistent style — instantly.

An all-in-one ESLint Flat Config for React + TypeScript projects, including Prettier, import sorting, unused import cleanup, and more.

### 🚀 Installation

Run the CLI directly with `npx` in your project directory:

```bash
  npx create-kae-eslint
```

This will automatically set up:

- ESLint config (`eslint.config.mjs`)
- Prettier config (`prettier.json`)
- VSCode settings (`.vscode/settings.json`)
- Install required dependencies


### 🛠️ Manual Installation (Optional)
If you want to install dependencies yourself, run:

```bash
npm install -D \
  @kaehehehe/eslint-config@latest \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  eslint-config-prettier \
  eslint-plugin-import-x \
  eslint-plugin-prettier \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-react-refresh \
  eslint-plugin-unused-imports \
  prettier
```

```bash
yarn add -D \
  @kaehehehe/eslint-config@latest \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  eslint-config-prettier \
  eslint-plugin-import-x \
  eslint-plugin-prettier \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-react-refresh \
  eslint-plugin-unused-imports \
  prettier
```

```bash
pnpm add -D \
  @kaehehehe/eslint-config@latest \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  eslint-config-prettier \
  eslint-plugin-import-x \
  eslint-plugin-prettier \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-react-refresh \
  eslint-plugin-unused-imports \
  prettier
```

Use this in your `eslint.config.mjs`:

```js
import kaeConfig from "@kaehehehe/eslint-config";

const eslintConfig = [...kaeConfig];

export default eslintConfig;
```

Prettier Config (`prettier.json`)

```json
{
  "semi": true,
  "trailingComma": "all",
  "printWidth": 80,
  "useTabs": false,
  "tabWidth": 2,
  "jsxBracketSameLine": false,
  "jsxSingleQuote": false,
  "arrowParens": "always",
  "singleQuote": true
}
```

VSCode Settings (`.vscode/settings.json`)

```json
{
  "eslint.workingDirectories": [{ "mode": "auto" }],
  "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],
  "eslint.useFlatConfig": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.formatOnSave": true
}

```


NPM Scripts (`package.json`)

```json
  "scripts": {
    "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
  },
```

### 📄 License

MIT © Kae(kaehehehe)
npm package: @kaehehehe/stylelint-config
Description: A shared Stylelint config for projects using CSS Modules and Emotion, following a consistent and opinionated CSS property order.
Author: Kae
Latest version: 1.0.0

# @kaehehehe/stylelint-config

A shared and opinionated Stylelint config for modern front-end projects.

This config is optimized for projects using **Emotion** or **CSS Modules**,  
but works in standard `.css` / `.scss` files as well.

### ✨ Features

- ✅ Support for Emotion (`@emotion/react`)
- ✅ Support for CSS Modules
- ✅ Standard rules from `stylelint-config-standard`
- ✅ Prettier-compatible (`stylelint-config-prettier`)
- ✅ Logical CSS property ordering with `stylelint-order`


### 📦 Installation

```bash
npm install --save-dev stylelint @kaehehehe/stylelint-config stylelint-config-standard stylelint-config-prettier stylelint-order @stylelint/postcss-css-in-js postcss-scss
```

or

```bash
yarn add -D stylelint @kaehehehe/stylelint-config stylelint-config-standard stylelint-config-prettier stylelint-order @stylelint/postcss-css-in-js postcss-scss
```
or
```bash
pnpm add -D stylelint @kaehehehe/stylelint-config stylelint-config-standard stylelint-config-prettier stylelint-order @stylelint/postcss-css-in-js postcss-scss
```

### 🚀 Usage

1. Create a .stylelintrc.js file in your project root with the following content:

```js
module.exports = {
  extends: ["@kaehehehe/stylelint-config"],
};
```

Alternatively, add this to your package.json:
```json
{
  "stylelint": {
    "extends": "@kaehehehe/stylelint-config"
  }
}
```

2. Add a lint script to your package.json:
```json
{
  "scripts": {
    "lint:style": "stylelint '**/*.{css,scss,js,jsx,ts,tsx}'"
  }
}

```
npm package: @kaeid/ember-ui
Description: The default blueprint for ember-cli addons.
Author: Kareem Eid
Latest version: 1.0.0-alpha.1

ember-ui
==============================================================================

[Short description of the addon.]


Compatibility
------------------------------------------------------------------------------

* Ember.js v2.18 or above
* Ember CLI v2.13 or above


Installation
------------------------------------------------------------------------------

```
ember install ember-ui
```


Usage
------------------------------------------------------------------------------

[Longer description of how to use the addon in apps.]


Contributing
------------------------------------------------------------------------------

See the [Contributing](CONTRIBUTING.md) guide for details.


License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).
npm package: @kael89/eslint-config-jest
Description: ESLint configuration for projects using jest
Latest version: 0.1.3

# @kael89/eslint-config-jest

_ESLint configuration for projects using `jest`_

This the base [ESLint](https://eslint.org/) configuration I use in personal projects that use `jest`.

## Installation

1. Install the package and its peer dependencies:

```bash
yarn add -D @kael89/eslint-config-jest eslint prettier
```

2. Extend this package in your [ESLint configuration](https://eslint.org/docs/user-guide/configuring):

```json
{
  "eslintConfig": {
    "extends": "@kael89/jest"
  }
}
```
npm package: @kael89/eslint-config-js
Description: ESLint configuration for JavaScript projects
Latest version: 0.1.3

# @kael89/eslint-config-js

_ESLint configuration for JavaScript projects_

This the base [ESLint](https://eslint.org/) configuration I use in personal JavaScript projects:

- ✔ Extends the popular [Airbnb Style Guide](https://github.com/airbnb/javascript)
- ✔ Uses [Prettier](https://prettier.io/) for code formatting
- ✔ Provides additional linting for [React](https://reactjs.org/)

## Installation

1. Install the package and its peer dependencies:

```bash
yarn add -D @kael89/eslint-config-js eslint prettier
```

2. Extend this package in your [ESLint configuration](https://eslint.org/docs/user-guide/configuring):

```json
{
  "eslintConfig": {
    "extends": "@kael89/js"
  }
}
```

## Gotchas

### React >= 17

If you are using the [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) from React 17, extend `react/jsx-runtime` in your eslint config (add "plugin:react/jsx-runtime" to "extends") to disable the relevant rules. See [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) for more information.

### Extraneous dependencies in tests

[import/no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md) will complain if dependencies used in tests are specified as `devDependencies`. This is a false positive, and we can use the following configuration to avoid it:

```jsonc
{
  "rules": {
    "import/no-extraneous-dependencies": [
      "error",
      {
        "devDependencies": ["**/__tests__/**"],
        "packageDir": [".", "../../"] // can skip if project is not a monorepo
      }
    ]
  }
}
```

- `devDependencies`: a pattern that matches our test files
- `packageDir`: a list of paths where `package.json` files will be loaded from (optional)

The exact configuration will depend on your setup.

> **Tip**: If you are using VSCode to open a **monorepo**, you may get better linting results for rules that need to scan the project upwards if you load it as a [multi-root workspace](https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces). You can then use `"packageDir": [".", "../../"]` in your eslint config to load dependencies from both the current workspace and the root `package.json`.