open-index/open-npm huggingface dataset:
npm package: @relative-ci/agent
Description: Send bundle stats and CI build information to RelativeCI
Author: Viorel Cojocaru
Latest version: 4.3.1

<a href="https://relative-ci.com">
  <img alt="RelativeCI" src="https://raw.githubusercontent.com/relative-ci/agent/master/assets/relative-ci--logo.png" width="96" />
</a>

# RelativeCI agent

[![npm](https://img.shields.io/npm/v/@relative-ci/agent.svg)](https://www.npmjs.com/package/@relative-ci/agent)
[![node version](https://img.shields.io/node/v/@relative-ci/agent.svg)](https://www.npmjs.com/package/@relative-ci/agent)
[![ci](https://github.com/relative-ci/agent/actions/workflows/ci.yml/badge.svg)](https://github.com/relative-ci/agent/actions/workflows/ci.yml)
[![CodeQL](https://github.com/relative-ci/agent/actions/workflows/codeql.yml/badge.svg)](https://github.com/relative-ci/agent/actions/workflows/codeql.yml)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@relative-ci/agent)](https://socket.dev/npm/package/@relative-ci/agent)

> Send bundle stats and CI build information to [RelativeCI](https://relative-ci.com?utm_source=github-agent).

To get started, follow [RelativeCI Setup guide](https://relative-ci.com/documentation/setup?utm_source=github-agent).

## Other agents

- [GitHub action](https://github.com/relative-ci/agent-action)
- [CircleCI orbit (soon)](https://github.com/relative-ci/roadmap/issues/46)
npm package: @relative-ci/webpack-bundle-stats
Description: Generate bundle report from the webpack stats data.
Author: Viorel Cojocaru
Latest version: 1.0.0-beta.11
Deprecated: Renamed to https://www.npmjs.com/package/bundle-stats

# Webpack Bundle Stats

[![webpack-bundle-stats version](https://img.shields.io/npm/v/@relative-ci/webpack-bundle-stats.svg)](https://www.npmjs.com/package/@relative-ci/webpack-bundle-stats)
[![TravisCI badge](https://api.travis-ci.org/relative-ci/webpack-bundle-stats.svg?branch=master)](https://travis-ci.org/relative-ci/webpack-bundle-stats)
[![Greenkeeper badge](https://badges.greenkeeper.io/relative-ci/webpack-bundle-stats.svg)](https://greenkeeper.io/)

Generate bundle report from the webpack stats data.

[Demo - one job](https://relative-ci.com/tools/webpack-bundle-stats/demo-single-job.html) | [Demo - multiple jobs](https://relative-ci.com/tools/webpack-bundle-stats/demo-multiple-jobs.html)

![screenshot](https://www.dropbox.com/s/m6tsdn3dca3b295/webpack-bundle-stats-screenshot.v5.jpg?raw=1)

### Install

```shell
npm install -g @relative-ci/webpack-bundle-stats
```

or

```shell
yarn global add @relative-ci/webpack-bundle-stats
```

### Configuration

Configure Webpack stats to output the necessary data:

```js
{
  stats: {
    assets: true,
    entrypoints: true,
    chunks: true,
    modules: true
  }
}
```

[More info](https://relative-ci.com/documentation/setup#1-configure-webpack)

### Usage

```shell
$ webpack-bundle-stats -h
Usage: webpack-bundle-stats OPTIONS [STATS_FILE]...

Options:
  --html         Save HTML report                      [boolean] [default: true]
  --json         Save JSON data                       [boolean] [default: false]
  --demo         Generate demo reports                          [default: false]
  -d, --out-dir  Output directory                            [default: "./dist"]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]
```

```shell
$ webpack-bundle-stats --html --json __fixtures__/webpack-stats-0.json __fixtures__/webpack-stats-1.json
  ✔ Read Webpack stat files
  ✔ Gather data
  ✔ Generate reports
  ✔ Save reports

Reports saved:
- ./dist/report.html
- ./dist/report.json
```
npm package: @relativelimited/envy
Description: Development Environment wrangler for serverless microservices with AWS & Bitbucket pipelines
Author: @relativelimited
Latest version: 0.1.0

@relativelimited/envy
=====================

Development Environment wrangler for serverless microservices with AWS &amp; Bitbucket pipelines

[![Version](https://img.shields.io/npm/v/@relativelimited/envy.svg)](https://npmjs.org/package/@relativelimited/envy)
[![Downloads/week](https://img.shields.io/npm/dw/@relativelimited/envy.svg)](https://npmjs.org/package/@relativelimited/envy)
[![License](https://img.shields.io/npm/l/@relativelimited/envy.svg)](https://github.com/relativelimited/envy/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @relative/envy
$ envy COMMAND
running command...
$ envy (-v|--version|version)
@relative/envy/0.1.0 darwin-x64 node-v8.10.0
$ envy --help [COMMAND]
USAGE
  $ envy COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`envy configure [FILE]`](#envy-configure-file)
* [`envy deploy [FILE]`](#envy-deploy-file)
* [`envy help [COMMAND]`](#envy-help-command)

## `envy configure [FILE]`

configure the required environment variables

```
USAGE
  $ envy configure [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print
```

_See code: [src/commands/configure.ts](https://github.com/relativelimited/envy/blob/v0.1.0/src/commands/configure.ts)_

## `envy deploy [FILE]`

Deploys a development environment from scratch

```
USAGE
  $ envy deploy [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to give the environment
```

_See code: [src/commands/deploy.ts](https://github.com/relativelimited/envy/blob/v0.1.0/src/commands/deploy.ts)_

## `envy help [COMMAND]`

display help for envy

```
USAGE
  $ envy help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_
<!-- commandsstop -->
npm package: @relativistic-ui/gravity-nuxt
Description: Gravity Nuxt module
Latest version: 1.0.4

<!--
Get your module up and running quickly.

Find and replace all on all files (CMD+SHIFT+F):
- Name: My Module
- Package name: my-module
- Description: My new Nuxt module
-->

# My Module

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

My new Nuxt module for doing amazing things.

- [✨ &nbsp;Release Notes](/CHANGELOG.md)
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->

## Features

<!-- Highlight some of the features your module provide here -->
- ⛰ &nbsp;Foo
- 🚠 &nbsp;Bar
- 🌲 &nbsp;Baz

## Quick Setup

Install the module to your Nuxt application with one command:

```bash
npx nuxi module add my-module
```

That's it! You can now use My Module in your Nuxt app ✨


## Contribution

<details>
  <summary>Local development</summary>
  
  ```bash
  # Install dependencies
  npm install
  
  # Generate type stubs
  npm run dev:prepare
  
  # Develop with the playground
  npm run dev
  
  # Build the playground
  npm run dev:build
  
  # Run ESLint
  npm run lint
  
  # Run Vitest
  npm run test
  npm run test:watch
  
  # Release new version
  npm run release
  ```

</details>


<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/my-module

[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npm.chart.dev/my-module

[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/my-module

[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @relativity/mini-modal
Description: A customizable draggable, resizable modal component for React.
Latest version: 0.1.0

# Mini-Modal

_A very customizable modal that gets out of your way_

## Features

- Draggable top bar that keeps the dialog centered when opened.
- Optional overlay that can still allow interaction with the page beneath.
- Show/hide footer with optional close button and optional resize handles.
- Pass any JSX for header, footer, or close buttons.
- Multiple instances can be open simultaneously without collisions.
- Ships with a dedicated CSS file for styling plus `className` hooks for overrides.
- Works in both TypeScript and plain JavaScript projects.

## Getting started

```bash
npm install
npm run dev
```

The dev server exposes an example playground showing multiple modal configurations.

### Troubleshooting installs

If `npm install` fails with a `403 Forbidden` error from the npm registry, your environment likely blocks access to scoped packages (for example `@testing-library/jest-dom`). Try using your organization-approved mirror or configure registry credentials that allow access to the default registry before running the install step.

### Build & test

```bash
npm run build
npm run test
```

## Project structure

- `src/modal/Modal.tsx` – The modal component and public API.
- `src/modal/modal.css` – Default styles (imported automatically by `src/index.ts`).
- `src/App.tsx` – Playground demonstrating multiple modal setups.
- `docs/USER_GUIDE.md` – Usage reference with copy-pastable snippets.

## Using in your app

```tsx
import { Modal } from 'mini-modal';
import 'mini-modal/dist/style.css';

<Modal show={open} onClose={close} footerResizable className="my-theme">
  <p>Inject any React node as children.</p>
</Modal>;
```
npm package: @relaunay/date-picker
Description: A simple date picker
Author: Rémi Launay
Latest version: 1.1.8

# DatePicker Package React

This is the repository for a Date picker package made with react
You can find the storybook of the date picker here for some help with the component: https://date-picker-doc.web.app/

## Prerequisites

- Node JS 16 or later
- npm or yarn

## Installation

Inside the project folder use your packet manager for install dependancies

```bash
npm install
```

## Usage

For development use storybook:
```bash
npm run storybook
```

Build the project for production:
```bash
npm run build
```

Launch the test:
```bash
npm run test
```
npm package: @relax.dev/router
Description: Router for VKUI
Author: happysanta
Latest version: 0.3.16

# Роутер для приложений на VKUI

Гайд
https://vk.com/@-197036977-slozhnaya-navigaciya-na-vkui

пример приложения с роутером
https://github.com/HappySanta/router-example

Описание методов
https://happysanta.github.io/router/

### Install

```bash
npm i @happysanta/router
```

```bash
yarn add @happysanta/router
```

# Локальная разработка

```bash
yarn run fix-for-link
```

Команда удаляет react и react-dom которые конфликтуют с локальными зависимостями, если вы линкуете через `npm link` / `yarn link` либу в другой проект.

Публикация

```bash
yarn run pub
yarn run docs
node pub-docs.js
```
npm package: @relaxa/cli
Description: the worst has gone - magic as a service
Latest version: 0.0.16-alpha.0

# Relaxa CLI

the worst has gone - magic as a service

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/839a91565fb449c5a496f2159a6d621d)](https://www.codacy.com/app/relaxa/rlx-core?utm_source=github.com&utm_medium=referral&utm_content=relaxa/rlx-core&utm_campaign=Badge_Grade) [![Build Status](https://travis-ci.com/relaxa/rlx-core.svg?branch=master)](https://travis-ci.com/relaxa/rlx-core) [![codecov](https://codecov.io/gh/relaxa/rlx-core/branch/master/graph/badge.svg)](https://codecov.io/gh/relaxa/rlx-core) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

---

## @relaxa/cli
npm package: @relaxa/parser
Description: the worst has gone - magic as a service
Latest version: 0.0.16-alpha.0

# Relaxa Parser

the worst has gone - magic as a service

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/839a91565fb449c5a496f2159a6d621d)](https://www.codacy.com/app/relaxa/rlx-core?utm_source=github.com&utm_medium=referral&utm_content=relaxa/rlx-core&utm_campaign=Badge_Grade) [![Build Status](https://travis-ci.com/relaxa/rlx-core.svg?branch=master)](https://travis-ci.com/relaxa/rlx-core) [![codecov](https://codecov.io/gh/relaxa/rlx-core/branch/master/graph/badge.svg)](https://codecov.io/gh/relaxa/rlx-core) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

---

## @relaxa/parser
npm package: @relaxcoder/dayjs-plugin-cnweek
Description: a plugin of dayjs, to get or set the chinese week
Author: relax
Latest version: 1.0.0

# dayjs-plugin-cnweek

A plugin of dayjs, to get or set the chinese week.

一款 `dayjs` 的插件，用于设置或者获取中国式第几周。

## 什么是“中国式第几周”

![](image.png)

在上图中，“中国式第几周”是这样表现的：

1. 2023 年第 1 周为：2023-01-01 ~ 2023-01-01（也就是该周只有 1 天）
2. 2023 年第 2 周为：2023-01-02 ~ 2023-01-08
3. 2023 年第 3 周为：2023-01-09 ~ 2023-01-15
4. ...以此类推

结论：

1. 以 **周一** 为一周的第一天，**周日** 为一周的最后一天
2. **第一周** 可能是不完整的周（不满 7 天），即从当年的 1 月 1 日为开始，当周的周日为结束
3. **中间周** 都是常规周
4. **最后一周** 也可能是不完整的周（不满 7 天），与 “第一周” 同理

如果你有这样的需求，可以使用本插件解决问题。

## 使用方法

```js
import dayjs from 'dayjs'
import cnWeek from '@relaxcoder/dayjs-plugin-cnweek'

// extend
dayjs.extend(cnWeek)

// get week
dayjs('2023-01-01').cnWeek()

// set week
dayjs().cnWeek(1)
```

## API

```ts
/**
 * 获取周数
 * @param {number} week 待设置的周，不传时表示获取第几周
 * @return {object} 返回一个信息对象，结构如下：
 * {
 *     week: number; // 第几周
 *     start: Dayjs; // 本周的起始日
 *     end: Dayjs;   // 本周的结束日
 * }
 */
function cnWeek(): object {}

/**
 * 设置周数
 * @param {number} week 待设置的周
 * @return {Dayjs} 返回一个位于指定周的某天，是一个 Dayjs 对象，具体情况如下：
 * 1. 如果是设置到本年的周，那么“第一周”和“最后一周”不能保证星期对齐（因为这两个周都有可能不满 7 天），其余周会保证星期对齐
 * 2. 如果设置到往年或未来年，那么都不能保证星期对齐，只保证返回的 Dayjs 处于指定周内
 * 3. 星期对齐指的是：一个 Dayjs 设置 cnWeek 后返回的 Dayjs 两者周几保持一致
 */
function cnWeek(week): Dayjs {}
```
npm package: @relaxcoder/vue-component-demo
Description: a template of vue component
Author: relax
Latest version: 0.1.3

# vue-component-demo

A template of vue component

# Install

```bash
npm i @relaxcoder/vue-component-demo
```

# Usage

```js
import ComponentDemo from "@relaxcoder/vue-component-demo";
Vue.use(ComponentDemo);
```

Then, you can use this component directly.
npm package: @relaxed/eslint-config
Description: relaxed's eslint config presets with prettier, it equal to relaxed-ts
Latest version: 2.0.34

# eslint-config-relaxed

## relaxed's eslint config presets with prettier

it equal to relaxed-ts

## Usage

### Install

```bash
pnpm add -D eslint eslint-config-relaxed
```

### Config eslint (.eslintrc | .eslintrc.js | .eslintrc.json)

```json
{
  "extends": "relaxed"
}
```

You don't need .eslintignore normally as it has been provided by the preset.

### add import alias

```json
{
  "settings": {
    "import/resolver": {
      "alias": {
        "map": [
          ["~", "."],
          ["@", "./src"]
        ],
        "extensions": [".js", ".jsx", ".mjs", ".ts", ".tsx", "mts", ".d.ts"]
      }
    }
  }
}
```

### Add scripts for package.json

For example:

```json
{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}
```