open-index/open-npm huggingface dataset:
npm package: @jych/appfile-parser
Description: Parse appfiles
Author: James Young
Latest version: 0.2.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<h1 align="center">Welcome to appfile-parser 👋</h1>
<p>
  <a href="https://www.npmjs.com/package/@jych/appfile-parser" target=_blank">
    <img alt="npm package" src="https://img.shields.io/npm/v/@jych/appfile-parser">
  </a>
  <a href="./LICENSE" target="_blank">
    <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
  </a>
</p>

> Conveniently install a list of apps in one go.

The `.appfile` format is a `.brewfile`-like list of apps available from a supported package manager.
_appfile-parser_ enables you to install all of the listed apps in a single command.

Mixing apps from different package managers is supported (and even encouraged!), so you can focus on
_what_ you want, not _where_ it comes from.

## Author

👤 **James Young <hello@jamesyoung.ch>**

- Website: https://jamesyoung.ch
- Github: [@jamescallumyoung](https://github.com/jamescallumyoung)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check the
[issues page](https://github.com/jamescallumyoung/appfile-parser/issues). Contributors should follow the
[contributing guide](./CONTRIBUTING.md) and [code of conduct](./CODE_OF_CONDUCT.md).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2020 [James Young <hello@jamesyoung.ch>](https://github.com/jamescallumyoung).<br />
This project is [MIT](./LICENSE) licensed.
npm package: @jych/glee
Description: Bring Joi to Express with Glee!
Author: James Young
Latest version: 0.1.1-1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Glee

Glee is a JavaScript package that provides Express middleware for request and response validation.

The middleware uses Joi - the popular Hapi-ecosystem validation library - for validation and validates request path params, query params, headers, and body, and the response headers and body.

Glee aims to provide a Hapi-like validation experience for the Express ecosystem.

**[Online Documentation](https://jamescallumyoung.github.io/glee/)**<br />
**[GitHub Repo](https://github.com/jamescallumyoung/glee)**<br />
**[NPM Package](https://www.npmjs.com/package/@jych/glee)**

## Installation

Install using yarn:

```bash
yarn add @jych/glee
```

or npm:
```bash
npm install @jych/glee
```

## Example Usage

Using Glee is as simple as creating a Glee instance and then passing a Joi Schema to one of it's "get validator" methods. The result is an Express Middleware.

```typescript
import express, { Request, Response } from 'express'
import { Glee } from '@jych/glee'
import Joi from '@hapi/joi';

const schema = Joi.object();

const glee = new Glee();
const queryValidatorMw = glee.getQueryValidator(schema);

const app = express();

app.get(
	'/',
	queryValidatorMw,
	(req: Request, res: Response) => {
		res.status(200).send('Hello world!');
	}
);
```

## Contributing
Pull requests are welcome. Please report issues on the [issue traker](https://github.com/jamescallumyoung/glee/issues).

## License
Glee uses the [MIT license](https://github.com/jamescallumyoung/glee/blob/master/LICENSE).
npm package: @jych/string-sanitization
Description: String sanitization utils.
Author: James Young
Latest version: 0.0.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @jych/string-sanitization

This module includes various utils for working with Strings.

## Installation

```sh
# with npm
npm i @jych/string-sanitization

# with yarn
yarn add @jych/string-sanitization
```

## Usage

```js
import { sanitizeEmail, sanitizeName } from '@jych/string-sanitization';

const sanitizedEmail = sanitizeEmail('hello@example.com');
// => aGVsbG9AZXhhbXBsZS5jb20=

const sanitizedEmail = sanitizeEmail('hello@example.com', { prefix: 'email' });
// => email:aGVsbG9AZXhhbXBsZS5jb20=

const sanitizedName = sanitizeName('Darth Vader');
// => D**** V****
```
npm package: @jych/swr-fetchers
Description: Pre-made fetcher functions for SWR using fetch.
Author: James Young
Latest version: 0.1.3

<div align="center">
  <h1>swr-fetchers</h1>
  <a aria-label="Package size" href="https://bundlephobia.com/package/@jych/swr-fetchers">
    <img alt="" src="https://img.shields.io/bundlephobia/min/@jych/swr-fetchers?style=flat-square">
  </a>
  <a aria-label="License" href="https://github.com/jamescallumyoung/swr-fetchers/blob/main/LICENSE">
    <img alt="" src="https://img.shields.io/npm/l/@jych/swr-fetchers?style=flat-square">
  </a>
</div>

## Introduction

A tiny bundle of pre-made fetcher functions for [SWR](https://swr.vercel.app), using fetch as the HTTP client.

**Why?**: SWR requires a "fetcher" function to make HTTP calls.
Creating these for every project can be tedious, so this module provides a fetcher for every common HTTP method.

The fetchers are:

- **tiny**, **lightweight**, and **portable**
- Fetch implementation agnostic
- Fully typed, with bundled Typescript types

## Basic Usage

Simply, install alongside any version of SWR, 

```sh
# with npm
npm i swr @jych/swr-fetchers

# or with yarn
yarn add swr @jych/swr-fetchers
```

import the fetcher you need, 

```js
import useSWR from 'swr';
import { getFetcher } from '@jych/swr-fetchers';
```

and provide it to the `useSWR` call.

```jsx
export function Profile() {
  const { data, error } = useSWR('/api/user', getFetcher);

  if (error) return <div>failed to load</div>
  if (!data) return <div>loading...</div>
  return <div>hello {data.name}!</div>
}
```

That's it! You now have a pre-made fetcher for SWR.

Some more advanced use cases are shown below.

## Using the Factory

This module also provides a factory that can be used to create new fetchers.

```js
import { fetcherFactory } from '@jych/swr-fetchers';

const optionsFetcher = fetcherFactory({ method: 'OPTIONS' });

const getFetcherWithAuth = fetcherFactory({
  headers: {
    'Authorization': 'Bearer ...',
  },
});
```

## Typescript

The fetchers return a `Promise<unknown>` when used with TypeScript, as the JSON body in not known.

You should validate the response and then cast it to the correct type:

```tsx
interface UserData {
    name: string;
}

// UserData Type Guard
const isUserData = (u: unknown): u is UserData => { /* ... */ };

export function Profile() {
  const { data, error } = useSWR('/api/user', getFetcher);
  
  if (error) return <div>failed to load</div>
  if (!data) return <div>loading...</div>
  if (!isUserData(data)) return <div>Server responded with an invalid repsponse</div>
    
  return <div>hello {data.name}!</div>
}
```

### In-fetcher validation

It's possible to move the typeguard within the fetcher itself, by appending the typeguard call to the fetcher:

```ts
import { getFetcher } from '@jych/swr-fetchers';

const userDataFetcher = getFetcher.then(data => isUserData(data)
    ? Promise.resolve(data)
    : Promise.reject('Invalid reponse type')
);
```

## Authors

This library was created by James Young. Contributions are welcome.

[Contributors](https://github.com/vercel/swr/graphs/contributors)

## License

The MIT License.
npm package: @jych/tsconfigs
Description: Pre-made tsconfig.json files.
Author: James Young
Latest version: 0.1.1

# @jych/tsconfigs

Pre-made `tsconfig.json` files, to simplify project setup.

## Usage

Install `@jych/tsconfigs` and all dependencies:

```shell
pnpm add --save-dev @jych/tsconfigs @tsconfig/node22 tslib
```

Your `tsconfig.json` file must be configured to extend one provided by this package.
Additionally, some options can only set on the project's root `tsconfig.json` file:

```json
{
  "extends": "@jych/tsconfigs/dist/node22/tsconfig.json",
  "compilerOptions": {
    "rootDir": "./src",
    "baseUrl": "./",
    "outDir": "./dist/esm",
    "declarationDir": "./dist/ts",
    "tsBuildInfoFile": "./dist/.tsbuildinfo"
  }
}
```


## Usage without tslib

This package uses `tsc`'s import helpers by default, requiring `tslib`.
You can install this package without `tslib` as long as you disable import helpers later:

```shell
pnpm add --save-dev @jych/tsconfigs @tsconfig/node22
```

Disable import helpers with `compilerOptions.importHelpers=false`.
npm package: @jycr753/object_get
Description: An easy way to get values from javascript object by string
Author: Jorge Y. C. Rodriguez
Latest version: 1.0.0

# Get object values using path string

Easy eay to get ...

## Installation

## Usage

## License

	Copyright (c) Serendipia 2018:
	
	Permission is hereby granted, free of charge, to any person 
	obtaining a copy of this software and associated documentation 
	files (the "Software"), to deal in the Software without restriction, 
	including without limitation the rights to use, copy, modify, merge,
	publish, distribute, sublicense, and/or sell copies of the Software, 
	and to permit persons to whom the Software is furnished to do so, 
	subject to the following conditions:
	
	The above copyright notice and this permission notice shall be included 
	in all copies or substantial portions of the Software.
	
	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
	OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
	FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
	THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 
	OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 
	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 
	OTHER DEALINGS IN THE SOFTWARE.
npm package: @jyd-team/cra-template
Description: A quick start Create React App template with React Router, Redux, TypeScript and custom ESlint configurations
Author: wangyanglong
Latest version: 0.3.0

# JYD CRA Base Template

## 使用方法

```bash
npx create-react-app PROJECT_NAME --template @jyd-team/cra-template
```

## 说明

- 文件夹 `.gitkeep` 只做 `git` 空目录提交使用，开发中可以删除

## 线上地址

- 用户名：
- 密码：

## 测试环境地址

- 用户名：
- 密码：
npm package: @jyd-team/cra-template-admin
Description: A quick start Create React App template with React Router, Redux, TypeScript and custom ESlint configurations
Author: JYD Team
Latest version: 0.1.0

# Getting Started with JYD Create React App

## 线上地址

- 用户名：
- 密码：

## 测试环境地址

- 用户名：
- 密码：
npm package: @jyeontu/jvuewheel
Description: vue组件库封装
Latest version: 0.9.7

# JYeontu 组件仓库

#### 介绍

日常开发组件/工具库
vue 组件 + js 函数工具

封装一些有趣（实用的小组件），后续会不断迭代优化。

#### 安装教程

##### 本地启动项目

1. git clone https://gitee.com/zheng_yongtao/jyeontu-component-warehouse.git
2. npm install
3. npm run serve

##### 项目引入

###### npm 安装

推荐使用 npm 的方式安装，它能更好地和 webpack 打包工具配合使用。

```shell
npm i @jyeontu/jvuewheel -S
```

###### main.js 引入

引入后便可以在项目中直接使用

```shell
//引入组件库
import jvuewheel from '@jyeontu/jvuewheel'
//引入样式
import '@jyeontu/jvuewheel/lib/jvuewhell.css'
Vue.use(jvuewheel);
```

#### 效果预览

[预览地址(使用文档)](http://120.79.163.94/JYeontuComponents/#/homePage)

#### 相关说明

组件文档：[http://120.79.163.94/JYeontuComponents/#/homePage](http://120.79.163.94/JYeontuComponents/#/homePage)

组件实现说明：[https://juejin.cn/column/7326801745261330482](https://juejin.cn/column/7326801745261330482)

#### 参与贡献

1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request

#### 联系

CSDN：[https://blog.csdn.net/Twinkle_sone](https://blog.csdn.net/Twinkle_sone)

Gitee：[https://gitee.com/zheng_yongtao](https://gitee.com/zheng_yongtao)

GitHub：[https://github.com/yongtaozheng](https://github.com/yongtaozheng)

掘金：[https://juejin.cn/user/440244290727294](https://juejin.cn/user/440244290727294)

公众号：前端也能这么有趣