open-index/open-npm huggingface dataset:
npm package: @se-oss/sha256
Description: Lightweight JavaScript utilities for SHA-256 and HMAC-SHA-256 hashing, compatible with any JS runtime.
Author: Shahrad Elahi
Latest version: 1.2.0

# @se-oss/sha256

[![CI](https://github.com/shahradelahi/sha256/actions/workflows/ci.yml/badge.svg)](https://github.com/shahradelahi/sha256/actions/workflows/ci.yml)
[![NPM Version](https://img.shields.io/npm/v/@se-oss/sha256.svg)](https://www.npmjs.com/package/@se-oss/sha256)
[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](/LICENSE)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@se-oss/sha256)
[![Install Size](https://packagephobia.com/badge?p=@se-oss/sha256)](https://packagephobia.com/result?p=@se-oss/sha256)
![Edge Runtime Compatible](https://img.shields.io/badge/edge--runtime-%E2%9C%94%20compatible-black)

_@se-oss/sha256_ is a JavaScript library that provides utilities for `SHA-256` and `HMAC-SHA-256` hashing. This library is designed to work seamlessly in any JavaScript runtime, offering efficient and straightforward functions for cryptographic hashing.

---

- [Installation](#-installation)
- [Usage](#-usage)
- [Documentation](#-documentation)
- [Contributing](#-contributing)
- [Credits](#-credits)
- [License](#license)

## 📦 Installation

```bash
npm i @se-oss/sha256
```

<details>
<summary>Install using your favorite package manager</summary>

**pnpm**

```bash
pnpm install @se-oss/sha256
```

**yarn**

```bash
yarn add @se-oss/sha256
```

</details>

## 📖 Usage

### Hashing

```typescript
import { sha256 } from '@se-oss/sha256';

// Hashing a string
const hash = sha256('Hello, world!');

// Hashing a Uint8Array
const data = new Uint8Array([1, 2, 3, 4, 5]);
const hash2 = sha256(data);
```

### HMAC

```typescript
import { hmacSha256 } from '@se-oss/sha256';

const key = 'my-secret-key';
const message = 'Hello, HMAC!';
const hmac = hmacSha256(key, message);
```

### Streaming

```typescript
import { createSha256 } from '@se-oss/sha256';

const hasher = createSha256();
hasher.update('Hello, ');
hasher.update('world!');

const hexHash = hasher.digest('hex');
```

### Timing Safe Comparison

```typescript
import { timeSafeCompare } from '@se-oss/sha256';

const result = timeSafeCompare('hello', 'hello'); // true
```

## 📚 Documentation

For detailed API documentation on all methods, please see [the API docs](https://www.jsdocs.io/package/@se-oss/sha256).

## 🤝 Contributing

Want to contribute? Awesome! To show your support is to star the project, or to raise issues on [GitHub](https://github.com/shahradelahi/sha256).

Thanks again for your support, it is much appreciated! 🙏

## 🙌 Credits

- [Andrea Griffini](https://github.com/6502)

## License

[MIT](/LICENSE) © [Shahrad Elahi](https://github.com/shahradelahi) and [contributors](https://github.com/shahradelahi/sha256/graphs/contributors).
npm package: @se-oss/status-codes
Description: Strongly typed HTTP status utilities for converting between status phrases and numeric codes.
Author: Shahrad Elahi
Latest version: 1.1.0

# @se-oss/status-codes

[![CI](https://github.com/shahradelahi/status-codes/actions/workflows/ci.yml/badge.svg)](https://github.com/shahradelahi/status-codes/actions/workflows/ci.yml)
[![NPM Version](https://img.shields.io/npm/v/@se-oss/status-codes.svg)](https://www.npmjs.com/package/@se-oss/status-codes)
[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](/LICENSE)
[![Install Size](https://packagephobia.com/badge?p=@se-oss/status-codes)](https://packagephobia.com/result?p=@se-oss/status-codes)

**@se-oss/status-codes** offers strongly typed utilities to safely convert between HTTP status phrases and their numeric codes. Enjoy full TypeScript type safety and compile-time checks in your projects.

---

- [Installation](#-installation)
- [Usage](#-usage)
- [Documentation](#-documentation)
- [Contributing](#-contributing)
- [References](#-references)
- [License](#license)

## 📦 Installation

```bash
npm i @se-oss/status-codes
```

## 📖 Usage

<!-- prettier-ignore -->
```typescript
import { getStatusCode, getStatusPhrase, StatusCodes, StatusPhrases } from '@se-oss/status-codes';

getStatusPhrase(200); // returns 'Ok'
getStatusPhrase(StatusCodes.CREATED); // returns 'Created'
getStatusPhrase(418); // returns "I'm a teapot"

getStatusCode('OK'); // returns 200
getStatusCode('CREATED'); // returns 201

console.log(StatusCodes.FORBIDDEN); // prints 403
console.log(StatusPhrases.IM_A_TEAPOT); // prints "I'm a teapot"
```

## 📚 Documentation

For all configuration options, please see [the API docs](https://www.jsdocs.io/package/@se-oss/status-codes).

##### API

<!-- prettier-ignore -->
```typescript
/**
 * Returns the HTTP status code for a given status phrase.
 *
 * @param phrase - The HTTP status phrase
 * @returns The corresponding HTTP status code
 * @throws {TypeError} If input is not valid or phrase is unknown
 */
declare function getStatusCode<T, U>(phrase: T): U;

/**
 * Returns the HTTP status phrase for a given status code.
 *
 * @param code - The HTTP status code
 * @returns The corresponding HTTP status phrase
 * @throws {TypeError} If input is not valid or code is unknown
 */
declare function getStatusPhrase<T, C, U>(code: T): U;
```

## 🤝 Contributing

Want to contribute? Awesome! To show your support is to star the project, or to raise issues on [GitHub](https://github.com/shahradelahi/status-codes).

Thanks again for your support, it is much appreciated! 🙏

## 📑 References

- MDN Web Docs: [HTTP Status Codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status)

## License

[MIT](/LICENSE) © [Shahrad Elahi](https://github.com/shahradelahi) and [contributors](https://github.com/shahradelahi/status-codes/graphs/contributors).
npm package: @se-oss/timing-safe-compare
Description: Constant-time string and buffer comparison for Node.js and browsers.
Author: Shahrad Elahi
Latest version: 1.0.0

<h1 align="center">
  <sup>timing-safe-compare</sup>
  <br>
  <a href="https://github.com/shahradelahi/timing-safe-compare/actions/workflows/ci.yml"><img src="https://github.com/shahradelahi/timing-safe-compare/actions/workflows/ci.yml/badge.svg?branch=main&event=push" alt="CI"></a>
  <a href="https://www.npmjs.com/package/@se-oss/timing-safe-compare"><img src="https://img.shields.io/npm/v/@se-oss/timing-safe-compare.svg" alt="NPM Version"></a>
  <a href="/LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat" alt="MIT License"></a>
  <a href="https://bundlephobia.com/package/@se-oss/timing-safe-compare"><img src="https://img.shields.io/bundlephobia/minzip/@se-oss/timing-safe-compare" alt="npm bundle size"></a>
  <a href="https://packagephobia.com/result?p=@se-oss/timing-safe-compare"><img src="https://packagephobia.com/badge?p=@se-oss/timing-safe-compare" alt="Install Size"></a>
</h1>

_@se-oss/timing-safe-compare_ provides constant-time string and buffer comparison for Node.js and browsers to prevent timing attacks.

---

- [Installation](#-installation)
- [Usage](#-usage)
- [Documentation](#-documentation)
- [Contributing](#-contributing)
- [License](#license)

## 📦 Installation

```bash
npm install @se-oss/timing-safe-compare
```

<details>
<summary>Install using your favorite package manager</summary>

**pnpm**

```bash
pnpm install @se-oss/timing-safe-compare
```

**yarn**

```bash
yarn add @se-oss/timing-safe-compare
```

</details>

## 📖 Usage

### String Comparison

Compare two strings in constant time. This is useful for comparing passwords, tokens, or any other sensitive data where the length is already known or handled.

```ts
import { safeCompare } from '@se-oss/timing-safe-compare';

if (safeCompare(inputPassword, storedPassword)) {
  // Passwords match
}
```

### Buffer Comparison

Compare two `Uint8Array` (or `Buffer` in Node.js) instances in constant time. Note that both buffers must have the same length.

```ts
import { timingSafeEqual } from '@se-oss/timing-safe-compare';

const a = new Uint8Array([1, 2, 3]);
const b = new Uint8Array([1, 2, 3]);

if (timingSafeEqual(a, b)) {
  // Buffers are equal
}
```

## 📚 Documentation

For all configuration options, please see [the API docs](https://www.jsdocs.io/package/@se-oss/timing-safe-compare).

## 🤝 Contributing

Want to contribute? Awesome! To show your support is to star the project, or to raise issues on [GitHub](https://github.com/shahradelahi/timing-safe-compare).

Thanks again for your support, it is much appreciated! 🙏

## License

[MIT](/LICENSE) © [Shahrad Elahi](https://github.com/shahradelahi) and [contributors](https://github.com/shahradelahi/timing-safe-compare/graphs/contributors).
npm package: @se-oss/typeof
Description: A robust utility for determining the runtime type of any JavaScript value.
Author: Shahrad Elahi
Latest version: 1.1.0

# @se-oss/typeof

[![CI](https://github.com/shahradelahi/ts-typeof/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/shahradelahi/ts-typeof/actions/workflows/ci.yml)
[![NPM Version](https://img.shields.io/npm/v/@se-oss/typeof.svg)](https://www.npmjs.com/package/@se-oss/typeof)
[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](/LICENSE)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@se-oss/typeof)
[![Install Size](https://packagephobia.com/badge?p=@se-oss/typeof)](https://packagephobia.com/result?p=@se-oss/typeof)

_@se-oss/typeof_ is a robust utility for determining the runtime type of any JavaScript value.

---

- [Installation](#-installation)
- [Usage](#-usage)
- [Documentation](#-documentation)
- [Contributing](#-contributing)
- [License](#license)

## 📦 Installation

```bash
npm install @se-oss/typeof
```

<details>
<summary>Install using your favorite package manager</summary>

**pnpm**

```bash
pnpm install @se-oss/typeof
```

**yarn**

```bash
yarn add @se-oss/typeof
```

</details>

## 📖 Usage

### Basic Usage

```typescript
import { typeOf } from '@se-oss/typeof';

typeOf(undefined); // 'undefined'
typeOf(null); // 'null'
typeOf(true); // 'boolean'
typeOf('hello'); // 'string'
typeOf(123); // 'number'
typeOf([]); // 'array'
typeOf({}); // 'object'
typeOf(new Date()); // 'date'
typeOf(/abc/); // 'regexp'
```

### TypeScript Support

The library provides a `TypeOf<T>` conditional type that maps TypeScript types to their runtime string representations.

```typescript
import type { TypeOf } from '@se-oss/typeof';

type MyType = TypeOf<string>; // 'string'
type MyDate = TypeOf<Date>; // 'date'
```

The `typeOf` function also utilizes this type for better return type inference:

```typescript
const result = typeOf('hello'); // Inferred as 'string'
```

## 📚 Documentation

For all configuration options, please see [the API docs](https://www.jsdocs.io/package/@se-oss/typeof).

## 🤝 Contributing

Want to contribute? Awesome! To show your support is to star the project, or to raise issues on [GitHub](https://github.com/shahradelahi/ts-typeof).

Thanks again for your support, it is much appreciated! 🙏

## License

[MIT](/LICENSE) © [Shahrad Elahi](https://github.com/shahradelahi) and [contributors](https://github.com/shahradelahi/ts-typeof/graphs/contributors).
npm package: @se-studio/project-build
Description: Build tools and management scripts for SE Studio projects
Latest version: 1.0.125

# @se-studio/project-build

Build tools and management scripts for SE Studio projects.

## Used by

This package is used by the following apps (and others) for the Tailwind build system, colour setup, and generated types:

- **example-om1** – setailwind, setup-colours, type generation
- **example-brightline** – setailwind, setup-colours, type generation
- **example-se2026** – setailwind, setup-colours, type generation

## Features

### Tailwind Build System
- Custom Tailwind CSS v4 build system with file watching
- Automatic grid generation
- Rich text formatting utilities
- Color lookup generation
- Type-safe configuration

### Contentful Management Scripts
- Color field validation setup
- CMS configuration utilities
- Environment management

## Installation

```bash
pnpm add -D @se-studio/project-build
```

## Usage

### Tailwind Build System

Add to your `package.json`:

```json
{
  "scripts": {
    "setailwind": "setailwind"
  }
}
```

Run the build system:

```bash
pnpm setailwind
```

### Management Scripts

```bash
pnpm setup-colours
```

### Skills sync (seskills)

Skills are sourced from `packages/project-build/skills/` and can be synced into an app’s `.agents/skills/` directory so the app has the same marketing-site skills as the package. Add a `.cursor/skills` → `.agents/skills` symlink if the editor only discovers `.cursor/skills`.

**From an app directory** (e.g. `apps/example-brightline`):

```bash
pnpm exec seskills sync
```

**From the repo root** (sync into a specific app):

```bash
pnpm exec seskills sync apps/example-brightline
```

This copies the contents of `project-build/skills/` into the target’s `.agents/skills/`. Run after pulling changes to project-build skills or when setting up a new app.

## API Reference

### Main Exports

#### Tailwind Build System
- **Tailwind configuration utilities** - Functions for generating Tailwind config files
- **Grid generation** - Automatic grid system generation
- **Color utilities** - Color lookup and generation functions
- **Font utilities** - Typography and font configuration

#### Management Scripts
- **Color field validation** - Contentful color field setup utilities
- **CMS configuration** - Contentful management utilities

### CLI Commands

#### `setailwind`
Tailwind CSS v4 build system with file watching.

**Usage:**
```bash
setailwind [options]
```

**Options:**
- `--watch, -w` - Watch for changes and rebuild automatically
- `--config, -c` - Path to configuration file

#### `setup-colours`
Sets up color field validation in Contentful.

**Usage:**
```bash
setup-colours
```

#### `seskills sync [target-dir]`
Syncs skills from `packages/project-build/skills/` into a project’s `.agents/skills/`. Default target is current working directory.

**Usage:**
```bash
seskills sync                 # sync into current directory
seskills sync apps/example-om1   # sync into given path
```

For detailed JSDoc documentation on all exports, see the TypeScript declaration files (`.d.ts`) in the package.

## License

MIT
npm package: @se-ui/vue
Description: se-ui for vue
Author: XuedongZhou
Latest version: 0.1.7

<h1 align="center">SeUI for Vue</h1>

## Install

```shell
# NPM
$ npm install @se-ui/vue --save

# Yarn
$ yarn add @se-ui/vue

# pnpm
$ pnpm add @se-ui/vue
```

## Usage

```ts
// main.ts
import { createApp } from 'vue';
import SeUI from '@se-ui/vue';
import '@se-ui/vue/dist/index.css';
import App from './App.vue';

const app = createApp(App);

app.use(SeUI);
app.mount('#app');
```

## License

SeUI is open source software licensed as [MIT](https://github.com/XuedongZhou/se-ui-vue/blob/main/LICENSE).