open-index/open-npm huggingface dataset:
npm package: @revolut/babel-preset-library
Description: Babel preset used by @revolut/library-scripts
Latest version: 1.1.0

# @revolut/library-babel-preset

This package includes the Babel preset used by `@revolut/library-scripts.` <br>

Usage:

All options are optional, and default to false.

```json
{
  "presets": [
    [
      "@revolut/babel-preset-library",
      {
        "useESModules": true,
        "useStyledComponents": true,
        "usePolished": true,
        "useLodash": true,
        "useRamda": true,
        "useHelpers": true,
        "useTypescript": true
      }
    ]
  ]
}
```
npm package: @revolut/checkout
Description: RevolutCheckout.js as npm module
Author: John Grishin
Latest version: 1.1.25

# [RevolutCheckout.js](https://developer.revolut.com/docs/revolut-checkout-js/)

[![](https://flat.badgen.net/npm/v/@revolut/checkout)](https://www.npmjs.com/package/@revolut/checkout) [![](https://flat.badgen.net/bundlephobia/minzip/@revolut/checkout)](https://bundlephobia.com/result?p=@revolut/checkout)

## Install

<pre>
<a href="https://www.npmjs.com">npm</a> install @revolut/checkout
</pre>

<pre>
<a href="https://yarnpkg.com">yarn</a> add @revolut/checkout
</pre>

## Usage

### `RevolutCheckout`

#### Params

- `token: string` — `public_id` from [create payment order](https://developer.revolut.com/api-reference/merchant/#operation/createOrder) API request
- <code>mode?: '<a href="https://business.revolut.com">prod</a>' | '<a href="https://sandbox-business.revolut.com">sandbox</a>'</code> — [API](https://developer.revolut.com/api-reference/merchant/) environment, defaults to `'prod'`

```js
import RevolutCheckout from '@revolut/checkout'

RevolutCheckout('TOKEN_XXX', 'prod').then((instance) => {
  // Work with instance:

  // instance.payWithPopup()
  // instance.createCardField()
  // ...
})
```

For more information read our [official documentation](https://developer.revolut.com/docs/revolut-checkout-js/).


### TypeScript support

Following types are availble for import:

```ts
import {
  ValidationErrorType,
  ValidationError,
  RevolutCheckoutErrorType,
  RevolutCheckoutError,
  FieldStatus,
  FieldClasses,
  FieldStyles,
  RevolutCheckoutCardField,
  RevolutCheckoutInstance,
} from '@revolut/checkout'
```

## Docs

- [RevolutCheckout.js reference](https://developer.revolut.com/docs/revolut-checkout-js/)
- [API guide](https://developer.revolut.com/docs/accept-payments/)
- [API reference](https://developer.revolut.com/api-reference/merchant/)
- [Integration examples](https://developer.revolut.com/docs/accept-payments/#tutorials)
- [Plugins](https://developer.revolut.com/docs/accept-payments/#plugins)

---
© 2023 Revolut Ltd
npm package: @revolut/monorepo-overrides
Description: Description
Author: Revolut
Latest version: 1.1.0

# @revolut/monorepo-overrides

[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

---

## ✨ Features

Function for `react-app-rewired` that takes CRA Webpack config and returns a config that tells Webpack
to compile all local @revolut packages using its Main babel-loader (there is a minimal secondary for node_modules)
Also it disables reporting of ForkPlugin for those @revolut packages due to following issue.
[Stackoverflow](https://stackoverflow.com/questions/61491159/how-to-stop-typescript-compiler-from-reporting-compilation-errors-in-symlinked-m)

## 🎬 Getting started

```js
const { webpackRevolutOverrides, jestOverride } = require('@revolut/cra-overrides')
const monorepoOverride = require('@revolut/monorepo-overrides')

module.exports = {
  webpack: (config, env) => {
    // wrap your regular overrides with monorepoOverride funciton
    config = monorepoOverride(webpackRevolutOverrides(config, env))
    return config
  },
  jest: (config) => {
    config = jestOverride(config)
    return config
  },
}
```
npm package: @revolut/ui-kit
Description: Public shim of `@revolut-internal/ui-kit`
Latest version: 15.0.0

# @revolut/ui-kit

Public shim of `@revolut-internal/ui-kit`

## 📦 Install

```sh
$ yarn add @revolut/ui-kit
```

---
Copyright 2018-present Revolut LTD
npm package: @revolut/web-cli
Description: Interactive CLI tool for web projects to provide automation for various tasks
Latest version: 1.8.0

# @revolut/web-cli

Interactive CLI tool for web projects to provide automation for a various task.

## Installation

```
npm i @revolut/web-cli -g
```

Or use npx

```
npx @revolut/web-cli scaffold
# or whatever commands are there
```

## Usage

```
Options:
  -V, --version       output the version number
  -h, --help          display help for command

Commands:
  scaffold [options]  Scaffold any app, library or whatever is available
  help [command]      display help for command

```

### Scaffold

Just run `revolut-web-cli scaffold` and answer an interactive prompts

Alternatively you can pass parameters as flags. If required flag will be missing
you will be asked to provide it using prompts

```
Usage: revolut-web-cli scaffold --project-name my-lib --template library --folder-name

Scaffold any app, library or whatever is available

Options:
  -fn, --folder-name <name>   Name of the folder
  -pn, --package-name <name>  Name of the package (name field in package.json)
  -t, --template <name>       Name of the template
  -h, --help                  display help for command

```

## Development

Run `yarn start` in the root of the that module to enable watch recompilation of the source
code

## Testing

Go to `<root>/tests/web-cli-test` and run `yarn test`