open-index/open-npm huggingface dataset:
npm package: @mgcodeur/super-translator
Description: Translate text from any language to any language for free using (Google Translate, DeepL, Yandex Translate, Bing Translator)
Author: Jimmy Raphaël
Latest version: 1.0.9
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

## Installation
1. Install the package
```bash
npm i @mgcodeur/super-translator@latest
```

1. Import the module
```js
import translate from '@mgcodeur/super-translator';
```

## Basic Usage
```js
import translate from '@mgcodeur/super-translator';

const result = await translate({
    from: 'en',
    to: 'es',
    text: 'Hello World!'
});

console.log(result);
// output: Hola mundo
```

## Auto detect language
#### Nb: "from" is not required, if not specified, it will be automatically detected

**Example:**

```js
import translate from '@mgcodeur/super-translator';

const result = await translate({
    to: 'ja',
    text: 'Hello World!'
});

console.log(result);
// output: こんにちは世界
```

### Note: if "to" is not specified, it will be "en"
#### Don't forget to add type="module" in your package.json file

```json
{
  "type": "module"
  ...
}
```

**You can run this with command:**
```bash
node your-file.js
```
npm package: @mgcrea/antd-hook-form
Description: <!-- markdownlint-disable no-inline-html -->
Latest version: 0.8.0

<!-- markdownlint-disable no-inline-html -->

# antd-hook-form

<p align="center">
  <a href="https://www.npmjs.com/package/@mgcrea/antd-hook-form">
    <img src="https://img.shields.io/npm/v/@mgcrea/antd-hook-form.svg?style=for-the-badge" alt="npm version" />
  </a>
  <!-- <a href="https://www.npmjs.com/package/@mgcrea/antd-hook-form">
    <img src="https://img.shields.io/npm/dt/@mgcrea/antd-hook-form.svg?style=for-the-badge" alt="npm total downloads" />
  </a> -->
  <a href="https://www.npmjs.com/package/@mgcrea/antd-hook-form">
    <img src="https://img.shields.io/npm/dm/@mgcrea/antd-hook-form.svg?style=for-the-badge" alt="npm monthly downloads" />
  </a>
  <a href="https://www.npmjs.com/package/@mgcrea/antd-hook-form">
    <img src="https://img.shields.io/npm/l/@mgcrea/antd-hook-form.svg?style=for-the-badge" alt="npm license" />
  </a>
  <a href="https://github.com/mgcrea/antd-hook-form/actions/workflows/main.yml">
    <img src="https://img.shields.io/github/workflow/status/mgcrea/antd-hook-form/main?style=for-the-badge" alt="github main workflow" />
  </a>
</p>

## Features

- Provides a `<Form />` component that enables you to use [react-hook-form](https://react-hook-form.com/) with [AntDesign](https://ant.design/)
- Replaces the default AntDesign [field-form](https://github.com/react-component/field-form) form handling
- Written from the ground up with [TypeScript](https://www.typescriptlang.org/)

## Docs

- [Storybook](https://mgcrea.github.io/antd-hook-form)

## Install

```sh
npm install @mgcrea/antd-hook-form
```

## Quickstart

```tsx
import React from 'react';
import {Form, FormProps} from '@mgcrea/antd-hook-form';

function App() {
  const onSubmit = (data) => console.log(data);

  return (
    <Form labelCol={{span: 4}} wrapperCol={{span: 14}} layout="horizontal" onSubmit={onSubmit}>
      <Form.Item name="input1" label="Input">
        <Input />
      </Form.Item>
      <Form.Row wrapperCol={{span: 14, offset: 4}}>
        <Button htmlType="submit">Button</Button>
      </Form.Row>
    </Form>
  );
}
```
npm package: @mgcrea/antd-place-picker
Description: AntDesign powered PlacePicker leveraging react-map-gl
Latest version: 0.4.4

<!-- markdownlint-disable no-inline-html -->

# antd-place-picker

<p align="center">
  <a href="https://www.npmjs.com/package/@mgcrea/antd-place-picker">
    <img src="https://img.shields.io/npm/v/@mgcrea/antd-place-picker.svg?style=for-the-badge" alt="npm version" />
  </a>
  <!-- <a href="https://www.npmjs.com/package/@mgcrea/antd-place-picker">
    <img src="https://img.shields.io/npm/dt/@mgcrea/antd-place-picker.svg?style=for-the-badge" alt="npm total downloads" />
  </a> -->
  <a href="https://www.npmjs.com/package/@mgcrea/antd-place-picker">
    <img src="https://img.shields.io/npm/dm/@mgcrea/antd-place-picker.svg?style=for-the-badge" alt="npm monthly downloads" />
  </a>
  <a href="https://www.npmjs.com/package/@mgcrea/antd-place-picker">
    <img src="https://img.shields.io/npm/l/@mgcrea/antd-place-picker.svg?style=for-the-badge" alt="npm license" />
  </a>
  <a href="https://github.com/mgcrea/antd-place-picker/actions/workflows/main.yml">
    <img src="https://img.shields.io/github/workflow/status/mgcrea/antd-place-picker/main?style=for-the-badge" alt="github main workflow" />
  </a>
</p>

## Features

- Provides a `<PlacePicker />` powered-by [AntDesign](https://ant.design/) `<Select />` leveraging [react-map-gl](https://github.com/visgl/react-map-gl)
- Written from the ground up with [TypeScript](https://www.typescriptlang.org/)

## Docs

- [Storybook](https://mgcrea.github.io/antd-place-picker)

## Install

```sh
npm install @mgcrea/antd-place-picker
```

## Quickstart

```tsx
import React from 'react';
import {Form, FormProps} from 'antd';
import {PlacePicker} from '@mgcrea/antd-place-picker';
import '@mgcrea/antd-place-picker/lib/esm/style.less';

function App() {
  const onSubmit = (data) => console.log(data);

  return (
    <Form labelCol={{span: 4}} wrapperCol={{span: 14}} layout="horizontal" onSubmit={onSubmit}>
      <Form.Item name="place">
        <PlacePicker />
      </Form.Item>
    </Form>
  );
}
```
npm package: @mgcrea/astro-background-image
Description: Simple BackgroundImage component for astro
Author: Olivier Louvignes
Latest version: 0.2.1

# @mgcrea/astro-background-image

Basic component to render a background image with Astro.

- Leverages the `getImage()` helper from `astro:assets` to generate responsive image URLs.
- Supports `srcset` and `widths` attributes.

```sh
npm install --dev @mgcrea/astro-background-image
# or
pnpm add --save-dev @mgcrea/astro-background-image
```

## Usage

```astro
---
import BackgroundImage from '@mgcrea/astro-background-image';

import heroSrc from "src/assets/hero.jpg";
---

<section id="hero" class="relative">
 <BackgroundImage src={heroSrc} class="bg-cover">
 <div>Hero</div>
</section>
```
npm package: @mgcrea/react-native-tone-generator
Description: ToneGenerator
Author: Olivier Louvignes
Latest version: 0.3.1

# react-native-tone-generator

foo

## Installation

```sh
npm install react-native-tone-generator
```

## Usage

```js
import { multiply } from 'react-native-tone-generator';

// ...

const result = await multiply(3, 7);
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @mgcrea/vite-plugin-ant-design
Description: Quick support for AntDesign in your Vite project
Author: Olivier Louvignes
Latest version: 1.5.0

# vite-plugin-ant-design

<p align="center">
  <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-ant-design">
    <img src="https://img.shields.io/npm/v/@mgcrea/vite-plugin-ant-design.svg?style=for-the-badge" alt="npm version" />
  </a>
  <!-- <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-ant-design">
    <img src="https://img.shields.io/npm/dt/@mgcrea/vite-plugin-ant-design.svg?style=for-the-badge" alt="npm total downloads" />
  </a> -->
  <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-ant-design">
    <img src="https://img.shields.io/npm/dm/@mgcrea/vite-plugin-ant-design.svg?style=for-the-badge" alt="npm monthly downloads" />
  </a>
  <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-ant-design">
    <img src="https://img.shields.io/npm/l/@mgcrea/vite-plugin-ant-design.svg?style=for-the-badge" alt="npm license" />
  </a>
  <a href="https://github.com/mgcrea/vite-plugin-linked-dependencies/actions/workflows/main.yml">
    <img src="https://img.shields.io/github/workflow/status/mgcrea/vite-plugin-linked-dependencies/main?style=for-the-badge" alt="github main workflow" />
  </a>
</p>

Quick support for [AntDesign](https://ant.design) in your [Vite](https://vitejs.dev) project

## Features

- Properly loads Ant Design `.less` files along javascript imports using
  [vite-plugin-imp](https://github.com/onebay/vite-plugin-imp)
- Enables you to pass a less config file to modify Ant Design variables using
  [less-vars-to-js](https://github.com/michaeltaranto/less-vars-to-js)

## Install

```sh
npm install --save-dev @mgcrea/vite-plugin-ant-design
```

## Quickstart

```tsx
// vite.config.ts
import antDesignPlugin from '@mgcrea/vite-plugin-ant-design';

export default defineConfig({
  plugins: [
    antDesignPlugin({
      lessVarsFile: 'src/config/antd.less',
      modifyVars: {
        '@primary-color': '#1DA57A',
      },
    }),
  ],
});
```
npm package: @mgcrea/vite-plugin-import-file
Description: ## Install
Author: Olivier Louvignes
Latest version: 1.1.0

# vite-plugin-import-file

## Install

```sh
npm install --save @mgcrea/vite-plugin-import-file
# or
pnpm add @mgcrea/vite-plugin-import-file
```

## Usage

```ts
import file from "test/fixtures/image.jpg?file";

/*
file: File {
    lastModified: 1713795431270,
    name: 'image.jpg',
    type: 'image/jpeg',
    size: 19792
  }
*/
```

## Authors

- [Olivier Louvignes](https://github.com/mgcrea) <<olivier@mgcrea.io>>

## License

```txt
The MIT License

Copyright (c) 2024 Olivier Louvignes <olivier@mgcrea.io>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```
npm package: @mgcrea/vite-plugin-linked-packages
Description: Automatically alias linked packages peer dependencies
Author: Olivier Louvignes
Latest version: 1.2.2

# vite-plugin-linked-packages

<p align="center">
  <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-linked-packages">
    <img src="https://img.shields.io/npm/v/@mgcrea/vite-plugin-linked-packages.svg?style=for-the-badge" alt="npm version" />
  </a>
  <!-- <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-linked-packages">
    <img src="https://img.shields.io/npm/dt/@mgcrea/vite-plugin-linked-packages.svg?style=for-the-badge" alt="npm total downloads" />
  </a> -->
  <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-linked-packages">
    <img src="https://img.shields.io/npm/dm/@mgcrea/vite-plugin-linked-packages.svg?style=for-the-badge" alt="npm monthly downloads" />
  </a>
  <a href="https://www.npmjs.com/package/@mgcrea/vite-plugin-linked-packages">
    <img src="https://img.shields.io/npm/l/@mgcrea/vite-plugin-linked-packages.svg?style=for-the-badge" alt="npm license" />
  </a>
  <a href="https://github.com/mgcrea/vite-plugin-linked-dependencies/actions/workflows/main.yml">
    <img src="https://img.shields.io/github/workflow/status/mgcrea/vite-plugin-linked-dependencies/main?style=for-the-badge" alt="github main workflow" />
  </a>
</p>

## Features

- Automatically hoist your linked packages peer dependencies as local aliases inside your local `node_modules` folder.

## Install

```sh
npm install --save-dev @mgcrea/vite-plugin-linked-packages
```

## Quickstart

```tsx
// vite.config.ts
import linkedPackagesPlugin from '@mgcrea/vite-plugin-linked-packages';

export default defineConfig({
  plugins: [linkedPackagesPlugin()],
});
```