open-index/open-npm huggingface dataset:
npm package: @fluree/admin-react
Description: Fluree Admin UI component library
Author: jdorety
Latest version: 1.0.31

# @fluree/admin-react

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@fluree/admin-react.svg)](https://www.npmjs.com/package/@fluree/admin-react) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-typescript-brightgreen.svg)](https://typescriptlang.com)

## Install

```bash
npm install --save @fluree/admin-react
```

## Components

### FlureeQL

#### Example

![FlureeQL page shot](./docs/assets/FlureeQL-page.png)

```javascript
import { FlureeQL } from 'fluree-admin-components'

const App = () => {
  return (
    <FlureeQL
      allowTransact
      _db={{
        db: 'example/mdm',
        ip: 'http://localhost:8090',
        dbs: ['example/mdm']
      }}
    />
  )
}
```

Contains everything you need to get started querying and transacting against your Fluree ledger using the FlureeQL query language. Currently supports unsigned queries (including `block`, `history`, and `multi-query`) and transactions.

#### Props

| Prop          | Required ? | Type            | Default   | Description                                                  |
| ------------- | ---------- | --------------- | --------- | ------------------------------------------------------------ |
| \_db          | ✅         | object          |           | Object containing Fluree ledger data (detailed below)        |
| allowTransact |            | boolean         | false     | If set to `true`, user can make transactions to ledger       |
| withHistory   |            | boolean         | false     | If set to `true`, History component is available             |
| jsonMode      |            | 'json', 'json5' | 'json'    | Determines Editor syntax features (linting / beautification) |
| token         |            | string (JWT)    | undefined | A JWT token to pass into HTTP requests                       |
| allowKeyGen   |            | boolean         | false     | Allow access to Public/Private Key Generation functionality  |
| allowSign     |            | boolean         | false     | Allow for signing queries with private key                   |

##### `_db` Object

| key | value                        | type   |
| --- | ---------------------------- | ------ |
| db  | ledger name                  | string |
| ip  | base url for Fluree instance | string |


## License

© Fluree, PBC
npm package: @fluree/cra-template-fluree
Description: The official Fluree template for Create React App.
Latest version: 0.2.3

Fluree [Create React App](https://github.com/facebook/create-react-app) template.

To start a new Fluree React project using this template, run `npx create-react-app my-app --template @fluree/fluree`. Replace my-app with whatever you want to name your project.
npm package: @flureejs/config-coverage
Description: Common test coverage configuration for `FlureeJS` libraries.
Author: Pedro Miguel Díaz Peña
Latest version: 0.1.5

# @flureejs/config-coverage

Common test coverage configuration for `FlureeJS` libraries.

Tool: [nyc](https://istanbul.js.org/)

Exposed CLI command:

- `flureejs-config-coverage`

## Usage

Add `.nycrc`:

```json
{
  "extends": "@flureejs/config-coverage"
}
```

Use scipt above in `package.json`:

```json
  "scripts": {
    "coverage": "flureejs-config-coverage"
  }
```
npm package: @flureejs/config-format
Description: Common formatting configuration for `FlureeJS` libraries.
Author: Pedro Miguel Díaz Peña
Latest version: 0.1.5

# @flureejs/config-format

Common formatting configuration for `FlureeJS` libraries.

Tool: [Prettier](https://prettier.io/)

Exposed CLI commands:

- `flureejs-config-format`
- `flureejs-config-format-fix`

## Usage

Add `prettier.config.js`:

```javascript
module.exports = require('@flureejs/config-format');
```

Add `.prettierignore`:

```shell
node_modules
.vscode
package.json
dist
.nyc_output
```

Use CLI commands above in `package.json`:

```json
  "scripts": {
    "format": "flureejs-config-format",
    "format-fix": "flureejs-config-format-fix"
  }
```
npm package: @flureejs/config-tslint
Description: Common linting configuration for `FlureeJS` libraries.
Author: Pedro Miguel Díaz Peña
Latest version: 0.1.5

# @flureejs/config-tslint

Common linting configuration for `FlureeJS` libraries.

Tool: [TSLint](https://palantir.github.io/tslint/)

Supported Version: `^5.12.0`

Exposed CLI commands:

- `flureejs-config-tslint`
- `flureejs-config-tslint-fix`
- `flureejs-config-lint`
- `flureejs-config-lint-fix`

## Usage

Add `tslint.json`:

```json
{
  "extends": "@flureejs/config-tslint"
}
```

Use CLI commands above in `package.json`:

```json
  "scripts": {
    "tslint":     "flureejs-config-tslint",
    "tslint:fix": "flureejs-config-tslint --fix",
    "lint":       "flureejs-config-lint",
    "lint:fix":   "flureejs-config-lint --fix"
  }
```

## Installation

This package requires [`typestrict`](https://github.com/krzkaczor/TypeStrict) to be installed.