open-index/open-npm huggingface dataset:
npm package: @smlr/core
Description: Frontend framework
Author: Dusan Jovanov
Latest version: 0.0.3

## @smlr/core

Frontend framework

> Work in progress - not ready for production 🚧

```ts
import { render, cp, htm, signal, computed } from "@smlr/core";

const Counter = cp(() => {
  const count = signal(0);
  const doubleCount = computed(() => count.value * 2);

  return [
    htm("div", { node: ["Count is: ", () => count.value] }),
    htm("div", { node: ["Double count is: ", () => doubleCount.value] }),
    htm("button", {
      onClick: () => {
        count.value++;
      },
      node: "+",
    }),
  ];
});

render(Counter(), container);
```
npm package: @smn-official/schematics
Description: A schematics to Angular applications
Author: Mario Santos
Latest version: 0.1.2

# Welcome to SMN Schematics! 🔥

Esse schematics foi criado para automatizar algumas tarefas e para ajudar a manter o padrão de desenvolvimento da nossa empresa, porém ele é de livre acesso para qualquer um. 

## Getting Started

Primeiro, você precisa instalar o schematics no seu projeto:    
```bash
 npm i --save-dev @smn-official/schematics
```

Pronto, agora podemos explorar os recursos disponíveis:

 - crud

### Crud
Cria uma tela com as quatros operações básicas(create, read, update, delete), para usa-lo você só precisa executar o seguinte comando:
```bash
 ng g @smn-official/schematics:crud nome-da-tela
```
Feito isso, será gerado os seguintes arquivos no seu projeto:

![crud structure](https://i.imgur.com/yqcTWlH.png)

***Note***: Se você tem sub projetos, basta passar o nome dele antes do nome-da-tela.

E você também pode passar alguns argumentos:

| Argumento | Função | Valor default |
|--|--|--|
| -- help | Lista as opções disponíveis | |
| --convertion | Se a tela é uma tela de conversão | false |
| --route | A url que irá aparecer no browser | |

## Contribuindo
Se você deseja participar desse projeto criando novas features, resolvendo alguns bugs, criar alguns também 😝, segue o tutorial de como rodar o projeto no seu PC:

Antes de instalar qualquer coisa vamos clonar o repositório:
```bash
 git clone https://github.com/smn-official/schematics.git
```
Agora vamos instalar o [Schematics Cli](https://www.npmjs.com/package/@angular-devkit/schematics-cli)
```bash
 npm i -g @angular-devkit/schematics-cli
```
E as dependências do projeto:
```bash
 npm i
```

Pronto, agora precisamos observar qualquer mudança nos arquivos, para que seja feito o build automaticamente:
```bash
 npm run build:watch
```
Feito isso só precisamos saber como testar algum schematic.

### Testando localmente
Para saber como criar um schematic você pode olhar a documentação do [Angular](https://angular.io/guide/schematics) e para testar você vai precisar de um projeto Angular e na raiz dele execute o seguinte comando no terminal:
```bash
 schematics ../schematics/src/collection.json:nome-da-feature --debug=false
```
 - **schematics**: lib do schematics
 - **../schematics/src/collection.json:nome-da-feature**: Caminho relativo e nome da feature. Como estou dentro do projeto e o repositório do schematics é irmão dele, voltei uma pasta.
 - ***--debug=false***: Detecta a alteração na arvore de arquivos

Pronto. Agora você pode codar 😁.

## Publicação
Simplesmente rodar os seguintes comandos:
```bash
npm run build
npm publish
```
 É isso.

## Licença
MIT.

**Feito com  ❤️  pelos Devs da  [SMN](http://smn.com.br/)**
npm package: @smn3786/mcp-sse-bridge
Description: A lightweight Node.js bridge that connects a local Stdio-based MCP client to a remote SSE-based MCP server.
Latest version: 1.0.3

# MCP SSE Bridge

A lightweight Node.js bridge that connects a local Stdio-based MCP client (like Claude Desktop or IDEs) to a remote SSE-based MCP server.

## Specs

- **Transport**: Bridges `StdioServerTransport` (local) <-> `SSEClientTransport` (remote).
- **Input**: JSON-RPC messages via Stdio.
- **Output**: JSON-RPC messages via Server-Sent Events (SSE) and HTTP POST.
- **Dependencies**: 
  - `@modelcontextprotocol/sdk`
  - `eventsource` (polyfill for Node.js)

## Build

1. **Install Dependencies**
   ```bash
   npm install
   ```

2. **Build Bundle**
   This project uses `esbuild` to bundle the script and its dependencies into a single file.
   ```bash
   npm run build
   ```
   The output file will be located at `dist/sse-bridge.js`.

## Usage

### Via npx

You can run the bridge directly without installation using `npx`:

```bash
npx -y @smn3786/mcp-sse-bridge <remote-sse-url>
```

### Local Usage

Run the bundled script using Node.js:

```bash
node dist/sse-bridge.js <remote-sse-url>
```

### Configuration Examples

#### 1. Using Local Installation (Recommended)

Install via `npm install @smn3786/mcp-sse-bridge`, then configure:

```json
{
  "mcpServers": {
    "shadcn-mcp-server": {
      "command": "node",
      "args": [
        "/absolute/path/to/node_modules/@smn3786/mcp-sse-bridge/dist/sse-bridge.js",
        "http://<remote-ip>:<port>/sse"
      ]
    }
  }
}
```

#### 2. Using npx

```json
{
  "mcpServers": {
    "shadcn-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smn3786/mcp-sse-bridge",
        "http://<remote-ip>:<port>/sse"
      ]
    }
  }
}
```
npm package: @smnielsen/cover-my-ass
Description: Check for allowed open-source licenses
Author: Simon Nielsen
Latest version: 0.0.4

# cover-my-ass

Check that your packages only includes allowed licenses

## Usage

This package installs itself in the binary folder as cover-my-ass.

To use this you can add it to your package.json scripts as

```json
scripts: {
  ...
  "compliance": "cover-my-ass",
  ...
}
```
npm package: @smnielsen/prettier-config
Description: Prettier config for smnielsen products
Author: Simon Nielsen
Latest version: 0.2.0

# @smnielsen/prettier-config

This is the shared [Prettier](https://www.prettier.io) config for all things @smnielsen related.

## Installation

```bash
yarn add -D prettier @smnielsen/prettier-config
```

```bash
npm install --save-dev prettier @smnielsen/prettier-config
```

## Usage

To use this config as base in any of your projects, create a `.prettierrc.js` file in your project folder and add the following content:

```js
module.exports = require('@smnielsen/prettier-config')
```

**Important:** filename must be `.prettierrc.js` or `prettier.config.js` or otherwise Prettier will try to parse it as JSON or YML and will fail.

### Internet Explorer 11 Support?

If you need to support IE11 you will need the `legacy` config.

```js
module.exports = require('@smnielsen/prettier-config/legacy')
```

### Override Rules

You can override (or add) rules by extending the prettier-configuration like below.

```js
module.exports = {
  ...require('@smnielsen/prettier-config'),
  // add your overrides here
}
```

Read the Prettier docs on [sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations) for more info.
npm package: @smnirl/act-logparser
Description: High performance JS parsing library for Advanced Combat Tracker logs.
Author: Kastor
Latest version: 1.0.3

# ACT Logparser [![NodeJS Tests](https://github.com/SMNIRL/ACT-Logparser/actions/workflows/node.js.yml/badge.svg)](https://github.com/SMNIRL/ACT-Logparser/actions/workflows/node.js.yml) ![Latest Version](https://img.shields.io/github/package-json/v/SMNIRL/ACT-Logparser)
ACT Logparser is a Javascript library for parsing MMO network logs from [Advanced Combat Tracker](https://advancedcombattracker.com/).

It currently supports Final Fantasy 14 (FFXIV), with additional support for log types recorded by [OverlayPlugin](https://github.com/OverlayPlugin).
# Installation

You can clone the repo, or install via NPM/Yarn/etc with `npm i @smnirl/act-logparser`

# Usage

## One-off parsing

The `parseLogLine()` method will parse a single ACT Network Log line given as a string and return the result, along
with the line it appeared on within the stream synchronously.

e.g.
`23|2024-12-03T21:16:19.5320000-05:00|66642069|Producer Yoshida|66642069|Please Lookforward Toit|Cancelled|1234abcdefg`
will return as
```json
{
  "line": 273,
  "log":  {
      "id": "66642069",
      "name": "Please Lookforward Toit",
      "reason": "Cancelled",
      "source": "Producer Yoshida",
      "sourceId": "66642069",
      "timestamp": "2024-12-03T21:16:19.5320000-05:00",
      "type": "23"
    }
}
```

(The type definitions and log structure data used by this library are also exported as lookup table objects as 
`logTypes`, `logTypeIds` and `logTypeStructs` for your reference.)

## Parsing large files or real-time

The `processLogStream()` method accepts a ReadStream object and callback function, and will continue to
parse the given stream until it ends. This functionality calls the synchronous `parseLogLine()` method and returns its
result to your callback.

# Error Handling
The `parseLogLine()` function does not throw on errors or halt, instead, an `error` string is returned in the 
encapsulating object, along with an empty `log` object and the `line` of the stream at which the error occurred.

# Performance
As ACT network logs are entirely pipe-delimited, I used tokenization for this library instead of regex, as I saw other projects
doing. This approach provides a 40-70% speed up in processing time with lower(!) memory usage compared to parsing similarly
using regular expressions.

# Contributing
If you wish to make an improvement, fix bugs, etc. please feel free to open a Pull Request.

I will accept additions for other games that ACT supports if someone would like to add them, but you *must* include tests
for all log types added. I will reject PRs that add functionality without tests, and PRs that don't pass tests.
npm package: @smoca/trello-action-runner
Description: ## Description
Author: Trello Bot
Latest version: 0.1.4

# Trello Action Runner

## Description

This tool can automatically perform actions on Trello objects. Possible use-cases updating Trello
boards as part of a build pipeline (e.g. after releasing a new version).

## Configuration

In its current state, the archiver can only be configured through environment variables.

The three credential variables must always be set:

- **TRELLO\_API\_KEY**: API key from Trello (see [here](https://trello.com/app-key)).
- **TRELLO\_TOKEN**: OAuth token from Trello (see [here](https://trello.com/app-key)).
- **TRELLO\_MEMBER**: Unique member-ID from Trello (the text preceeded by an @-sign on the user profile page).

## Run

After setting all the environment variables mentioned above, the script can be run like follows:

using npm

`npm install && npm start <action_name>`

or using yarn

`yarn install && yarn start <action_name>`

### Available Actions

#### archiveListAndCreateNewOne

Renames a list on a specific board and create a new empty list. E.g. List "Done" will be renamed to
"Done (v1.2)" and a new list "Done" is created.

Job config:

- **TRELLO\_BOARD\_NAME**: The name of the board on which the list is to be archived.
- **TRELLO\_LIST\_NAME**: The name of the list to rename.
- **TRELLO\_ARCHIVED\_LIST\_NAME**: The name to which the list will be renamed.

## Changelog

### 0.1.4

- Trello Action Runner is now linked to the node_modules/.bin folder and can be executed directly
  from a package.json script.
npm package: @smocai/smoc-widget
Description: Add a Smoc Bot to your web page
Latest version: 0.0.2

[![Build](https://github.com/SMOC-AI/smoc-widget/actions/workflows/build.yaml/badge.svg)](https://github.com/SMOC-AI/smoc-widget/actions/workflows/build.yaml)

# Smoc Widget

Smoc Widget is a JavaScript library for embedding the Smoc bot on a web page:

![button](./docs/button.jpeg)

Clicking the button will open the bot:

![iframe](./docs/iframe.jpeg)

## Installation

Paste the `<script>` tag below into the pages where you want to enable the Smoc bot. 
We recommend you add this right before the closing `</head>` tag.

```html
<!-- Smoc Bot -->
<script>
    (function(d, w) {
        w.SmocConfig = {
            // Change this to your Smoc bot
            url: 'https://go.smoc.ai/smocdemo/operator_390_channel_rx0k2rv0/operator_390_channel_rx0k2rv0_bot/new?refresh=true&iframe_mode=true',
            color: '#9f51bc',
            shape: 'round', // or 'square'
            position: 'bottom-right' // or 'bottom-left'
        }
        var s = d.createElement('script');
        s.async = true;
        s.src = 'https://unpkg.com/@smocai/smoc-widget@latest';
        if (d.head) d.head.appendChild(s);
    })(document, window);
</script>
```

You'll find your `SmocConversationTemplateId` inside [Smoc Console](https://console.smoc.ai/).

## Configuration

You can customize various visual attributes of the widget:

* Color
* Shape (round or square)
* Position (bottom right, top right etc)
npm package: @smock/umi-plugin-smock
Description: 模拟接口数据
Author: 王世豪
Latest version: 0.1.42

umi smock工具插件
---

## umi-plugin-smock

安装方法:
```bash
npm i @smock/umi-plugin-smock
# 或
yarn add @smock/umi-plugin-smock
```

指定NO_SMOCK环境变量可禁用mock
例如:
```bash
export NO_SMOCK=true
```

smock工具参考文档：
[https://www.npmjs.com/package/@smock/mock](https://www.npmjs.com/package/@smock/mock)
npm package: @smock/umi-plugin-sproxy
Description: 拦截/代理真实接口，便于开发调试
Author: 王世豪
Latest version: 0.1.33

umi sproxy工具插件
---

## umi-plugin-sproxy

安装方法:
```bash
npm i @smock/umi-plugin-sproxy
# 或
yarn add @smock/umi-plugin-sproxy
```

指定NO_SPROXY或NO_INTERCEPTOR环境变量可禁用拦截工具
例如:
```bash
export NO_SPROXY=true
# 或
export NO_INTERCEPTOR=true
```

拦截工具参考文档：
[https://www.npmjs.com/package/@smock/interceptor](https://www.npmjs.com/package/@smock/interceptor)
npm package: @smock/vue-cli-plugin-smock
Description: Vue cli plugin of @smock/mock
Author: 王世豪
Latest version: 0.1.34

## Usage

### Installation:

```bash
npm i @smock/vue-cli-plugin-smock
```

### 使用方式

> 注意：本插件只有在process.env.NODE_ENV等于development或不定义时生效。

该服务会在运行`npm run serve` 或 `yarn serve`时自动运行。
运行地址与`vue`开发服务地址一致。
例如：开发服务运行在`http://localhost:8080`,则`mock`接口也运行在此端口。
打开此地址的`/__doc__`路径即可查看文档，例如:`http://localhost:8080/__doc__`。

如何禁用？

启动serve时指定环境变量`NO_SMOCK=true`即可。
例如：
```json
{
  // ...
  "scripts": {
    "serve": "cross-env NO_SMOCK=true vue-cli-service serve"
  }
  // ...
}

```

### 也可以作为vue-cli-service子命令启动

> 注意：使用命令启动时请指定NO_SMOCK环境变量为true。目的是禁止自动启动的服务。

```json
{
  // ...
  "scripts": {
    "smock": "vue-cli-service smock --port 6000"
  }
  // ...
}

```

Then you can run command to start the interceptor service.

```
npm run smock
```

Configuration Documents:

[See here:(https://www.npmjs.com/package/@smock/interceptor)](https://www.npmjs.com/package/@smock/interceptor)
npm package: @smock/vue-cli-plugin-sproxy
Description: vue cli plugin of @smock/interceptor
Author: 王世豪
Latest version: 0.1.28

## Usage

### Installation:

```bash
npm i @smock/vue-cli-plugin-sproxy
```

### 使用方式

> 该服务会在任何vue子命令启动时启动。(只有在process.env.NODE_ENV为development时或未定义时生效。)

例如：
该服务会在运行`npm run serve` 或 `yarn serve`时自动运行。
该服务会运行在配置文件制定的端口。
详细信息可以查看控制台输出。

如何禁用？

启动serve时指定环境变量`NO_INTERCEPTOR=true`即可。

### 也可以作为vue-cli-service子命令启动

> 注意：使用命令启动时请指定NO_INTERCEPTOR环境变量为true。目的是禁止自动启动的服务。

```json
{
  // ...
  "scripts": {
    "sproxy": "vue-cli-service sproxy --port 5000"
  }
  // ...
}

```

Then you can run command to start the interceptor service.

```
npm run sproxy
```

Configuration Documents:

[See here:(https://www.npmjs.com/package/@smock/interceptor)](https://www.npmjs.com/package/@smock/interceptor)
npm package: @smockle/contrast
Description: Analyse luminosity contrast ratio
Author: Clay Miller
Latest version: 10.0.1

# contrast

[![npm](https://img.shields.io/npm/v/@smockle/contrast.svg)](https://www.npmjs.com/package/@smockle/contrast)
[![codecov](https://codecov.io/gh/smockle/contrast/branch/main/graph/badge.svg)](https://codecov.io/gh/smockle/contrast)

Analyse luminosity contrast ratio

## Installation

Run `npm install @smockle/contrast` to add `contrast` to your project.

## Usage

### Shell

```sh
# Hexadecimal colors
$ contrast "#000000" "#FFFFFF"

# Shorthand hexadecimal colors
$ contrast "#000" "#FC0"
  # equivalent to `$ contrast "#000000" "#FFCC00"`
$ contrast "#000" "#F8"
  # equivalent to `$ contrast "#000000" "#F8F8F8"`

# Named colors
$ contrast black white
```

### JavaScript & TypeScript

```TypeScript
import { Contrast } from "@smockle/contrast";

// Hexadecimal colors
new Contrast("#000000", "#FFFFFF");
  // => {
  //      foreground: {
  //        value: "000000",
  //        R: { value: "00" },
  //        G: { value: "00" },
  //        B: { value: "00" },
  //      },
  //      background: {
  //        value: "FFFFFF",
  //        R: { value: "FF" },
  //        G: { value: "FF" },
  //        B: { value: "FF" },
  //      },
  //      value: 21,
  //    }

// Shorthand hexadecimal colors
new Contrast("#000", "#FC0");
  // equivalent to `new Contrast("#000000", "#FFCC00")`
new Contrast("#000", "#F8");
  // equivalent to `new Contrast("#000000", "#F8F8F8")`

// Named colors
new Contrast("black", "white");
```

## Testing

`contrast` includes several unit tests. After cloning the `contrast` repo locally, run `npm install` in the project folder to install dependencies. Run `npm test` to execute the tests.

## References

- http://juicystudio.com/article/luminositycontrastratioalgorithm.php
- https://www.w3.org/TR/WCAG20/#contrast-ratiodef
- https://www.w3.org/TR/WCAG20/#relativeluminancedef
- https://www.w3.org/Graphics/Color/sRGB.html
- https://stackoverflow.com/a/12894053/1923134
npm package: @smockle/homebridge-lutron-caseta
Description: Homebridge plugin for integration with the Lutron Caseta Smart Bridge Pro
Author: James Coleman
Latest version: 1.0.11
Deprecated: INFO: '@smockle/homebridge-lutron-caseta' has been renamed to 'homebridge-lutron-caseta-smockle'. Install using 'homebridge-lutron-caseta-smockle' instead.

# Homebridge Lutron Caséta

[![Build Status](https://travis-ci.com/smockle/homebridge-lutron-caseta.svg?branch=master)](https://travis-ci.com/smockle/homebridge-lutron-caseta)
[![codecov](https://codecov.io/gh/smockle/homebridge-lutron-caseta/branch/master/graph/badge.svg)](https://codecov.io/gh/smockle/homebridge-lutron-caseta)
[![Known Vulnerabilities](https://snyk.io/test/github/smockle/homebridge-lutron-caseta/badge.svg?targetFile=package.json)](https://snyk.io/test/github/smockle/homebridge-lutron-caseta?targetFile=package.json)
[![Greenkeeper badge](https://badges.greenkeeper.io/smockle/homebridge-lutron-caseta.svg)](https://greenkeeper.io/)

A fork of [jcoleman/homebridge-lutron-caseta](https://github.com/jcoleman/homebridge-lutron-caseta)

# tl;dr

A Homebridge plugin for integration with the Lutron Caséta Smart Bridge Pro.

# Primary Motivation

Lutron doesn’t expose its versatile Pico remotes as HomeKit accessories, so it’s not possible to use them to control non-Lutron accessories.

However, the Smart Bridge Pro allows connections over telnet via the Lutron Integration Protocol. This connection allows direct control of accessories, and, more critically for our purposes, streams notifications of Pico button presses.

# Setup

1. Connect your Lutron Caséta Smart Bridge Pro to power and ethernet

2. Login and add devices (e.g. Pico remotes) using [the Lutron iOS app](https://itunes.apple.com/us/app/lutron-caséta-ra2-select-app/id886753021)

3. In the Lutron app, press the gear in the top-left, then “Advanced” > “Integration”

- Enable “Telnet Support”
- Send the “Integration Report” to yourself via email
- Note the IP address assigned to your bridge in “Network Settings”

4. Configure your router to a static IP address to your bridge, matching the current IP address (noted in step 3).

# Configuration

```JSON
{
  "bridge": {
    "name": "Lutron Bridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },
  "description": "SmartHome with Homebridge",
  "accessories": [],
  "platforms": [{
    "platform": "LutronCasetaPlatform",
    "bridgeConnection": {
      "host": "192.168.1.2"
    }
  }]
}
```
npm package: @smockle/periodic
Description: Convert monthly price data to monthly return data
Author: Clay Miller
Latest version: 2.0.11
Deprecated: INFO: '@smockle/periodic' is no longer maintained.

# periodic

[![npm](https://img.shields.io/npm/v/@smockle/periodic.svg)](https://www.npmjs.com/package/@smockle/periodic)
[![Build Status](https://travis-ci.org/smockle/periodic.svg?branch=master)](https://travis-ci.org/smockle/periodic)
[![Build status](https://ci.appveyor.com/api/projects/status/625en0ocv60p4nmn?svg=true)](https://ci.appveyor.com/project/smockle/periodic)
[![codecov](https://codecov.io/gh/smockle/periodic/branch/master/graph/badge.svg)](https://codecov.io/gh/smockle/periodic)
[![Known Vulnerabilities](https://snyk.io/test/github/smockle/periodic/badge.svg)](https://snyk.io/test/github/smockle/periodic)
[![Greenkeeper badge](https://badges.greenkeeper.io/smockle/periodic.svg)](https://greenkeeper.io/)

Convert monthly price data to monthly return data.

## Installation

Run `npm install --save @smockle/periodic` to add `periodic` to your project.

## Usage

### Shell

```Bash
$ periodic "/path/to/input/file.xlsx" "/path/to/output/file.xlsx"
```

## Testing

`periodic` includes several unit tests. After cloning the `periodic` repo locally, run `npm install` in the project folder to install dependencies. Run `npm test` to execute the tests.
npm package: @smockle/phonespell
Description: Convert a word to its dialpad number equivalent
Author: Clay Miller
Latest version: 1.0.47
Deprecated: INFO: '@smockle/phonespell' is no longer maintained.

# phonespell

[![npm](https://img.shields.io/npm/v/@smockle/phonespell.svg)](https://www.npmjs.com/package/@smockle/phonespell)
[![Publish Workflow](https://github.com/smockle/phonespell/workflows/Publish/badge.svg)](https://github.com/smockle/phonespell/actions)
[![codecov](https://codecov.io/gh/smockle/phonespell/branch/master/graph/badge.svg)](https://codecov.io/gh/smockle/phonespell)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=smockle/phonespell)](https://dependabot.com)

Convert a word to its dialpad number equivalent (e.g. "SPELL" to 77355).

## Installation

Run `yarn add @smockle/phonespell` to add `phonespell` to your project.

## Usage

### Shell

```sh
$ phonespell "SPELL"
```

### JavaScript & TypeScript

```TypeScript
import { phonespell } from "@smockle/phonespell";
console.log(phonespell("SPELL"));
```

## Testing

`phonespell` includes several unit tests. After cloning the `phonespell` repo locally, run `yarn install` in the project folder to install dependencies. Run `yarn test` to execute the tests.
npm package: @smockle/regression
Description: Estimate multiple linear regression fit using least squares
Author: Clay Miller
Latest version: 4.0.3

[![npm](https://img.shields.io/npm/v/@smockle/regression.svg)](https://www.npmjs.com/package/@smockle/regression)
[![codecov](https://codecov.io/gh/smockle/regression/branch/main/graph/badge.svg)](https://codecov.io/gh/smockle/regression)

# regression

Estimate multiple linear regression fit using least squares.

## Installation

Run `npm install --save @smockle/regression` to add `regression` to your project.

## Usage

```JavaScript
import Regression from '@smockle/regression'
```

## API Reference

- [regression](#module_regression)
  - [Regression](#exp_module_regression--Regression) ⏏
    - [new Regression(X, Y)](#new_module_regression--Regression_new)
    - [.inspect()](#module_regression--Regression+inspect) ⇒ <code>string</code>

<a name="exp_module_regression--Regression"></a>

### Regression ⏏

**Kind**: Exported class  
<a name="new_module_regression--Regression_new"></a>

#### new Regression(X, Y)

Estimate multiple linear regression fit using least squares

**Returns**: <code>Regression</code> - Multiple linear regression

| Param | Type                | Description  |
| ----- | ------------------- | ------------ |
| X     | <code>Matrix</code> | Input matrix |
| Y     | <code>Matrix</code> | Input matrix |

<a name="module_regression--Regression+inspect"></a>

#### regression.inspect() ⇒ <code>string</code>

Format and print this regression

**Kind**: instance method of [<code>Regression</code>](#exp_module_regression--Regression)  
**Returns**: <code>string</code> - Regression results

## Testing

`regression` includes several unit tests. After cloning the `regression` repo locally, run `npm install` in the project folder to install dependencies. Run `npm test` to execute the tests.
npm package: @smockoro/eslint-config
Description: shared eslint configration
Author: smockoro
Latest version: 0.1.0

# eslint-config

## Motivation
When you create a typescript project each time, you need to configure the following settings.

- TypeScript compilation settings
- Lint settings for ESLint
- TypeDoc settings

This is almost the same for all projects, so we want to use a common definition.

## Positioning of this repository

The following configuration files are commonized in this repository and imported in each project.

- `eslintrc`

If necessary, individual projects can override the settings for their own projects.

## How to import

TBD

## How to publish common definitions

npm package and publish.

# License

MIT
npm package: @smockoro/prettier-config
Description: shared prettier configration
Author: smockoro
Latest version: 0.1.0

# prettier-config

## Motivation
When you create a typescript project each time, you need to configure the following settings.

- TypeScript compilation settings
- Lint settings for ESLint
- TypeDoc settings
- Prettier configuration

This is almost the same for all projects, so we want to use a common definition.

## Positioning of this repository

The following configuration files are commonized in this repository and imported in each project.

- `.prettierrc`

If necessary, individual projects can override the settings for their own projects.

## How to import

TBD

## How to publish common definitions

npm package and publish.

# License

MIT
npm package: @smockoro/tsconfig
Description: shared typescript configration
Author: smockoro
Latest version: 0.1.2

# tsconfig

## Motivation and Positioning of this repository

[here README.md](https://github.com/smockoro/typescript-shared-configurations)

## Consideration of setting values

[here and docs/tsconfig](https://github.com/smockoro/typescript-shared-configurations/blob/main/docs/tsconfig/README.md)

## How to import

install packages

```bash
npm install -D @smockoro/tsconfig
```

import from `tsconfig.json`

```json
{
  "extends": "@smockoro/tsconfig/bases",
  ...
  "include": ["src"] // override base configuration
}
```

## How to publish common definitions

npm package and publish.

# License

MIT
npm package: @smockoro/typedoc-config
Description: shared typescript configration
Author: smockoro
Latest version: 0.1.0

# typedoc-config

## Motivation
When you create a typescript project each time, you need to configure the following settings.

- TypeScript compilation settings
- Lint settings for ESLint
- TypeDoc settings

This is almost the same for all projects, so we want to use a common definition.

## Positioning of this repository

The following configuration files are commonized in this repository and imported in each project.

- `typedoc.js`

If necessary, individual projects can override the settings for their own projects.

## How to import

TypeDoc can use `extends`[^extends], so the following is imported in the user's configuration file.
The following example shows how to use `typedoc.json`.

[^extends]: https://typedoc.org/guides/options/#other-info

## How to publish common definitions

npm package and publish.

# License

MIT
npm package: @smoczysko/k8s-log-aggregator
Description: CLI tool for aggregating logs from multiple Kubernetes pods.
Author: Łukasz Rybka
Latest version: 1.1.0

# Kubernetes Log Aggregator

CLI tool for aggregating logs from multiple Kubernetes pods.

## Requirements

This project requires:

- [Node.js](https://nodejs.org/en/) in 10.X version (or higher)
- [Kubernetes CLI](https://kubernetes.io/docs/tasks/tools/install-kubectl/) - installed globally

## Usage

To view logs live logs across different pods that share same name prefix and exactly the same container name enter following command:

```bash
npx @smoczysko/k8s-log-aggregator watch <POD_PREFIX> <CONTAINER_NAME>
```

In order to download all logs across different pods to one file enter following command:

```bash
npx @smoczysko/k8s-log-aggregator download <POD_PREFIX> <CONTAINER_NAME> <FILE_NAME>
```
npm package: @smoein/jsonts
Description: A tool to convert json to complete customized typescript class.
Author: Moein Hosseini
Latest version: 1.0.5

# JSONTS
A tool to convert json to complete customized typescript class.

## Install

```
npm install --global @smoein/jsonts
```
## Usage
```
JSONTS
A tool to convert json to a complete customized typescript class

OPTIONS
    --input      -i  Specifies the input json file
    --title      -t  Title of the output model (default="MyModel")
    --comments   -c  Enables the general comments if "true" (default=false)
    --targetCase     Can be one of "PascalCase", "CamelCase", "Underscore" (default=CamelCase)
    --constructor    Generates constructor if "true" (default=false)
    --checkFields    Makes the constructor private and creates a static method to check fields (default=false)
    --jsonMethod     Generates a method to convert this model back to json with new values

NOTES
If you use --checkFields option, generated model will use some custom helper functions.
To get helper functions type "jsonts helpers"

```

## Example
FILE: test.json

```json
{
	"Name":"string",
	"family":"string",
	"Age": 25,
	"isMale": false
}
```
COMMAND:
```
jsonts -i ~/test.json -t Person --comment
```
And result will be printed in terminal / cmd:
```ts
export class Person {
    age: number;
    name: string;
    family: string;
    isMale: boolean;

    /**
     * The default constructor of person class
     * @param obj prepared object
     */
    constructor(obj: any) {
        this.age = obj.Age
        this.name = obj.Name
        this.family = obj.family
        this.isMale = obj.isMale
    } 
}
```
npm package: @smogon/infra
Latest version: 0.0.3


Flexible build & server infrastructure.

Building this repository
========================

`yarn && yarn build`

Simple example
==============

See [examples/hello-world](examples/hello-world).

Usage
=====

From [src/index.ts](src/index.ts):

```typescript
program.option('-c, --config <file>', 'Configuration file')

program
    .command('build')

program
    .command('start [args...]')
    .option('-p, --port <port>', 'Port')
    .option('--open-browser', 'Open browser')
    .option('--skip-build', 'Skip build')
    .option('--refresh', 'Refresh the browser on build')

```

Configuration format
====================

See [src/config.ts](src/config.ts).


Worker requirements
===================

- Your worker should not bind its own server socket. Listen for the process message `connection` and manually inject the connection into your server.

- Your worker is given the opportunity to gracefully shutdown on process message `shutdown`.

Example of the former:

```typescript
declare server : http.Server;

process.on('message', (msg, h) => {
    if (msg === 'connection') {
        server.emit('connection', h);
    }
});
```
npm package: @smojs/react-hooks
Description: A React hooks library
Author: Luca Dev
Latest version: 1.1.7

# React_Hooks

**A collection React hooks – from the [SMO](https://smoteam.com) team.**

Compatible with React v18.0.0+.

**Some hooks are inspired by [ui.dev](https://ui.dev)**

## Standard

### Install

`npm i @smojs/react-hooks`

### Hooks

- `useDebounce`
- `useLocalStorage`
- `useWindowSize`
- `useDevTools`
- `usePrevious`
- `useToggle`
- `useTimeout`
- `useDebounceFn`
- `useAsync`
npm package: @smoke-trees/mysql-backend
Description: Mysql Backend Core files
Author: SmokeTrees
Latest version: 1.0.15

# NODE-POSTGRES-Backend


## Dependencies

| Package Name                | Version     | Link                                            |  
| -----------                 | ----------- | -----------                                     |
| @smoke-trees/smoke-context  | 1.2.2       |                                                 |
| compression                 | 1.7.4       | <https://www.npmjs.com/package/compression>     |
| cors                        | 2.8.5       | <https://www.npmjs.com/package/cors>            |
| dotenv                      | 16.0.1      | <https://www.npmjs.com/package/dotenv>          |
| express                     | 4.18.1      | <https://www.npmjs.com/package/express>         |
| morgan                      | 1.10.0      | <https://www.npmjs.com/package/morgan>          |
| typeorm                          | 0.3.9       | <https://www.npmjs.com/package/typeorm>              |
| winston                     | 3.8.1       | <https://www.npmjs.com/package/winston>         |

## Dev Dependencies

| Package Name                | Version     | Link                                            |  
| -----------                 | ----------- | -----------                                     |
| @types/compression           | 1.7.2       | <https://www.npmjs.com/package/@types/compression>     |
| @types/cors                        | 2.8.12      | <https://www.npmjs.com/package/@types/cors>            |
| @types/express                     | 4.17.13      | <https://www.npmjs.com/package/@types/express>         |
| @types/mocha                      | 9.1.1       |  <https://www.npmjs.com/package/@types/mocha>         |
| @types/morgan                      | 1.9.3      | <https://www.npmjs.com/package/morgan>          |
| @typesscript-eslint/eslint-plugin                      | 5.35.1       |  <https://www.npmjs.com/package/@typescript-eslint/eslint-plugin>         |
| @typesscript-eslint/parser                      | 5.35.1      |  <https://www.npmjs.com/package/@typescript-eslint/parser>         |
| chai                      | 4.3.6      |  <https://www.npmjs.com/package/chai>         |
| @types/chai                      | 4.3.3      |  <https://www.npmjs.com/package/@types/chai>         |
| chai-http                      | 4.3.0      |  <https://www.npmjs.com/package/chai-http>         |
| eslint                      | 8.23.0     |  <https://www.npmjs.com/package/eslint>         |
| mocha                      | 10.0.0     |  <https://www.npmjs.com/package/mocha>         |
| nodemon                      | 2.0.19     |  <https://www.npmjs.com/package/nodemon>         |
| c8                      | 7.12.0      |  <https://www.npmjs.com/package/c8>         |
| standardx                      | 7.0.0      |  <https://www.npmjs.com/package/standardx>         |
| typescript                      | 4.8.2     |  <https://www.npmjs.com/package/typescript>         |
npm package: @smokestackdev/design-doc-writer
Description: MCP skill that generates design documents from Smokestack architecture designs
Author: Smokestack
Latest version: 0.1.1

# @smokestackdev/design-doc-writer

MCP skill that generates design documents from [Smokestack](https://smokestack.dev) architecture designs.

## Install

```bash
npm install @smokestackdev/design-doc-writer
```

## Setup

Add to your MCP client config (e.g. Claude Desktop `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "design-doc-writer": {
      "command": "npx",
      "args": ["@smokestackdev/design-doc-writer"],
      "env": {
        "SMOKESTACK_API_KEY": "sk_live_..."
      }
    }
  }
}
```

Get your API key from [smokestack.dev/settings](https://smokestack.dev/settings).

## Tools

### `generate_design_doc`

Generates a comprehensive design document from a Smokestack architecture design.

**Input:**
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | yes | The Smokestack design ID |

**Output:** Markdown document with topology overview, component specs, capacity plans, failure modes, and mitigation strategies.

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `SMOKESTACK_API_KEY` | yes | Your Smokestack API key |
| `SMOKESTACK_API_URL` | no | Custom API base URL (default: `https://smokestack.dev/api/v1`) |

## License

MIT
npm package: @smokingslim/nord-ui
Description: NORD DDB Prototype UIKit
Author: Sebastian Otarola
Latest version: 1.0.3

# NORD DDB Prototype UI Kit 🚀
UI Kit for Vue-based projects.

Created with vue-cli barebone Webpack project for minimal size.

# Build Setup
``` bash
npm install
# install required dependencies.

npm run dev
# go to http://localhost:8080 to see what components are available.

npm run build
# This is optional. Since you'll only import compontents and not build the library. 
```

# Import components
``` javascript
import { Button } from '@smokingslim/nord-ui'
<Button buttonText='Your Button Text here' class="bgGreen" />

// Examples and options are documented at localhost:8080 
```

# Available components
* nor/d Logo
* Buttons
* Spinning Loaders
* List items

# Author
``` bash
Sebastian Otarola
Twitter: @SmokingSlim
LinkedIn: https://www.linkedin.com/in/sebastianotarola/
```

<img src="https://nordddb.com/d901d5e6a49413ec2e0d389466b698e6.svg" width="100">
npm package: @smol-frontend/deploy-cloudflare
Description: Publish a smol frontend to a smol frontend API hosted on Cloudflare
Author: Adrien Baron
Latest version: 0.0.2

# smol frontend api cloudflare deploy

Can be used to publish a [`smol frontend`](https://github.com/smol-frontend) to an api running on [Cloudflare Workers](https://developers.cloudflare.com/workers).