open-index/open-npm huggingface dataset:
npm package: @segma/segma-ui
Description: ``` npm install ```
Author: cld
Latest version: 3.0.50

# SegmaUI

## 简介

segma 团队 UI 风格库

## 仓库地址

https://github.com/Embrace924/segma-ui.git

## 快速开始

### 1.安装

> 2.3.7 之后版本均发布在 segma 内部私有 npm 仓库内发布
> 因安全原因，将不再 npm 上维护

```
npm i @segma/segma-ui
```

### 2.使用

> 2.2.0 以上版本只抛出样式文件
> 只需在引入 element-ui 的文件中引入改样式文件即可
> 例如：element.js 文件中

```js
    import '@segma/segma-ui';//引入样式文件
    import {
        Pagination,
        Dialog,
        Autocomplete,
        Dropdown,
        ......
        }
```

### 3.参考文件

[SegmaUI 组件库使用文档](http://blog.dev.segma.tech/pages/71e517/#%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97)

### 4.更新项目

[segma 包工具库](http://npm.segma.tech/)

```
npm run lib  //打包项目
npm publish  //更新项目

```

#### 更新图标

```bash
npm run icon
```

更多信息可参考[@segma/icon-update-tool](http://npm.segma.tech/-/web/detail/@segma/icon-update-tool)

##### 最佳实践

因为更新工具需要本地仓库无其他变动等条件，为避免影响本地的开发作业，最好的方式就是拉取一个本地仓库专门用于图标更新。

#### 更新 组件样式

css 文件夹中每个组件 对应一个样式包 更改对应的样式文件
npm package: @segmed/cornerstonejs-core
Description: Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the [OHIF Viewer](https://ohif.org/).
Latest version: 1.27.3

# @cornerstonejs/core

Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the [OHIF Viewer](https://ohif.org/).

This library, _@cornerstonejs/core_, provides CPU and GPU-based rendering support, image/volume loading API, and caching utilities.

You can find the Cornerstone documentation [on the website](https://cornerstonejs.org/).
npm package: @segmed/cornerstonejs-streaming-image-volume-loader
Description: Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the [OHIF Viewer](https://ohif.org/).
Latest version: 1.27.3

# @cornerstonejs/streaming-image-volume-loader

Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the [OHIF Viewer](https://ohif.org/).

This library, _@cornerstonejs/streaming-image-volume-loader_, provides a volume loader which allows for individual image slices (e.g. part of an MRI or CT acquisition) to be streamed in to fill an entire volumetric array. During this slice-by-slice streaming, the user can continue to interact with the volume.

You can find the Cornerstone documentation [on the website](https://cornerstonejs.org/).
npm package: @segmed/cornerstonejs-tools
Description: Cornerstone3D Tools
Latest version: 1.27.3-segmed-2

# @cornerstonejs/tools

Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the [OHIF Viewer](https://ohif.org/).

This library, _@cornerstonejs/tools_, provides manipulation, annotation, and segmentation tools as well as a tool framework for building interactive imaging applications.

You can find the Cornerstone documentation [on the website](https://cornerstonejs.org/).
npm package: @segment-dev/segment
Description: Official Node.js client for Segment
Author: Sachin Saini
Latest version: 0.0.2-beta.6

# Segment Node

A simple and modern [Segment](https://github.com/segment-dev/segment) client for Node.js with 0 dependencies.

### Installation

```shell
npm i @segment-dev/segment
```

## Usage

### Basic Example

```javascript
import { SegmentClient } from "@segment-dev/segment";

const client = new SegmentClient({ host: "127.0.0.1", port: 1698 });

await client.connect();

const ping = await client.ping();
const create = await client.create("test", { ifNotExists: true });
const set = await client.set("test", "foo", "bar", { ifNotExists: true });
const get = await client.get("test", "foo");

// get value as buffer
const getBuffer = await client.get("test", "foo", { asBuffer: true });
const keyspaces = await client.keyspaces();
console.log({ ping, set, get, getBuffer, create, keyspaces });

/// output
{
  ping: 'PONG',
  set: false,
  get: 'bar',
  getBuffer: <Buffer 62 61 72>,
  create: false,
  keyspaces: [ { name: 'test', evictor: 'NOP' } ]
}
```

### All Commands

-   `async create(keyspace: string | Buffer, options?: CreateCommandOptions)`
-   `async drop(keyspace: string | Buffer, options?: DropCommandOptions)`
-   `async set(keyspace: string | Buffer, key: string | Buffer, value:string | Buffer, options?: SetCommandOptions)`
-   `async get(keyspace: string | Buffer, key: string | Buffer, options?: SegmentCommandOptions)`
-   `async del(keyspace: string | Buffer, key: string | Buffer, options?: SegmentCommandOptions)`
-   `async ttl(keyspace: string | Buffer, key: string | Buffer, options?: SegmentCommandOptions)`
-   `async count(keyspace: string | Buffer, options?: SegmentCommandOptions)`
-   `async keyspaces(options?: SegmentCommandOptions)`
-   `async ping(options?: SegmentCommandOptions)`