open-index/open-npm huggingface dataset:
npm package: @l10nmonster/helpers-translated
Description: Helpers to integrate with Translated.com
Author: Diego Lagunas
Latest version: 3.1.3

# @l10nmonster/helpers-translated

L10n Monster helpers for integrating with Translated.com services including Modern MT and Lara.

## Installation

```bash
npm install @l10nmonster/helpers-translated
```

## Providers

### MMTProvider

Machine translation provider using Modern MT API with both real-time and batch translation support.

```javascript
import { MMTProvider } from '@l10nmonster/helpers-translated';

const mmtProvider = new MMTProvider({
    apiKey: 'your-mmt-api-key',
    // Additional configuration options
});
```

### LaraProvider

Human translation provider using Lara API for professional translation services.

```javascript
import { LaraProvider } from '@l10nmonster/helpers-translated';

const laraProvider = new LaraProvider({
    apiKey: 'your-lara-api-key',
    // Additional configuration options
});
```

## Features

- **Modern MT Integration**: High-quality machine translation with customizable models
- **Lara Integration**: Professional human translation services
- **Batch Processing**: Efficient handling of large translation jobs
- **Real-time Translation**: Immediate translation for smaller content
- **Cost Tracking**: Built-in billing and usage monitoring

## Dependencies

- `@translated/lara`: Official Lara API client
- `modernmt`: Modern MT API client
- `@l10nmonster/core`: Core L10n Monster functionality (peer dependency)

## Testing

The package includes comprehensive tests for Modern MT functionality:

```bash
npm test
```

Test artifacts are included for validation of API responses and job processing.
npm package: @l123wx/use
Description: A tool for automatically importing @l123wx/shared into a project
Author: Elvis Liao
Latest version: 0.0.2-beta.2

# @l123wx/use

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

A tool for automatically importing [@l123wx/shared](https://github.com/l123wx/shared) into a project

一个用来将 [@l123wx/shared](https://github.com/l123wx/shared) 公共方法库导入到项目中的工具

## Usage

```shell
npx @l123wx/shared
```

```js
import { useLoading } from '@l123wx/shared'

const [isLoading, run] = useLoading()
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@l123wx/use?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/@l123wx/use
[npm-downloads-src]: https://img.shields.io/npm/dm/@l123wx/use?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/@l123wx/use

## TODO

 - [x] 将文件移动到 package 目录下
 - [ ] ~~解决 package 在项目打包时的 tree sharking 问题，参考 [vue/scripts/build.js](https://github.com/vuejs/vue/blob/main/scripts/build.js)~~ 不存在这个问题
 - [ ] 将这个项目和 `@l123wx/shared` 解耦，变成适用其他公共代码库的工具
npm package: @l19/eslint-config
Description: ESLint configuration for loichauseux projects
Author: Loïc Hauseux
Latest version: 2.0.8

# @l19/eslint-config

<hr>
<br />

<div align="center"> 
  <h2>ESLint configuration</h3>
</div>

<br />

## Installation

Install the package from the github npm registry.

```sh
pnpm add -D @l19/eslint-config
pnpm add -D prettier
# Required if you want a typescript eslint config file (eslint.config.ts)
pnpm add -D jiti
```

## Usage

- Create a `.prettierrc.js`
- Create a `.editorconfig`
- Create an `eslint.config.{js,ts}` and use the function:

```ts
import { defineESLintConfig } from "@l19/eslint-config";

export default defineESLintConfig({
    //...
});
```
npm package: @l19/tsconfig
Description: Base TypeScript configuration for loichauseux projects
Author: Loïc Hauseux
Latest version: 3.0.2

# @l19/tsconfig

<hr>
<br />

<div align="center"> 
  <h2>Base TypeScript config files</h3>
</div>

<br />

## Installation

Install the package from the npm registry.

```sh
pnpm add -D @l19/tsconfig
```

## Usage

After installation, use one of the following base config files.

**For lib development**

```json
// tsconfig.json
{
    "extends": "@l19/tsconfig/tsconfig.lib.json"
}
```

**For client application**

```json
// tsconfig.json
{
    "extends": "@l19/tsconfig/tsconfig.client.json"
}
```

**For Node application**

```json
// tsconfig.json
{
    "extends": "@l19/tsconfig/tsconfig.node.json"
}
```

**For AdonisJS application**

```json
// tsconfig.json
{
    "extends": "@l19/tsconfig/tsconfig.adonis.json"
}
```
npm package: @l1b3r/nova
Description: NPM Package Boilerplate
Author: l1b3r_-
Latest version: 1.0.10

# nova

NPM Package Boilerplate (WIP)

[![NPM](https://nodei.co/npm/@l1b3r/nova.png?mini=true)](https://npmjs.org/package/@l1b3r/nova)
npm package: @l1go/analytics
Description: ```js import * as pluginAnalytics from '@l1go/analytics'
Author: RoYan
Latest version: 0.0.9

## 修改configuration.ts
```js
import * as pluginAnalytics from '@l1go/analytics'

@Configuration({
  imports: [
    pluginAnalytics
  ],
  importConfigs: ["./config"],
})
```
npm package: @l1go/console-core
Description: ```js import * as consoleCore from '@l1go/console-core'
Author: RoYan
Latest version: 0.0.12

## 修改configuration.ts
```js
import * as consoleCore from '@l1go/console-core'

@Configuration({
  imports: [
    consoleCore,
  ],
  importConfigs: ["./config"],
})

this.app.use(await this.app.generateMiddleware('consoleMiddleware'));
```

## 登录接口
```js
@Provide()
@Controller('/console')
export class ConsoleLoginController {
  @Inject()
  ctx: Context;

  @Logger()
  coreLogger: ILogger;

  @Inject()
  userService: UserService;

  @Post('/api/login')
  @Validate()
  async login(@Body(ALL) user: UserLoginInput) {
    try {
      const result = await this.userService.login(user);
      if (result) {
        let u = {
          role: 'user'
        }
        this.ctx.session.user = u
        return { success: true, message: "OK" };
      }
      return { success: false, message: result.message };
    } catch (error) {
      if (error instanceof ValidationError) {
        return { success: false, message: "Params Validation Error", data: {} };
      } else {
        this.coreLogger.error(error)
        return { success: false, message: "Unknown Errors", data: {} };
      }
    }
  }
}
```
npm package: @l1go/console-dashboard
Description: ```js import * as consoleDashBoard from '@l1go/console-dashboard'
Author: RoYan
Latest version: 0.0.10

## 修改configuration.ts
```js
import * as consoleDashBoard from '@l1go/console-dashboard'

@Configuration({
  imports: [
    consoleDashBoard
  ],
  importConfigs: ["./config"],
})
```
npm package: @l1go/orm-export
Description: ```js import * as pluginOrmExport from '@l1go/orm-export'
Author: RoYan
Latest version: 0.0.9

## 修改configuration.ts
```js
import * as pluginOrmExport from '@l1go/orm-export'

@Configuration({
  imports: [
    pluginOrmExport
  ],
  importConfigs: ["./config"],
})
```
npm package: @l1n3x/leact
Description: a tiny react-like js framework
Author: l1n3x
Latest version: 1.0.4

![](https://img.shields.io/badge/coverage-90.58%25-green)
![](https://img.shields.io/badge/licence-MIT-green)

**a tiny react-like js framework build by typescript**

implemented features:    
* only support function component
* support hooks:    
    * useState
    * useEffect
    * useLayoutEffect
    * useRef
* no time slice support

## useage

```jsx

import Leact from 'leact'

function Counter(){
    const [count, setCount] = Leact.useState(0)
    return <div>{count}</div>
}

Leact.render(document.getElementById("root"), <Counter/>)

```


## jsx support
```json
"presets": [
    [
      "@babel/preset-react",
      {
        "pragma": "Leact.createElement", 
        "pragmaFrag": "Leact.Fragment", 
        "throwIfNamespace": false, 
        "runtime": "classic" 
      }
    ],
  ]
```
npm package: @l1network/chaingraph-genql
Description: chaingraph genql
Latest version: 0.2.0

# @chaingraph/genql

> ⚠️ **Work in Progress**: This package is currently under active development.

A GraphQL client generator for the ChainGraph API, built with [genql](https://github.com/remorses/genql).

## Overview

This package provides type-safe GraphQL operations for interacting with the ChainGraph API. It automatically generates TypeScript types and query builders based on the ChainGraph GraphQL schema.

## Installation

```bash
npm install @chaingraph/genql
# or
yarn add @chaingraph/genql
# or
pnpm add @chaingraph/genql
# or
bun add @chaingraph/genql
```

## Usage

```typescript
import { createClient } from '@chaingraph/genql'

const client = createClient({
  // Configure your client options here
})

// Use the generated types and queries
```

## Development

To generate the GraphQL client:

```bash
npm run gen
# or
yarn gen
# or
pnpm gen
# or
bun run gen
```

## License

MIT
npm package: @l1shen/monaco-languageclient
Description: Monaco Language client implementation
Author: TypeFox GmbH
Latest version: 0.13.1-next.20

# Monaco Language Client
[![Gitpod - Code Now](https://img.shields.io/badge/Gitpod-code%20now-blue.svg?longCache=true)](https://gitpod.io#https://github.com/TypeFox/monaco-languageclient)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?longCache=true)](https://github.com/TypeFox/monaco-languageclient/labels/help%20wanted)
[![Build Status](https://travis-ci.org/TypeFox/monaco-languageclient.svg?branch=master)](https://travis-ci.org/TypeFox/monaco-languageclient)
[![NPM Version](https://img.shields.io/npm/v/monaco-languageclient.svg)](https://www.npmjs.com/package/monaco-languageclient)
[![NPM Download](https://img.shields.io/npm/dt/monaco-languageclient.svg)](https://www.npmjs.com/package/monaco-languageclient)

Module to connect [Monaco editor](https://microsoft.github.io/monaco-editor/) with [language servers](https://microsoft.github.io/language-server-protocol/).

See [here](https://github.com/TypeFox/monaco-languageclient/blob/master/README.md) for a detailed documentation.

## History

For the history please see the [main repository](https://github.com/TypeFox/monaco-languageclient/blob/master/CHANGELOG.md).

## License
[MIT](https://github.com/TypeFox/monaco-languageclient/blob/master/License.txt)
npm package: @l1t/rewards-center
Description: Cardinal rewards center
Author: Jeremy Bogle
Latest version: 3.8.8

# Rewards Center

_This is a fork of the [Cardinal Rewards Center](https://github.com/cardinal-labs/cardinal-rewards-center) repository, with all programs being redeployed on behalf of L1T._

<div style="text-align: center; width: 100%;">
  <img style="width: 100%" src="./doc-assets/banner.png" />
</div>

<p align="center">
    A rewards center for NFTs and FTs on Solana
</p>

# Background

Rewards center is a modular smart contract for staking tokens and distributing various rewards.

# Getting Started

While the deployments of this program are not live, you can deploy your own by using these steps. This will first clone the repo then run `make keys` will generate a new keypair for your program and update authority. NOTE: You must not lose these keypairs. Substitute your own keypair in if you would like to use your own.

> Note: You must not lose the keypairs! They will be saved in ./keypairs directory. To use your own keypairs place them there and skip the `make keys` step

```bash
git clone https://github.com/l1t/rewards-center.git
make keys
make key-replace
make install
make build
solana airdrop 2 --url devnet keypairs/update-authority.json
solana program deploy --url devnet --keypair ./keypairs/update-authority.json --program-id ./keypairs/program-id.json ./target/deploy/cardinal_rewards_center.so
```

# State map

<div style="text-align: center; width: 100%;">
  <img style="width: 100%" src="./doc-assets/diagram.png" />
</div>
npm package: @l1tr05/react-to-pdf
Description: Create pdf documents from React Components
Author: Marcos Andrei Ivanechtchuk
Latest version: 0.0.1

# React to PDF

Easily create pdf documents from React components.

## Install

```
$ npm install react-to-pdf
```

## Important Notes

- No SSR
- Single page
- Not vectorized - the pdf is created from a screenshot of the component and therefore is not vectorized. If you are looking for something more advanced for generating pdf using React components, please check out other popular alternatives packages listed below.

## Alternatives and Similars Packages

* [@react-pdf/renderer](https://www.npmjs.com/package/@react-pdf/renderer) - React renderer for creating PDF files on the browser and server
* [react-pdf](https://www.npmjs.com/package/react-pdf) - Display PDFs in your React app as easily as if they were images.


## Examples

https://codesandbox.io/s/l2l4pz0jyl

## Usage

**Using inner target ref**

```jsx
<ReactToPdf>
    {({toPdf, targetRef}) =>  (
        <div style={{width: 500, height: 500, background: 'red'}} onClick={toPdf} ref={targetRef}/>
    )}
</ReactToPdf>
```

**Using outer target ref**

```jsx
const ref = React.createRef();

<div>
    <ReactToPdf targetRef={ref} filename="div-blue.pdf">
        {({toPdf}) => (
            <button onClick={toPdf}>Generate pdf</button>
        )}
    </ReactToPdf>
    <div style={{width: 500, height: 500, background: 'blue'}} ref={ref}/>
</div>
```

**Advanced options**
```jsx
const ref = React.createRef();
const options = {
    orientation: 'landscape',
    unit: 'in',
    format: [4,2]
};
<div>
    <ReactToPdf targetRef={ref} filename="div-blue.pdf" options={options} x={.5} y={.5} scale={0.8}>
        {({toPdf}) => (
            <button onClick={toPdf}>Generate pdf</button>
        )}
    </ReactToPdf>
    <div style={{width: 500, height: 500, background: 'blue'}} ref={ref}/>
</div>
```

## Props

|Prop name        |Type               |Default            |Description
|-----------------|-------------------|-------------------|--------------------------------
|filename         | `string`          | `'download.pdf'`  | Name of the pdf file
|targetRef        | `RefObject`       |                   | [React ref](https://reactjs.org/docs/refs-and-the-dom.html) for the target component (use this or inner target reference)
|x                | `number`          |         0         | X position in document
|y                | `number`          |         0         | Y position in document
|options          | `object`          |    `undefined`    | options for the jsPdf document - [view more details](https://rawgit.com/MrRio/jsPDF/master/docs/)
|onComplete       | `function`        |    `undefined`    | callback executed when process is finished
|scale            | `number`          |    1              | Image scaling