open-index/open-npm huggingface dataset:
npm package: @krypto-wealth/dev
Description: A collection of shared CI scripts and development environment used by @krypto-wealth projects
Author: Krypto Wealth
Latest version: 0.63.20

# @krypto-wealth/dev


A collection of shared CI scripts and development environment (configuration, dependencies) used by [@krypto-wealth](https://github.com/krypto-wealth) projects. Included here -

- [style config](config/) Common configurations for [Babel](https://babeljs.io/), [ESLint](https://eslint.org/), [Jest](https://facebook.github.io/jest/).
- [flow definitions](flow-typed/) A collection of 3rd-party [flow](https://flow.org/) definitions used by libraries and projects.
- [build scripts](scripts/) Build scripts that take care of generating documentation, publishing to npm and other common tasks.
npm package: @krypto-wealth/extension-base
Description: Functions, classes and other utilities used in @krypto-wealth/extension
Author: Kwe Chain
Latest version: 1.0.2

# @krypto-wealth/extension-base

Functions, classes and other utilities used in `@krypto-wealth/extension`. These include:
- background script handlers,
- message passing,
- scripts injected inside pages.

They are primarily meant to be used in `@krypto-wealth/extension`, and can be broken without any notice to cater for `@krypto-wealth/extension`'s needs. They are exported here if you wish to use part of them in the development of your own extension.
npm package: @krypto-wealth/extension-inject
Description: A generic injector (usable to any extension), that populates the base exposed interfaces to be used by dapps.
Author: Kwe Chain
Latest version: 1.0.2

# @krypto-wealth/extension-inject

This is a basic extension injector that manages access to the global objects available. As an extension developer, you don't need to manage access to the window object manually, by just calling  enable here, the global object is setup and managed properly. From here any dapp can access it with the `@krypto-wealth/extension-dapp` package;

## Usage

```js
import { injectExtension } from '@krypto-wealth/extension-inject';

// this is the function that will be exposed to be callable by the dapp. It resolves a promise
// with the injected interface, (see `Injected`) when the dapp at `originName` (url) is allowed
// to access functionality
function enableFn (originName: string): Promise<Injected> {
  ...
}

// injects the extension into the page
injectExtension(enableFn, { name: 'myExtension', version: '1.0.1' });
```
npm package: @krypto-wealth/keyring
Description: Keyring management
Author: Krypto Wealth
Latest version: 7.8.2

# @krypto-wealth/keyring

Key management of user accounts including generation and retrieval of keyring pairs from a variety of input combinations.

## Usage

Installation -

```
yarn add @krypto-wealth/keyring
```

Classes and Functions can be imported as follows:

```js
import Keyring from '@krypto-wealth/keyring';
```
npm package: @krypto-wealth/util
Description: A collection of useful utilities for @krypto-wealth
Author: Kwe Finance
Latest version: 7.8.2

# @krypto-wealth/util

Various useful utility functions that are used across all projects in the [@krypto-wealth](https://kwe.io) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.

## Usage

Installation -

```
yarn add @krypto-wealth/util
```

Functions can be imported directly from the package, e.g.

```js
import { isHex } from '@krypto-wealth/util';
```
npm package: @krypto-wealth/util-crypto
Description: A collection of useful crypto utilities for @krypto-wealth
Author: Krypto Wealth
Latest version: 7.8.2

# @krypto-wealth/util-crypto

Various useful cyrpto utility functions that are used across all projects in the [@krypto-wealth](https://kwe.io) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.

## Usage

Installation:

```
yarn add @krypto-wealth/util-crypto
```

Functions can be imported as follows:

```js
import { mnemonicGenerate } from '@krypto-wealth/util-crypto';
```
npm package: @krypto-wealth/x-global
Description: A cross-environment global replacement
Author: Krypto Wealth
Latest version: 7.8.2

# @krypto-wealth/x-global

A cross-environment global object. checks for global > self > window > this.

Install it via `yarn add @krypto-wealth/x-global`

```js
import { xglobal } from '@krypto-wealth/x-global';

console.log(typeof xglobal.TextEncoder);
```
npm package: @krypto-wealth/x-textdecoder
Description: A TextDecoder replacement
Author: Krypto Wealth
Latest version: 7.8.2

# @krypto-wealth/x-textdecoder

A cross-environment TextDecoder.

Install it via `yarn add @krypto-wealth/x-textdecoder`

```js
import { TextDecoder } from '@krypto-wealth/x-textdecoder';

...
const decoder = new TextDecoder('utf-8');
```
npm package: @krypto-wealth/x-textencoder
Description: A TextDecoder replacement
Author: Krypto Wealth
Latest version: 7.8.2

# @krypto-wealth/x-textencoder

A cross-environment TextEncoder.

Install it via `yarn add @krypto-wealth/x-textencoder`

```js
import { TextEncoder } from '@krypto-wealth/x-textencoder';

...
const encoder = new TextEncoder();
```