open-index/open-npm huggingface dataset:
npm package: @haydar_rs4it/eslint-config
Description: DataTime organization ESLint configuration with TypeScript support and Prettier integration
Author: haydar_rs4it
Latest version: 1.0.0

# ESLint Configuration - DataTime

تكوين ESLint موحد لمشاريع Node.js في مؤسسة DataTime.

## المميزات

- **دعم JavaScript و TypeScript**: تكوين شامل للغتين
- **قواعد الأمان**: حماية من الأخطاء الأمنية الشائعة
- **تكامل Prettier**: تنسيق الكود تلقائياً
- **قواعد Import/Export**: تنظيم أفضل للواردات
- **دعم ملفات الاختبار**: تكوين خاص لـ Jest و Mocha

## التثبيت

```bash
npm install --save-dev @haydar_rs4it/eslint-config @haydar_rs4it/prettier-config
```

## الاستخدام

### الطريقة الأولى: ملف التكوين التقليدي

أنشئ ملف `.eslintrc.js`:

```javascript
module.exports = {
  extends: ['@haydar_rs4it/eslint-config'],
};
```

### الطريقة الثانية: ESLint Flat Config (ESLint 9+)

أنشئ ملف `eslint.config.js`:

```javascript
import datatime from '@haydar_rs4it/eslint-config';

export default [
  ...datatime,
  // يمكنك إضافة قواعد إضافية هنا
];
```

## التبعيات المطلوبة

تأكد من تثبيت التبعيات التالية:

```bash
npm install --save-dev eslint@^9.0.0
npm install --save-dev eslint-plugin-import@^2.29.0
npm install --save-dev typescript@^5.0.0
npm install --save-dev @typescript-eslint/parser@^7.0.0
npm install --save-dev @typescript-eslint/eslint-plugin@^7.0.0
```

## تكوين Prettier

يتم استخدام حزمة `@haydar_rs4it/prettier-config` المنفصلة. أنشئ ملف `prettier.config.js`:

```javascript
import config from '@haydar_rs4it/prettier-config';

export default config;
```

أو ملف `.prettierrc.js`:

```javascript
module.exports = require('@haydar_rs4it/prettier-config');
```

## أمثلة الاستخدام

### مشروع JavaScript عادي

```javascript
// .eslintrc.js
module.exports = {
  extends: ['datatime'],
  env: {
    node: true,
  },
};
```

### مشروع TypeScript

```javascript
// .eslintrc.js
module.exports = {
  extends: ['datatime'],
  parser: '@typescript-eslint/parser',
  plugins: ['@typescript-eslint'],
  parserOptions: {
    project: './tsconfig.json',
  },
};
```

### تخصيص القواعد

```javascript
// .eslintrc.js
module.exports = {
  extends: ['datatime'],
  rules: {
    'no-console': 'off', // تعطيل تحذير console.log
    'prefer-const': 'error', // فرض استخدام const
  },
};
```

## نصائح للاستخدام

1. **استخدم مع Pre-commit Hooks**: تأكد من تشغيل ESLint قبل كل commit
2. **تكامل مع IDE**: فعّل ESLint في محرر النصوص الخاص بك
3. **CI/CD**: أضف ESLint إلى خط أنابيب CI/CD الخاص بك
4. **التحديث الدوري**: حافظ على تحديث التبعيات للحصول على أحدث القواعد

## الدعم

للمساعدة أو الإبلاغ عن مشاكل، يرجى التواصل مع فريق التطوير في DataTime.
npm package: @hayden0323/test-evm-contracts
Description: [![Actions Status](https://github.com/zenlinkpro/zenlink-evm-contracts/workflows/CI/badge.svg)](https://github.com/zenlinkpro/zenlink-evm-contracts/actions)
Latest version: 1.0.0

# Zenlink EVM Contracts
[![Actions Status](https://github.com/zenlinkpro/zenlink-evm-contracts/workflows/CI/badge.svg)](https://github.com/zenlinkpro/zenlink-evm-contracts/actions)

This repository contains all smart contracts(core, periphery, tool) for the Zenlink Protocol.

## Audits
[evm-version](https://github.com/zenlinkpro/zenlink-security-audit/tree/master/evm)

## SDK
[dex-sdk](https://github.com/zenlinkpro/dex-sdk)

## Install Dependencies

```
yarn
```

## Compile Contracts

```
yarn build
```

## Run Tests

```
yarn test
```
npm package: @haydenhigg/affine
Description: A small library for affine encryptions.
Author: Hayden Higginbotham
Latest version: 1.0.0

# @haydenhigg/affine

A small library for affine encryption. Ideal behavior taken from [here](http://rumkin.com/tools/cipher/affine.php), other source is [here](http://www.oxfordmathcenter.com/drupal7/node/364).

## Usage

```javascript
const affine = require("@haydenhigg/affine");

let a = 5; // multiplicand
let b = 8; // addend

var encrypted = affine.encrypt(a, b, "the message");
var decrypted = affine.decrypt(a, b, encrypted);

console.log(encrypted); // "ZRC QCUUIMC"
console.log(decrypted); // "THE MESSAGE"

var encryptedWithKey = affine.encrypt(a, b, "the message", "the key");
var decryptedWithKey = affine.decrypt(a, b, encryptedWithKey, "the key");

console.log(encryptedWithKey); // "ZPE OESSDJE"
console.log(decryptedWithKey); // "THE MESSAGE"
```
npm package: @haydenhigg/atbash
Description: A small library for atbash encryptions.
Author: Hayden Higginbotham
Latest version: 1.0.1

# @haydenhigg/atbash

A small library for atbash encryption. Ideal behavior taken from [here](http://rumkin.com/tools/cipher/atbash.php).

## Usage

```javascript
const atbash = require("@haydenhigg/atbash");

var encrypted = atbash.convert("the message");
var decrypted = atbash.convert(encrypted);

console.log(encrypted); //=> "GSV NVHHZTV"
console.log(decrypted); //=> "THE MESSAGE"
```
npm package: @haydenhigg/csv
Description: A module to read and label CSV datasets.
Author: Hayden Higginbotham
Latest version: 1.0.2
Deprecated: deprecated

# @haydenhigg/csv

This is a package for easily creating and cleaning labelled data structures from CSV input files.

## parse

```javascript
csv.parse(`
A,B,C
1,2,3
1,4,9
1,16,81
`); /* =>
[
    [ 'A', 'B', 'C' ],
    [ '1', '2', '3' ],
    [ '1', '4', '9' ],
    [ '1', '16', '81' ],
]
*/

csv.parse(`
A,B,C
1,2,3
1,4,9
1,16,81
`, true); /* =>
[
    { A: '1', B: '2', C: '3' },
    { A: '1', B: '4', C: '9' },
    { A: '1', B: '16', C: '81' },
]
*/
```
The second argument specifies whether to use the first row of inputs as labels, default is `false`.

## readFile

Exactly the same as fs.readFile in NodeJS, except the callback function will use the parsed version of the text. As with parse, you can provide an optional extra argument to specify whether to use the first row of inputs as labels, but default is `true`.

## readFileSync

Exactly the same as fs.readFileSync in NodeJS, except it will return the parsed version of the text. As with parse, you can provide an optional extra argument to specify whether to use the first row of inputs as labels, but default is `true`.

## removeEmpty

Takes a parsed labelled CSV structure as input and returns one with any lines with missing data removed.
npm package: @haydenhigg/gohome
Description: A small library for interfacing with Google Homes.
Author: Hayden Higginbotham
Latest version: 1.0.2
Deprecated: no longer works

# GoogleHome

This is a small low-level library for interfacing with Google Homes' (hardly-functional) public API.

## Usage

```javascript
const GoHome = require('@haydenhigg/gohome');

var myhome = new GoHome('192.168.86.249'); // or whatever IP there is

myhome.getEurekaInfo(console.log);
```

## Methods

Static:
- `nightModeParams(options)` (returns an object; is useful so that you don't have to remember the properties)

##

Instance:
- `constructor(ip)`
- `reboot([cb = () => {}])`
- `welcome([cb = () => {}])`
- `getAlarms([cb = res => {})`
- `setEurekaInfo(data[, cb = () => {}])`
- `getEurekaInfo([cb = res => {}])`
- `setNightModeParams(data[, cb = () => {}])`
- `getNightModeParams([cb = res => {}])`

Note:
The options for `nightModeParams` and their defaults are shown below:
```javascript
{
  doNotDisturb = false,
  enabled = true,
  volume = 0.5,
  ledBrightness = 0.5,
  startHour = 22,
  length = 8, // in hours
  days = [0, 1, 2, 3, 4, 5, 6]
}
```
npm package: @haydenhigg/gronsfeld
Description: A small library for gronsfeld encryptions.
Author: Hayden Higginbotham
Latest version: 1.0.0

# @haydenhigg/gronsfeld

A small library for gronsfeld encryption. Ideal behavior taken from [here](http://rumkin.com)

## Usage

```javascript
const gronsfeld = require("@haydenhigg/gronsfeld");

var passcode = 15763; // could be a string of digits as well

var encrypted = gronsfeld.encrypt(passcode, "the message"); // UML SHTXHMH
HBF SAUZJOA
THE MESSAGE
var decrypted = gronsfeld.decrypt(passcode, encrypted); // THE MESSAGE

console.log(encrypted);
console.log(decrypted);

var encryptedWithKey = gronsfeld.encrypt(passcode, "the message", "the key"); // HBF SAUZJOA
var decryptedWithKey = gronsfeld.decrypt(passcode, encryptedWithKey, "the key"); // THE MESSAGE

console.log(encryptedWithKey); // 
console.log(decryptedWithKey);
```
npm package: @haydenhigg/otp
Description: A small library for one time pad encryptions.
Author: Hayden Higginbotham
Latest version: 1.0.2

# @haydenhigg/otp

A small library for OTP (one time pad) encryption. Ideal behavior taken from [here](http://rumkin.com/tools/cipher/otp.php).

## Usage

```javascript
const otp = require("@haydenhigg/otp");

var encrypted = otp.encrypt("passphrase", "the message");
var decrypted = otp.decrypt("passphrase", encrypted);

console.log(encrypted); //=> "IHW ETZJAYI"
console.log(decrypted); //=> "THE MESSAGE"
```
npm package: @haydenhigg/plot
Description: A simplified interface with the plotly API.
Author: Hayden Higginbotham
Latest version: 1.0.3
Deprecated: deprecated

# @haydenhigg/plot

This is a package for easily creating plotly graphs of two sets of data, one with lines and one without (as in the way you'd want for graphing actual vs predicted values for certain algorithms).

## Usage

Note: make sure that your .credentials file is set-up as per plotly's standards with your username and api key. This package reads from that file to generate graphs.

```javascript
const plot = require("@haydenhigg/plot");

var x = [];
var y = [];
var predictedY = [];

// ...get some data

plot(x, y, predictedY[, options = {xLabel = "x-axis", yLabel = "y-axis", title = "Actual vs Predicted");
```
npm package: @haydenhigg/rot
Description: A small library for ROT encryptions.
Author: Hayden Higginbotham
Latest version: 1.0.0

# @haydenhigg/rot

A small library for ROT encryption. Ideal behavior taken from [here](http://rumkin.com/tools/cipher/caesar-keyed.php).

## Usage

```javascript
const rot = require("@haydenhigg/rot");

var encrypted = rot.encrypt(17, "the message");
var decrypted = rot.decrypt(17, encrypted);

console.log(encrypted); //=> "KYV DVJJRXV"
console.log(decrypted); //=> "THE MESSAGE"
 
var encryptedWithKey = rot.encrypt(17, "the message", "the key");
var decryptedWithKey = rot.decrypt(17, encryptedWithKey, "the key");

console.log(encryptedWithKey); //=> "GXU KUFFPWU"
console.log(decryptedWithKey); //=> "THE MESSAGE"
```
npm package: @haydenhigg/skip
Description: A small library for skip encryptions.
Author: Hayden Higginbotham
Latest version: 1.0.0

# @haydenhigg/skip

A small library for Nth-letter (skip) encipherment.

## Usage

```javascript
const skip = require("@haydenhigg/skip");

var encrypted = skip.encrypt(4, "the message");
var decrypted = skip.decrypt(4, encrypted);

console.log(encrypted); // T SGHMSEEEA
console.log(decrypted); // THE MESSAGE

var encryptedWithKey = skip.encrypt(4, "the message", "the key");
var decryptedWithKey = skip.decrypt(4, encryptedWithKey, "the key");

console.log(encryptedWithKey); // R QBCJQYYYT
console.log(decryptedWithKey); // THE MESSAGE
```
npm package: @haydenhigg/squarematrix
Description: A lightweight library for working with square matrices.
Author: Hayden Higginbotham
Latest version: 1.0.0

# @haydenhigg/squarematrix

Lightweight library for working with square matrices.

## Usage

```js
const SquareMatrix = require('@haydenhigg/squarematrix');

const mat = new SquareMatrix([
  [-4, 2, 1],
  [1, 2, 3],
  [5, 1, 2]
]);

console.log(mat.inv());
/* =>
  [
    [ 0.07692307692307693, -0.23076923076923078, 0.3076923076923077 ],
    [ 1, -1, 1 ],
    [ -0.6923076923076923, 1.0769230769230769, -0.7692307692307693 ]
  ]
*/

console.log(SquareMatrix.exact(mat.inv()));
/* =>
  [
    [ '1/13', '-3/13', '4/13' ],
    [ '1', '-1', '1' ],
    [ '-9/13', '14/13', '-10/13' ]
  ]
*/
```

## Complete Interface

### Instance Methods

- `constructor(a)`: creates a new matrix instance with the square, 2-dimensional array `a`
- `identity()`: returns an identity matrix with the same dimensions as the input matrix
- `tranpose()`: returns the transpose of the input matrix
- `det()`: returns the determinant of the input matrix
- `adj()`: returns the adjugate matrix of the input matrix
- `inv()`: returns the inverse matrix of the input matrix
- `exact()`: returns the input matrix with each value in its exact (fractional) form using num2fraction

### Static Methods

- `identity(d)`: returns an identity matrix with the dimension `d`
- Every other instance method has a static equivalent that takes an argument `a`
npm package: @haydenhigg/substitution
Description: A small library for substitution ciphers.
Author: Hayden Higginbotham
Latest version: 1.0.0

# @haydenhigg/substitution

A small library for substitution encipherment.

## Usage

```javascript
const substitution = require("@haydenhigg/substitution");

var encrypted = substitution.encrypt("the message", "the key");
var decrypted = substitution.decrypt(encrypted, "the key");

console.log(encrypted); // RCY JYQQTBY
console.log(decrypted); // THE MESSAGE
```
npm package: @haydenhigg/vigenere
Description: A small library for Vigenere encryptions.
Author: Hayden Higginbotham
Latest version: 1.0.1

# @haydenhigg/vigenere

A small library for Vigenere encryption. Ideal behavior taken from [here](http://rumkin.com/tools/cipher/vigenere.php) (unkeyed) and from [here](http://rumkin.com/tools/cipher/vigenere-keyed.php) (keyed).

## Usage

```javascript
const vigenere = require("./index.js");

var encrypted = vigenere.encrypt("passphrase", "a message that is way too long for the passphrase with otp");
var decrypted = vigenere.decrypt("passphrase", encrypted);

console.log(encrypted); //=> "P MWKHHXE LLPT AK LHP TGS AOFY UVI TZI EAKKEOIAKI LILZ DAG"
console.log(decrypted); //=> "A MESSAGE THAT IS WAY TOO LONG FOR THE PASSPHRASE WITH OTP"

var encryptedWithKey = vigenere.encrypt("passphrase", "a message that is way too long for the passphrase with otp", "the key");
var decryptedWithKey = vigenere.decrypt("passphrase", encryptedWithKey, "the key");

console.log(encryptedWithKey); //=> "V RVMIBKC SKVA AM MBW AGQ YUFY TPJ AUY DGMMDEJGMY MOSU CHG"
console.log(decryptedWithKey); //=> "A MESSAGE THAT IS WAY TOO LONG FOR THE PASSPHRASE WITH OTP"
```
npm package: @haydennyyy/ui
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Author: Hayden Young
Latest version: 1.1.1

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `yarn build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
npm package: @haydenpierce/janky-http-proxy
Description: A janky HTTP proxy used as a makeshift NAT. Using a real NAT is recommended instead of this.
Author: Hayden Pierce
Latest version: 1.0.3

janky-http-proxy
================

A terrible HTTP forward proxy. 

Why...?
-------

I have an AWS Lambda function that I need to connect to the internet and to a VPC. While the "correct" solution involves
provisioning a NAT in the VPC for this, NATs cost like $30/month on AWS and I don't really need anything fancy. Instead of
the NAT, this server runs on an EC2 instance in the VPC so that the Lambda function can connect to this server and use
the EC2 instance's IP address to access the internet.

How
---

```
npx @haydenpierce/janky-http-proxy --port=3000

POST localhost:3000
{
    "method": "GET",
    "hostname": "www.example.com",
    "path": "/path-to-whatever"
}
```
npm package: @haydenr4/black76_wasm
Description: Black76 option pricing model calculator
Latest version: 0.21.0

# black76  
  
This library provides an simple, lightweight, and efficient (though not heavily optimized) implementation of the Black76 model for pricing European options.  
  
Includes all first, second, and third order Greeks.  
  
## Usage  
  
View the [docs](https://docs.rs/black76) for usage and examples.  
  
<!-- **Other packages available:**  
Python: [Pypi](https://pypi.org/project/black76-python/)  
WASM: [npm](https://www.npmjs.com/package/@haydenr4/black76_wasm)   -->
npm package: @haydenr4/blackscholes_wasm
Description: Black-Scholes option pricing model calculator
Latest version: 0.21.0

# blackscholes  
  
This library provides an simple, lightweight, and efficient (though not heavily optimized) implementation of the Black-Scholes-Merton model for pricing European options.  
  
Includes all first, second, and third order Greeks.  

Implements:  
  
- calc_iv() in the ImpliedVolatility trait which uses [Modified Corrado-Miller by Piotr P√luciennik (2007)](https://sin.put.poznan.pl/files/download/37938) for the initial volatility guess and the Newton Raphson algorithm to solve for the implied volatility.
  
## Usage  
  
View the [docs](https://docs.rs/blackscholes_wasm) for usage and examples.  
  
**Other packages available:**  
Python: [Pypi](https://pypi.org/project/blackscholes-python/)  
Rust: [crates.io](https://crates.io/crates/blackscholes)
npm package: @haydenull/fabric
Description: haydenull's eslint config
Author: haydenull
Latest version: 1.0.0

# @haydenull/fabric
A collection of configuration files containing prettier, eslint, tsconfig and more

## Usage

Install the package
```shell
pnpm add @haydenull/fabric eslint prettier -D
```

## ![ESLint](https://img.shields.io/badge/ESLint-4B3263?style=for-the-badge&logo=eslint&logoColor=white) eslint-config

in `eslint.config.mjs`

```js
import haydenullLint from '@haydenull/fabric/eslint/react'
import { defineConfig, globalIgnores } from 'eslint/config'

export default defineConfig([
  haydenullLint,
  globalIgnores(['public', 'dist']),
])
```

## ![Prettier](https://img.shields.io/badge/Prettier-1a2b34?style=for-the-badge&logo=prettier&logoColor=white) prettier

in `prettier.config.mjs`

```js
import haydenullPrettier from '@haydenull/fabric/prettier'

export default {
  ...haydenullPrettier,
  // docs: https://github.com/tailwindlabs/prettier-plugin-tailwindcss#sorting-classes-in-function-calls
  tailwindConfig: '.your-path/tailwind.config.js',
  tailwindFunctions: [], // ['cn', 'clsx']
}
```

If you use pnpm to manage dependencies, due to the hoisting mechanism of pnpm, you need to add the following configuration to `.npmrc` to lift `@trivago/prettier-plugin-sort-imports` and `prettier-plugin-*` dependencies to the global level:

```txt
public-hoist-pattern[]=@trivago/prettier-plugin-sort-imports
public-hoist-pattern[]=prettier-plugin-*
```

## ![Git](https://img.shields.io/badge/Git-e84e32?style=for-the-badge&logo=git&logoColor=white) verify commit

1. install [husky](https://typicode.github.io/husky/)
2. add commit-msg hook
```shell
# on Linux or Mac
echo "npx haydenull-fabric verify-commit" >> .husky/commit-msg
```

## ![TypeScript](https://img.shields.io/badge/TypeScript-3078c6?style=for-the-badge&logo=typescript&logoColor=white) tsconfig

in `tsconfig.json`
```json
{
  "extends": "@haydenull/fabric/tsconfig/tsconfig.json",
}
```

## ![czg](https://img.shields.io/badge/czg-1a2b34?style=for-the-badge&logo=cz-git&logoColor=white) [czg](https://cz-git.qbb.sh/cli/)

1. global install
```shell
npm install -g czg
```

2.in `cz.config.mjs`
```js
import haydenullCz from '@haydenull/fabric/cz'


export default {
  ...haydenullCz,
  scopes: [/** your scopes */],
}
```

## Recommended

### Use `lint-staged`

1. Install

```shell
pnpm add -D lint-staged
```

2. in `package.json`

```json
{
  "lint-staged": {
    "**/*.{js,jsx,ts,tsx}": [
      "npx prettier --write",
      "npx eslint --fix"
    ]
  }
}
```

3. add git hooks

```shell
# on Linux or Mac
echo "npx lint-staged" >> .husky/pre-commit
```

### type check before commit

1. in `package.json`
```json
{
  "scripts": {
    "typecheck": "tsc --noEmit"
  }
}
```
2. add git hooks

```shell
# on Linux or Mac
echo "npm run typecheck" >> .husky/pre-commit
```

### spell check

Install [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) Plugin for VSCode.