open-index/open-npm huggingface dataset:
npm package: @razein97/tauri-plugin-i18n
Description: A wrapper around rust_i18n
Latest version: 2.0.1

# Tauri Plugin SQLite - JavaScript Bindings (@razein/tauri-plugin-i18n)

This package provides the JavaScript/TypeScript bindings for the `@razein97/tauri-plugin-i18n` Tauri plugin.

## Installation

You need to install both the Rust Core plugin and these JavaScript bindings.

See the [main plugin README](../../README.md) for instructions on setting up the Rust Core plugin in your `Cargo.toml`.

Install the JavaScript bindings using your preferred package manager:

```bash
# Using pnpm
pnpm add @razein97/tauri-plugin-i18n

# Using npm
npm install @razein97/tauri-plugin-i18n

# Using yarn
yarn add @razein97/tauri-plugin-i18n
```

### Rust bindings

Install the rust package using cargo:

```sh
cargo add tauri-plugin-i18n
```

## Usage

Import the `I18n` class and use the `getInstance` method to initialize the plugin.

```typescript
import I18n from '@razein97/tauri-plugin-i18n';

async function initializePlugin() {
  // Load translations
  await I18n.getInstance().load();

  // Example
  //Get available locales
  const locales = await I18n.getAvailableLocales();
  console.log('Locales:', locales);
}

initializePlugin();
```

Refer to the [main plugin README](../../README.md) for detailed API documentation.
npm package: @razein97/tauri-plugin-rusqlite2
Description: A fork of tauri-plugin-sqlite by @bspeckco using rusqlite, supporting only SQLite with added transaction capabilities.
Latest version: 2.2.8

# Tauri Plugin SQLite - JavaScript Bindings (@razein/tauri-plugin-rusqlite2)

This package provides the JavaScript/TypeScript bindings for the `@razein97/tauri-plugin-rusqlite2` Tauri plugin.

> **Note:** This is a fork of `tauri-plugin-sqlite` by @razein97 which is a fork of the official `tauri-plugin-sql` by @bspeckco. It has been modified to use `rusqlite` instead of `sqlx`, **supporting only SQLite databases**.

> It adds:
>
> - Transaction support (`beginTransaction`, `commitTransaction`, `rollbackTransaction`)
> - Migrations
> - Extensions support
> - SQLCipher support

## Installation

You need to install both the Rust Core plugin and these JavaScript bindings.

See the [main plugin README](../../README.md) for instructions on setting up the Rust Core plugin in your `Cargo.toml`.

Install the JavaScript bindings using your preferred package manager:

```bash
# Using pnpm
pnpm add @razein97/tauri-plugin-rusqlite2

# Using npm
npm install @razein97/tauri-plugin-rusqlite2

# Using yarn
yarn add @razein97/tauri-plugin-rusqlite2
```

### Rust bindings

Install the rust package using cargo:

```sh
cargo add tauri-plugin-rusqlite2
```

## Usage

Import the `Database` class and use the `load` method to connect to your SQLite database.

```typescript
import Database from '@razein97/tauri-plugin-rusqlite2';

async function initializeDb() {
  try {
    // Load a file-based database (relative to AppData dir)
    //to use without encryption leave the middle field empty. eg: 'sqlite::test.db'
    const db = await Database.load('sqlite:pass:test.db', [
      'path/to/ext_1',
      'path/to/ext_2',
    ]);

    // Or load an in-memory database
    // const db = await Database.load('sqlite::memory:');

    console.log('Database loaded successfully');

    // Example query
    await db.execute(
      'CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT)'
    );
    const result = await db.execute('INSERT INTO users (name) VALUES (?)', [
      'Test User',
    ]);
    console.log('Insert result:', result);

    const users = await db.select('SELECT * FROM users');
    console.log('Selected users:', users);

    // See the main plugin README for transaction examples
  } catch (error) {
    console.error('Failed to initialize database:', error);
  }
}

initializeDb();
```

### Extensions

All downloaded extension need to set read, write, executable permission to run on mac or linux.

```shell
- macos
chmod 755 path/to/ext.dylib

- linux
chmod 755 path/to/ext.so
```

Refer to the [main plugin README](../../README.md) for detailed API documentation, including transaction usage.
npm package: @razi91/types-ol-ext
Description: Type definitions for ol-ext
Author: Siedlerchr
Latest version: 1.0.1-5

# types-ol-ext

ol-ext TypeScript declaration

## Installation

Add this package with an alias:
```sh
# NPM
npm i -D @types/ol-ext@npm:@siedlerchr/types-ol-ext

# Yarn
yarn add -D @types/ol-ext@npm:@siedlerchr/types-ol-ext
```
npm package: @razinshafayet/jsql
Description: A pure JavaScript-feeling fluent query builder for SQL
Author: Your Name
Latest version: 2.0.0

# JS SQL Builder

A lightweight, chainable, pure-JavaScript-feeling SQL query builder.

## Features
- Full CRUD support (SELECT, INSERT, UPDATE, DELETE)
- Safe parameterized queries
- Feels like writing normal JS (no visible SQL strings)

## Installation
```
npm install @razinshafayet/jsql
```


## Usage
```ts
import { db, op } from '@razinshafayet/jsql';

const query = db()
  .select('id', 'name')
  .table('users')
  .where({ age: op.gt(30) })
  .toSQL();

console.log(query.sql);     // SELECT id, name FROM users WHERE (age > ?)
console.log(query.params);  // [30]
```

Run examples:
```
npx ts-node examples/basic-select.ts
```

Build: `npm run build`  
Test: `npm run test`
npm package: @razkaroth/quickcli
Description: A simple autodiscover cli framework intended to quickly scaffold oneshot tasks in your project.
Author: Razkaroth
Latest version: 0.1.2

# quickcli

A simple auto-discover CLI framework for quickly scaffolding one-shot tasks in your project.

## Features

- 🔍 **Auto-discovery**: Automatically discovers commands from your `commands/` directory
- 📦 **Namespace support**: Organize commands with namespaces (e.g., `db:migrate`, `api:deploy`)
- ⚡ **Zero config**: Just create command files and start using them
- 🎯 **TypeScript-first**: Built with TypeScript, full type safety included
- 🛠️ **Simple API**: Easy-to-use command structure with options and handlers

## Installation

```bash
npm install @razkaroth/quickcli
```

## Quick Start

### 1. Create a command file

Create a file in your project's `commands/` directory (e.g., `commands/greet.ts`):

```typescript
import { type Command } from '@razkaroth/quickcli'

export const command: Command = {
  name: 'greet',
  description: 'Greet a user',
  options: [
    {
      name: '--name',
      description: 'Name to greet',
      type: 'string',
      default: 'World',
    },
  ],
  handler: async (args) => {
    const name = args.name || 'World'
    console.log(`Hello, ${name}!`)
  },
}
```

### 2. Run your command

```bash
npx quickcli greet --name "Developer"
```

## Command Structure

Commands are TypeScript/JavaScript files that export a `command` object:

```typescript
export const command: Command = {
  name: string              // Command name (can include namespace like 'db:migrate')
  description: string       // Brief description for help text
  options?: Option[]        // Optional array of command-line options
  handler: async (args) => {} // Async function that executes the command
}
```

### Options Configuration

Each option supports:

```typescript
{
  name: string           // Flag name (e.g., '--name', '-n')
  description: string    // Help text
  type?: 'string' | 'boolean' | 'number'
  required?: boolean     // Whether the option is required
  default?: any          // Default value if not provided
}
```

## Namespaces

Organize commands with namespaces by creating subdirectories:

```
commands/
  db/
    migrate.ts    → db:migrate
    seed.ts       → db:seed
  api/
    deploy.ts     → api:deploy
```

Use namespaced commands:

```bash
npx quickcli db:migrate
npx quickcli api:deploy --env production
```

## CLI Options

- `--target-dir <path>`: Specify custom commands directory (default: `src/quickcli`)

```bash
npx quickcli greet --target-dir ./my-commands
```

## Built-in Commands

- `help`: Show all available commands
- `help <command>`: Show detailed help for a specific command

## Programmatic Usage

You can also use quickcli programmatically:

```typescript
import { Registry, discoverCommands } from '@razkaroth/quickcli'

const registry = new Registry()
const commands = await discoverCommands('./commands')

commands.forEach(cmd => registry.register(cmd))

const myCommand = registry.get('greet')
await myCommand?.handler({ name: 'World' })
```

## Examples

See the `examples/` directory for more command examples.

## License

MIT
npm package: @razmooo/translator
Description: Package that automatically generates translation files for your nuxt app.
Author: Klemen Strajhar
Latest version: 0.2.6

# Translator

Translator is a tool for generating translation files for [Nuxt.js i18n](https://github.com/nuxt-community/nuxt-i18n) package. 
It will scan all **.vue**, **.js** and **.ts** files in **/pages**, **/components** and **/layouts** directories for 

```
$t('<insert translate tag here>')
ex.
$t('about.team')
```

If the tag does not exist, it will be created in translation's JSON file with an empty (`""`) value.


# Features!

  - Generate new translation files or update existing ones.
  - Never miss a forgotten translation

# Installation
Install with npm or yarn
```sh
npm install @razmooo/translator --save-dev
yarn add @razmooo/translator --dev
```

# How to use
To create a new translation file with empty values just execute:
```sh
translator
```
If you want to update non-existing values in a existing translation file:
```sh
yarn translator --file-output path/to/file
```

# Example
If you have a json files with translations in `lang` folder, you can specify the json file, which will be updated.
```sh
yarn translator --file-output lang/en-US.json
```

# Help
Type ``yarn translator --help`` for help output.
npm package: @razomy/cli
Description: A new CLI generated with oclif
Author: Yevhenii Kamenskyi
Latest version: 0.0.0-alpha.3

@razomy/cli
=================

A new CLI generated with oclif


[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@razomy/cli.svg)](https://npmjs.org/package/@razomy/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@razomy/cli.svg)](https://npmjs.org/package/@razomy/cli)


<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @razomy/cli
$ razomy COMMAND
running command...
$ razomy (--version)
@razomy/cli/0.0.0-alpha.3 linux-x64 node-v25.8.0
$ razomy --help [COMMAND]
USAGE
  $ razomy COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`razomy cli add PACKAGENAME`](#razomy-cli-add-packagename)
* [`razomy cli list`](#razomy-cli-list)
* [`razomy cli remove PACKAGENAME`](#razomy-cli-remove-packagename)
* [`razomy run [MODULEPATH]`](#razomy-run-modulepath)

## `razomy cli add PACKAGENAME`

Installs an npm package for dynamic use

```
USAGE
  $ razomy cli add PACKAGENAME

ARGUMENTS
  PACKAGENAME  The npm package name

DESCRIPTION
  Installs an npm package for dynamic use
```

_See code: [src/commands/cli/add.ts](https://github.com/razomy/cli/blob/v0.0.0-alpha.3/src/commands/cli/add.ts)_

## `razomy cli list`

List an npm packages

```
USAGE
  $ razomy cli list

DESCRIPTION
  List an npm packages
```

_See code: [src/commands/cli/list.ts](https://github.com/razomy/cli/blob/v0.0.0-alpha.3/src/commands/cli/list.ts)_

## `razomy cli remove PACKAGENAME`

Uninstalls an npm package

```
USAGE
  $ razomy cli remove PACKAGENAME

ARGUMENTS
  PACKAGENAME  Name of the npm package

DESCRIPTION
  Uninstalls an npm package
```

_See code: [src/commands/cli/remove.ts](https://github.com/razomy/cli/blob/v0.0.0-alpha.3/src/commands/cli/remove.ts)_

## `razomy run [MODULEPATH]`

Dynamically executes a function from a JS module with autocomplete and prompts

```
USAGE
  $ razomy run [MODULEPATH...]

ARGUMENTS
  [MODULEPATH...]  Path to a local file or npm package name

DESCRIPTION
  Dynamically executes a function from a JS module with autocomplete and prompts
```

_See code: [src/commands/run/index.ts](https://github.com/razomy/cli/blob/v0.0.0-alpha.3/src/commands/run/index.ts)_
<!-- commandsstop -->
npm package: @razorblades/blades-webcomponent
Description: WebComponents to render a Blade Layout (famous due to the Azure Portal) using lightweight modern JavaScript, DOM and HTML.
Author: razorblades
Latest version: 0.3.3

# RazorBlades - Web Component

WebComponents to render a Blade Layout (famous due to the Azure Portal) using lightweight modern JavaScript, DOM and HTML.

[![npm](https://img.shields.io/npm/v/@razorblades/blades-webcomponent.svg)](https://www.npmjs.com/package/@razorblades/blades-webcomponent)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/@razorblades/blades-webcomponent)

## Walk through & features

**Javscript & CSS**

````html
<script type="module" src="blades-webcomponent.js"></script>
````

RazorBlades Web Component are distributed using a JavaScript module. Feel free to [download](src/blades-webcomponent.js), minimize, bundle and host it on your own. CSS is currently embedded in the WebComponent JavaScript.

**Hosted in a parent element**

````html
<blade-host>
</blade-host>
````

The host consume all space from its parent using `position:absolute;left:0;top:0;width:100%;height:100%`. You have to box it adequately.

**Blade Stacks are aligned in stacks**

*Note: multiple stacks are not yet implemented*
````html
<blade-host>
    <blade-stack id="stack1">
    </blade-stack>
</blade-host>
````

The stacks overflow horizontally. Be prepared for a scrollbar.

The `blade-host` DOM Element has a property `stacks` which returns an array of the displayed stacks.

**Blades are added to stacks and have content**

````html
<blade-host>
    <blade-stack id="stack1">
        <blade-blade id="blade1" title="Settings" sub-title="Overview" icon="🎚">
            Hello World
        </blade-blade>
    </blade-stack>
</blade-host>
````

The title and sub-title attributes are **mandatory**.

The `blade-stack` DOM Element has a property `blades` which returns an array of the displayed blades.

**Adding buttons into web component slots**

````html
<blade-host>
    <blade-stack id="stack1">
        <blade-blade id="blade1" title="Settings" sub-title="Overview" icon="🎚">
            <button slot="blade-buttons" onclick="document.getElementById('blade1').setAttribute('title', 'blub');">➕ Change Title</button>
            Hello World
        </blade-blade
    </blade-stack>
</blade-host>
````

Buttons in the body can be added to a `slot` within the blade's button row. They are formatted by the web component but behave otherwise like any button.

## Specification, Testing & Other

1. RazorBlades are tested and developed using Firefox.
   - Firefox (Evergreen at moment of release)
   - Chrome (Evergreen at moment of release)
   - IE11 support may be achieved using polyfills. We do not test or support this.
1. Technology
   - Uses only HTML/DOM/JS standards
     - [Custom Elements](https://caniuse.com/#feat=custom-elementsv1)
     - [Shadow DOM](https://caniuse.com/#feat=shadowdomv1)
     - [ECMAScript 2015 (ES6)](https://caniuse.com/#feat=es6)
     - [Flexbox](https://caniuse.com/#feat=flexbox)

## License

MIT Licensed
npm package: @razorlabs/create-razorkit
Description: Scaffold a new RazorKit project.
Latest version: 0.0.1

# create-razorkit

Scaffold a new RazorKit project.

```bash
npm init @razorlabs/razorkit@latest
# or
pnpm create @razorlabs/razorkit@latest
# or
yarn create @razorlabs/razorkit
```

## License

Licensed under the MIT License, Copyright © 2025-present [Razor Labs](https://kit.razorwallet.xyz).

See [LICENSE](/LICENSE) for more information.
npm package: @razorlabs/eslint-config
Description: Razor Labs ESLint config
Latest version: 1.0.2

# ESLint

## Custom Rules

### Prelude

In most cases, a [core](https://eslint.org/docs/latest/rules/) or community rule will suffice for your use case, as these rules tend to be robust and performant; use a custom rule when these rules cover too little for your specific use case (ie not robust/applicable) or too much (ie not performant).

### Steps

1. Ensure there is no available rule that sufficiently covers your use case
2. Create two files in `plugins/`: `<your-lint-name>.js` and `<your-lint-name>.test.js`
   - align naming with [ESLint core naming conventions](https://eslint.org/docs/latest/contribute/core-rules#rule-naming-conventions)
3. Create your lint rule using steps 2-4 [here](https://eslint.org/docs/latest/extend/custom-rule-tutorial#step-2-stub-out-the-rule-file)
   - it's much easier to find the node names (eg, JSXText, JSXExpressionContainer) for the visitor methods using [this explorer](https://astexplorer.net/)
4. [Add tests](https://eslint.org/docs/latest/extend/custom-rule-tutorial#step-6-write-the-test)
5. Import new rule to [`universe/eslint-local-rules`](../../eslint-local-rules.js)
6. Add your shiny new rule to [`native.js`](./native.js), [`base.js`](./base.js), and – if it's a react lint rule - [`react.js`](./react.js)
7. **Test, test, test**; cover all your bases
   - remember that this rule will checked against nearly every single LOC in the codebase
8. Profile with `TIMING=1 yarn g:lint` and ensure your rule is **performant**
   - rules should generally not exceed 25 ms (~1%) for each package

### Tips and resources

- For configurable lists (eg green-listed elements), lean towards passing a variable as a rule config rather than using a const, so as to avoid having to update the rule itself as the codebase evolves
- Avoid traversing children in a custom rule to avoid performance issues. Ideally, you target the nodes directly
- As with any lint rule, make sure the tradeoff in DevX (eg slower lint times, more styling considerations) is worth the benefits
- Utilize the [ESLint docs](https://eslint.org/docs/latest/extend/custom-rules)
npm package: @razorlabs/m1-wallet-sdk
Description: <p align="center"><a href="https://razorwallet.xyz"> <img width="480" src="/assets/logo.png"/> </a></p>
Latest version: 0.5.0

<p align="center"><a href="https://razorwallet.xyz">
<img width="480" src="/assets/logo.png"/>
</a></p>

# Razor M1 Wallet SDK

<a href="https://github.com/aptos-labs/wallet-standard">
  <img src="https://badgen.net/badge/wallet-standard/supported/green" />
</a>

This repo aims at providing easy-to-use utilities for wallet interaction, which is designed in javascript OOP and platform / framework agnostic.
npm package: @razorlabs/m2-wallet-sdk
Description: <p align="center"><a href="https://razorwallet.xyz"> <img width="480" src="/assets/logo.png"/> </a></p>
Latest version: 0.5.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<p align="center"><a href="https://razorwallet.xyz">
<img width="480" src="/assets/logo.png"/>
</a></p>

# Razor M2 Wallet SDK

<a href="https://github.com/wallet-standard/wallet-standard">
  <img src="https://badgen.net/badge/wallet-standard/supported/green" />
</a>

This repo aims at providing easy-to-use utilities for wallet interaction, which is designed in javascript OOP and platform / framework agnostic.
npm package: @razorlabs/move-query
Description: Move query is a querying library for fetching on-chain data on Move Chains. This is a work in progress and currently only supports Chains running on Aptos MoveVM.
Latest version: 0.0.5

# Move Query

Move query is a querying library for fetching on-chain data on Move Chains. This is a work in progress and currently only supports Chains running on Aptos MoveVM.

## TODO

- Support Sui Chains
- Support custom hooks for more flexible querying
npm package: @razorlabs/razor-db
Description: A JSON Based Database
Latest version: 1.0.2

# Razor DB

A JSON database with Models, Schemas, and a flexible querying interface. It powers all Razor Labs APIs in dev mode.

## Installation

``` bash
$ pnpm add @razorlabs/razor-db
```

## Usage

``` js
const Database = require('@razorlabs/razor-db');
const db = new Database();

const Post = db.model('posts', {
  title: String,
  created: {type: Date, default: Date.now}
});

Post.insert({
  title: 'Hello world'
}).then(function(post){
  console.log(post);
});
```

``` ts
import { Database } from '@razorlabs/razor-db';

const db = new Database();

const Post = db.model('posts', {
  title: String,
  created: {type: Date, default: Date.now}
});

Post.insert({
  title: 'Hello world'
}).then(function(post){
  console.log(post);
});
```

## Test

``` bash
$ pnpm test
```