open-index/open-npm huggingface dataset:
npm package: @noryen/sdk
Description: Open-source TypeScript SDK for Noryen AI trace tracking.
Latest version: 1.0.2

# @noryen/sdk

TypeScript SDK for sending AI traces to Noryen so you can debug model behavior,
latency and cost in production.

## Install

```bash
npm install @noryen/sdk
```

## Quickstart

```ts
import { noryen } from "@noryen/sdk";

noryen.init({
  apiKey: process.env.NORYEN_API_KEY!,
  // optional: endpoint override
  // endpoint: "https://your-api.example.com/v1/track",
});

noryen.track({
  model: "gpt-4o-mini",
  provider: "openai",
  prompt: "Summarize this text in 3 bullets.",
  response: "1) ... 2) ... 3) ...",
  latency: 820,
  cost: 0.0012,
  metadata: { env: "prod", feature: "summary" },
});
```

## Endpoint Resolution

`@noryen/sdk` uses this priority order:

1. `init({ endpoint })`
2. Environment variables:
   - `NORYEN_API_URL`
   - `NORYEN_TRACK_ENDPOINT`
   - `NEXT_PUBLIC_NORYEN_API_URL`
3. Hosted default

This keeps zero-config onboarding while still allowing self-hosting/override.

## Provider Wrappers

`@noryen/sdk` includes wrappers to auto-track OpenAI, Anthropic, and Gemini calls.

```ts
import OpenAI from "openai";
import { noryen } from "@noryen/sdk";

noryen.init({ apiKey: process.env.NORYEN_API_KEY! });

const openai = noryen.wrapOpenAI(new OpenAI({ apiKey: process.env.OPENAI_API_KEY }));

await openai.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [{ role: "user", content: "Write a haiku about testing." }],
});
```

## Local Development

```bash
npm ci
npm run check
npm run type-check
npm run build
```

## Open Source Contribution Flow

1. Fork the repo
2. Create a branch from `main`
3. Make focused changes
4. Run:
   - `npm run check`
   - `npm run type-check`
   - `npm run build`
5. Open PR with context and verification notes

See `CONTRIBUTING.md` for full guidelines.

## License

MIT, see `LICENSE`.
npm package: @norz/teleadclient
Description: Ultra-minimalist admin panel for CoupMain adbots management
Author: ToNorz
Latest version: 2.0.2

# @norz/teleadclient

Ultra-minimalist admin panel for CoupMain adbots management.

## Quick Start (Development)

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

Opens at `http://localhost:5173/admin/`

## Production Build

```bash
npm run build        # Standalone SPA → dist/
npm run build:lib    # Library bundle → dist/admin-client.js
```

## Use as npm Package

```jsx
import AdminPanel from '@norz/teleadclient'
import '@norz/teleadclient/dist/admin-client.css'

function App() {
  return <AdminPanel basename="/admin" apiBaseUrl="/api/admin" />
}
```

## Configuration

```js
// Before loading, or via configureApi():
import { configureApi } from '@norz/teleadclient'
configureApi({ apiBaseUrl: '/custom-api', loginPath: '/custom-login' })
```

## Features

| Feature | Superadmin | Admin |
|---------|-----------|-------|
| Dashboard | Full stats + admin actions | Own bot stats |
| Mass Report (MTProto) | ✅ | ❌ |
| Admin Users CRUD | ✅ | ❌ |
| All Bots Config | ✅ | Uses "My Bots" |
| Accounts / Groups | ✅ | ✅ |
| Proxies (CRUD + URL sync) | ✅ | ✅ |
| Backups (PG export/import) | ✅ | ✅ |
| Broadcast / Premium | ✅ | ✅ |
| Logs / Settings | ✅ | ✅ |

## API Endpoints Required

```
POST /api/admin/login
GET  /api/admin/verify
GET  /api/admin/stats
GET  /api/admin/me
GET  /api/admin/adbots
POST /api/admin/adbots
GET  /api/admin/adbots/:id
DELETE /api/admin/adbots/:id
GET  /api/admin/adbots/:id/settings
POST /api/admin/adbots/:id/settings
GET  /api/admin/accounts
POST /api/admin/accounts/:id/disconnect
DELETE /api/admin/accounts/:id
GET  /api/admin/groups
POST /api/admin/groups/:id/toggle
GET  /api/admin/premium
POST /api/admin/premium/grant
POST /api/admin/premium/:userId/update
GET  /api/admin/proxies
POST /api/admin/proxies
PUT  /api/admin/proxies/:id
DELETE /api/admin/proxies/:id
GET  /api/admin/proxies/sync/config
POST /api/admin/proxies/sync
GET  /api/admin/backups
POST /api/admin/backups
POST /api/admin/backups/:id/restore
DELETE /api/admin/backups/:id
GET  /api/admin/backup-configs
POST /api/admin/reports/tg-user      (superadmin)
GET  /api/admin/mass-reports         (superadmin)
GET  /api/admin/reports
GET  /api/admin/reports/reasons
POST /api/admin/reports
POST /api/admin/reports/:id/cancel
GET  /api/admin/broadcast/active
POST /api/admin/broadcast/start
POST /api/admin/broadcast/stop
GET  /api/admin/broadcast-stats/all
GET  /api/admin/logs
GET  /api/admin/users                (superadmin)
POST /api/admin/users                (superadmin)
DELETE /api/admin/users/:id          (superadmin)
GET  /api/admin/adbot-keys
```

## AdBot Integration

Add to bot `.env`:

```
ADMIN_SERVER_URL=http://your-admin-server:3001
ADMIN_SERVER_API_KEY=your-api-key
```

## Publishing

```bash
npm login
npm publish --access public
```

## License

MIT
npm package: @norzqq/zooming
Description: Image zoom that makes sense.
Author: Dmitry Kornilov
Latest version: 2.1.4

# Zooming [![npm](https://img.shields.io/npm/v/zooming.svg?style=flat-square)](https://www.npmjs.com/package/zooming) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/zooming.svg?style=flat-square)](https://bundlephobia.com/result?p=zooming)

Image zoom that makes sense.

- Pure JavaScript & built with mobile in mind.
- Smooth animations with intuitive gestures.
- Zoom into a hi-res image if supplied.
- Easy to integrate & customizable.

## Get Started

Try [Demo](https://kingdido999.github.io/zooming/) or play with [codepen](https://codepen.io/kingdido999/pen/rpYrKV).

Please see [Documentation](https://kingdido999.github.io/zooming/docs) for detailed guide.

## Showcase

These projects are using Zooming. Pull requests are welcome!

- [beta](https://github.com/sunya9/beta): pnut.io web client.
- [bluedoc](https://github.com/thebluedoc/bluedoc): an open-source document management tool for enterprise self host.
- [Chalk](https://github.com/nielsenramon/chalk): a high quality, completely customizable, performant and 100% free Jekyll blog theme.
- [Drupal Zooming](https://www.drupal.org/project/zooming): integrate Zooming to Drupal.
- [imagediff](https://github.com/Showmax/imagediff): tool for automated UI testing and catching visual regressions.
- [OctoberCMS Zooming Images plugin](https://github.com/alex-lit/OctoberCMS-Zooming-Images-Plugin): open source plugin for October CMS.
- [vuepress-plugin-zooming](https://github.com/vuepress/vuepress-plugin-zooming): make images zoomable in VuePress. 

## Caveats / Limitations

- Avoid working with fixed position images [#34](https://github.com/kingdido999/zooming/issues/34).
- Image won't be visible after zoom-in if any parent element has style `overflow: hidden` [#22](https://github.com/kingdido999/zooming/issues/22).

## Contributing

Fork it. Under project folder:

```bash
yarn
yarn start
```

Open up `index.html` in browser.

Make your changes and submit a pull request!

## Test

`yarn test`

## Credit

Inspired by [zoom.js](https://github.com/fat/zoom.js) and [zoomerang](https://github.com/yyx990803/zoomerang). First demo image from [Journey](http://thatgamecompany.com/games/journey/). Second demo image [journey](http://www.pixiv.net/member_illust.php?mode=medium&illust_id=36017129) by [飴村](http://www.pixiv.net/member.php?id=47488).
npm package: @nos-futurs/eslint-config
Description: Custom ESlint/Prettier config
Author: Nos Futurs
Latest version: 1.4.2

# ESlint Configuration

This ESlint configuration should always be installed with its peer dependencies.

Prettier is used as a ESlint plugin to avoid the need to create a `.prettierrc` file in each project.

## Install

```sh
pnpm i -D @nos-futurs/eslint-config
```

Don't forget to have a `.npmrc` file in your project, with the following content:

```sh
auto-install-peers=true
```

## Usage

### JS

Create a `.eslintrc.js` file in your project with the following content:

```js
module.exports = {
  "extends": "@nos-futurs/eslint-config",
}
```

### TS

Create a `.eslintrc.js` file in your project with the following content:

```js
module.exports = {
  "extends": "@nos-futurs/eslint-config/ts",
  parser: '@typescript-eslint/parser',
  parserOptions: {
    project: 'tsconfig.json',
    sourceType: 'module',
  },
}
```
npm package: @nosaid/eslint-config-for-typescript
Description: Easy to lint for typescript
Author: shalldie
Latest version: 0.0.7

# @nosaid/eslint-config-for-typescript

Easy to lint, for typescript

## Installation

    npm install @nosaid/eslint-config-for-typescript --save-dev

## Usage

    & vim .eslintrc.js

```js
module.exports = {
    extends: '@nosaid/eslint-config-for-typescript',
    rules: {
        ...
    }
};

```

    & vim .prettierrc

```json
{
    "singleQuote": true,
    "trailingComma": "none",
    "tabWidth": 4,
    "endOfLine": "auto",
    "printWidth": 120,
    "bracketSpacing": true,
    "arrowParens": "avoid"
}
```

    & vim package.json

```json
{
    "scripts": {
        ...,
        "lint": "eslint --ext .js,.ts,.vue .",
        "fix": "eslint --fix --ext .js,.ts,.vue .",
        "format": "prettier --write \"**/*.@(ts|js|vue)\" --ignore-path .gitignore"
    }
}
```
npm package: @nosaid/init
Description: Init some config or project.
Author: shalldie
Latest version: 0.0.9

# @nosaid/init

用于快速初始化项目结构，包含常规 typescript 项目，或者 webpack 项目。

内置了 eslint，prettier。

## Usage

```shell
$ npm init
$ npx @nosaid/init
```
npm package: @nosaid/jest
Description: bundle jest and typescript config.
Author: shalldie
Latest version: 0.0.4

# @nosaid/jest

集成了 `typescript` 的单元测试相关包。

## Installation

    npm install @nosaid/jest --save-dev

## Usage

```shell
& vim jest.config.js
```

```js
// eslint-disable-next-line
module.exports = {
    moduleNameMapper: {
        '^@/(.*)$': '<rootDir>/$1',
        '^vue$': 'vue/dist/vue.common.js',
        '^~/(.*)$': '<rootDir>/client/$1'
    },
    moduleFileExtensions: ['ts', 'js', 'vue', 'json'],
    transform: {
        '^.+\\.js$': 'babel-jest',
        '.*\\.(vue)$': 'vue-jest',
        '^.+\\.tsx?$': 'ts-jest'
    },
    collectCoverage: true,
    collectCoverageFrom: ['<rootDir>/client/components/**/*.vue', '<rootDir>/client/pages/**/*.vue']
};
```

```shell
& vim package.json
```

```json
{
    "scripts": {
        ...,
        "test": "jest"
    }
}
```
npm package: @nosaid/rollup
Description: bundle for rollup
Author: shalldie
Latest version: 0.0.18

# @nosaid/rollup

集成了 `rollup` 打包依赖和相关配置。

## Installation

```shell
$ npm install @nosaid/rollup --save-dev

# 如果需要打包 typescript，需要额外安装
$ npm install typescript --save-dev
```

## Usage

```shell
& vim rollup.config.js
```

```js
import { rollupGenerator } from '@nosaid/rollup';

export default rollupGenerator([
    {
        input: 'src/main.js',        // 入口文件，支持 `js|ts` 文件
        output: {
            name: 'LibUMD',          // library 名称
            file: 'dist/lib-umd.js', // 产出文件名
            format: 'umd'            // umd 格式
        },
        plugins: [],                 // 自定义插件
        serve: '',                   // 可选，开发服务器配置： https://www.npmjs.com/package/rollup-plugin-serve
        typescript: {},              // 可选，额外的 typescript 配置： https://www.npmjs.com/package/rollup-plugin-typescript2
        polyfill: false,             // 可选，是否需要 polyfill，默认 false
        uglify: false,               // 可选，是否需要压缩，默认 false
        postcssExtract: false        // 可选，`boolean|string`，css 是否需要 extract，默认 false
    },
    ...
]);
```

```shell
& vim package.json
```

```json
{
    "scripts": {
        ...,
        "dev": "rollup -cw",
        "build": "rollup -c"
    }
}
```

```shell
# 如果有css，且需要使用 autoprefixer 转化
# 默认支持 `scss`、`postcss`，如果需要其它包可以直接安装，比如 `npm i less --save-dev`
$ vim .browserslistrc
```

```shell
last 2 version
> 1%
IE 10
```