# globalbridge-lsf-custom

> GlobalBridge in-house labeling tool, originating from LSF.

Latest version **1.0.2** (published 2024-03-07) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install globalbridge-lsf-custom
pnpm add globalbridge-lsf-custom
yarn add globalbridge-lsf-custom
bun add globalbridge-lsf-custom
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2024-03-07 |
| First published | 2024-02-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 16 |
| Unpacked size | 17.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Maintainers | hojinjgb |
| Keywords | labeling |

## Links

- npm: https://www.npmjs.com/package/globalbridge-lsf-custom
- npm.io page: https://npm.io/package/globalbridge-lsf-custom

## Dependencies (16)

- [d3](https://npm.io/package/d3.md) ^5.16.0
- [million](https://npm.io/package/million.md) ^3.0.2
- [rc-tree](https://npm.io/package/rc-tree.md) ^5.3.0
- [cross-env](https://npm.io/package/cross-env.md) ^7.0.3
- [papaparse](https://npm.io/package/papaparse.md) ^5.3.1
- [react-window](https://npm.io/package/react-window.md) ^1.8.6
- [magic-wand-js](https://npm.io/package/magic-wand-js.md) ^1.0.0
- [@thi.ng/rle-pack](https://npm.io/package/@thi.ng/rle-pack.md) ^2.1.6
- [@ant-design/icons](https://npm.io/package/@ant-design/icons.md) ^4.8.0
- [react-konva-utils](https://npm.io/package/react-konva-utils.md) ^0.2.0
- [react-beautiful-dnd](https://npm.io/package/react-beautiful-dnd.md) ^13.1.1
- [babel-plugin-istanbul](https://npm.io/package/babel-plugin-istanbul.md) ^6.1.1
- [babel-preset-react-app](https://npm.io/package/babel-preset-react-app.md) ^9.1.1
- [@martel/audio-file-decoder](https://npm.io/package/@martel/audio-file-decoder.md) ^2.4.0-beta.14
- [@types/react-beautiful-dnd](https://npm.io/package/@types/react-beautiful-dnd.md) ^13.1.3
- [react-virtualized-auto-sizer](https://npm.io/package/react-virtualized-auto-sizer.md) ^1.0.6

## Recent versions

- 1.0.2 (latest) — 2024-03-07
- 1.0.1 — 2024-03-07
- 1.0.0 — 2024-02-13

## README

# Label Studio Frontend
<br/>

**Label Studio is an open-source, configurable data annotation tool. :v:**

Frontend, as its name suggests, is the frontend library developed using React and mobx-state-tree, distributed as an NPM package. You can include it in your applications and provide data annotation support to your users. It can be granularly customized and extended.

<br/>

## Install

```bash
npm install globalbridge-lsf-custom
```

## Usage

**With Webpack**

```js
import LabelStudio from 'globalbridge-lsf-custom';
import 'globalbridge-lsf-custom/build/static/css/main.css';
```

**With UNPKG.com**

```xhtml
<!-- Include Label Studio stylesheet -->
<link href="https://unpkg.com/globalbridge-lsf-custom@1.0.2/build/static/css/" rel="stylesheet">

<!-- Create the Label Studio container -->
<div id="label-studio"></div>

<!-- Include the Label Studio library -->
<script src="https://unpkg.com/globalbridge-lsf-custom@1.0.2/build/static/js/"></script>
```

**Initialization**

```xhtml
<!-- Initialize Label Studio -->
<script>
  var labelStudio = new LabelStudio('label-studio', {
    config: `
      &lt;View>
        &lt;Image name="img" value="$image">&lt;/Image>
        &lt;RectangleLabels name="tag" toName="img">
          &lt;Label value="Hello">&lt;/Label>
          &lt;Label value="World">&lt;/Label>
        &lt;/RectangleLabels>
      &lt;/View>
    `,

    interfaces: [
      "panel",
      "update",
      "submit",
      "controls",
      "side-column",
      "annotations:menu",
      "annotations:add-new",
      "annotations:delete",
      "predictions:menu",
    ],

    user: {
      pk: 1,
      firstName: "James",
      lastName: "Dean"
    },

    task: {
      annotations: [],
      predictions: [],
      id: 1,
      data: {
        image: "https://htx-misc.s3.amazonaws.com/opensource/label-studio/examples/images/nick-owuor-astro-nic-visuals-wDifg5xc9Z4-unsplash.jpg"
      }
    },

    onLabelStudioLoad: function(LS) {
      var c = LS.annotationStore.addAnnotation({
        userGenerate: true
      });
      LS.annotationStore.selectAnnotation(c.id);
    }
  });
</script>
```

## License

This software is licensed under the [Apache 2.0 LICENSE](/LICENSE) © [Heartex](https://www.heartex.com/). 2020

---
_Source: https://npm.io/package/globalbridge-lsf-custom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
