open-index/open-npm huggingface dataset:
npm package: @loveswap7/sdk
Description: 🛠 An SDK for building applications on top of Loveswap.
Latest version: 0.0.10

# Loveswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)


In-depth documentation on this SDK is available at [loveswap.org](https://loveswap.org/docs/v1/SDK/getting-started/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/Loveswap/loveswap-sdk.git
```

Move into the loveswap-sdk working directory

```sh
cd loveswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @lovetap/lovetap.js
Description: The official Lovetap browser SDK
Author: Duncan Smith
Latest version: 1.1.3

# @lovetap/lovetap.js

## Installation

```sh
npm install @lovetap/lovetap.js
```

or use a CDN:

```html
<script async src="https://unpkg.com/@lovetap/lovetap.js"></script>
```

## Usage

```html
<html>
  <head>
    <script async src="https://unpkg.com/@lovetap/lovetap.js"></script>
  </head>
  <body x-lovetap-api-key="1">
    <div x-lovetap-page-key="browserTest">
      <div x-lovetap-reaction="👍" style="width: 3rem; height: 10rem"></div>
    </div>
  </body>
</html>
```

More docs coming soon.

## License

This library is licensed under the MIT license. See the `LICENSE` file for more details.

© 2023 Lovetap LLC
npm package: @lovetap/websocket-client
Description: The official Lovetap WebSocket API client
Author: Duncan Smith
Latest version: 2.1.1

# @lovetap/websocket-client

[![CI](https://github.com/lovetap-fm/websocket-client/actions/workflows/ci.yml/badge.svg)](https://github.com/lovetap-fm/websocket-client/actions/workflows/ci.yml)

The official [Lovetap](https://lovetap.fm) WebSocket API client. This is a low-level client that is used by the Lovetap SDKs. There are definitely easier ways to connect to Lovetap, such as [the vanilla JS SDK](https://github.com/lovetap-fm/lovetap.js), but you are welcome to use this library directly.

## Installation

```bash
npm install @lovetap/websocket-client
```

## Usage

Connections to the Lovetap WebSocket API are authenticated using an API key. You can find your API keys on the My Account page.

```js
import { LovetapWebSocketClient } from "@lovetap/websocket-client";

const client = new LovetapWebSocketClient();

// For verbose logging, you can use `new LovetapWebSocketClient({logLevel: "debug"})`

await client.connect({
  apiKey: "YOUR_API_KEY",
  onServerMessage: (message) => console.log(message),
});

client.visit("my-page-key");

client.react("my-page-key", "👍");

client.leave("my-page-key");

setTimeout(() => {
  client.disconnect();
}, 1000);
```

© 2023 Lovetap LLC
npm package: @loveyunk/eslint-config-vue-prettier-airbnb
Description: vue lint config for airbnb, prettier
Author: loveyunk
Latest version: 1.3.0

# eslint-config-vue-prettier-airbnb

## Install

```shell
npm install @loveyunk/eslint-config-vue-prettier-airbnb --save-dev
```

## Usage

eslint config:

```js
{
  "extends": "@loveyunk/eslint-config-vue-prettier-airbnb"
}
```

## License

MIT © [loveyunk](https://github.com/loveyunk)
npm package: @loveyunk/prettier-config
Description: My personal Prettier configuration
Author: loveyunk
Latest version: 1.0.0

# prettier-config

> My personal [Prettier](https://prettier.io) config.

## Install

```shell
npm install @loveyunk/prettier-config --save-dev
```

## Usage

package.json:

```jsonc
{
  // ...
  "prettier": "@loveyunk/prettier-config"
}
```

## License

MIT © [loveyunk](https://github.com/loveyunk)
npm package: @loveyunk/vue-base-button
Description: vue-base-button
Author: loveyunk
Latest version: 1.0.0

# vue-base-button

> Vue Base Button Component

## Install

```bash
npm install @loveyunk/vue-base-button --save
```

## Usage

```js
<template>
  <vue-base-button>Button</vue-base-button>
</template>

<script>
  import VueBaseButton from '@loveyunk/vue-base-button';
  export default {
    components: { VueBaseButton }
  }
</script>
```

## License

MIT © [loveyunk](https://github.com/loveyunk)
npm package: @lovice/api
Description: Lovice API definitions
Author: Lucas Santos
Latest version: 0.3.4

# @lovice/api

TypeScript/JavaScript client library for the Device Locator API. This package provides type-safe access to the Device Locator service APIs.

## Installation

```bash
npm install @lovice/api
# or
yarn add @lovice/api
# or
pnpm add @lovice/api
# or 
bun install @lovice/api
```

## Usage

### Basic Setup Example

```typescript
import { createClient } from "@connectrpc/connect";
import { createGrpcWebTransport } from "@connectrpc/connect-web";
import { PositionsService } from '@lovice/api';

// Create a transport
const transport = createGrpcWebTransport({
  baseUrl: 'https://api.device-locator.com',
  useBinaryFormat: true,
});

// Create the client
const client = createClient(PositionsService, transport);

// Example: Using the positions service
const position = await client.getPosition({ deviceId: "device-123" });
```

### API Documentation

#### Types

The package includes the following type definitions:

- `Position` - Represents a device's location with latitude, longitude, altitude, speed, and heading
- `DevicePosition` - Combines a device ID with its position
- `Device` - Device information including ID and name
- `User` - User information including ID, name, and associated devices
- `Group` - Group information including ID, name, description, and associated users

#### Services

This is not a full list of services. These are just some examples.

- `PositionsService` - Service for managing device positions
  - `sendPositions(positions: DevicePosition[]): Promise<SendPositionsResponse>` - Send multiple device position updates
  - `getGroup(groupId: string): Promise<GetGroupResponse>` - Get a group by ID, including user data and their devices
  - `getGroupPositions(groupId: string): Promise<GetGroupPositionsResponse>` - Get positions for all devices in a group

## Development

This package is automatically generated from Protocol Buffer definitions. Do not modify the generated code directly. Instead, make changes to the proto files in the parent repository.

### Building

The package is built using the following tools:

- `buf` - Protocol Buffer compiler
- `protoc-gen-es` - TypeScript code generator
- `protoc-gen-connect-es` - Connect-ES code generator

To rebuild the package:

```bash
make generate
```

## License

This package is part of the Device Locator project and is subject to the same license terms as the main project.
npm package: @loview/charts
Description: @loview/charts
Latest version: 3.1.2

# @loview/charts

> @loview/charts.

See our website [@loview/charts](https://umijs.org/plugins/charts) for more information.

## Install

Using npm:

```bash
$ npm install --save @loview/charts  --registry http://10.4.5.76:5000/
```

or using yarn:

```bash
$ yarn add @loview/charts --registry http://10.4.5.76:5000/
```
npm package: @loview/common
Description: @loview/common
Latest version: 3.1.1

# @loview/common

> @loview/common.

See our website [@loview/common](http://10.4.5.76:3001/#/components) for more information.

## Install

Using npm:

```bash
$ npm install --save @loview/common
```

or using yarn:

```bash
$ yarn add @loview/common
```
npm package: @loview/components
Description: @loview/components
Latest version: 3.1.0

# @loview/components

> @loview/components.

See our website [@loview/common](https://umijs.org/plugins/common) for more information.

## Install

Using npm:

```bash
$ npm install --save @loview/components  --registry http://10.4.5.76:5000/
```

or using yarn:

```bash
$ yarn add @loview/components --registry http://10.4.5.76:5000/
```
npm package: @loview/flowchart
Description: @loview/flowchart
Latest version: 3.1.4

# @loview/flowchart

> @loview/flowchart.

See our website [@loview/flowchart](https://umijs.org/plugins/charts) for more information.

## Install

Using npm:

```bash
$ npm install --save @loview/flowchart  --registry http://10.4.5.76:5000/
```

or using yarn:

```bash
$ yarn add @loview/flowchart --registry http://10.4.5.76:5000/
```
npm package: @loview/isecencry
Description: @loview/isecencry
Latest version: 3.0.4

---
title: utils-工具函数库
group:
  path: /
nav:
  title:
  path: /components
---

# @loview/utils

## Install

Using npm:

```bash
$ npm install --save  @loview/isecencry --registry http://10.4.5.76:5000/
```

or using yarn:

```bash
$ yarn add @loview/isecencry --registry http://10.4.5.76:5000/
```
npm package: @loview/lowcode-react-antd
Description: lowcode components
Latest version: 1.0.3

# @loview/lowcode-react-components

[![NPM version](https://img.shields.io/npm/v/@loview/lowcode-react-components.svg?style=flat)](https://npmjs.org/package/@loview/lowcode-react-components)
[![NPM downloads](http://img.shields.io/npm/dm/@loview/lowcode-react-components.svg?style=flat)](https://npmjs.org/package/@loview/lowcode-react-components)

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT
npm package: @loview/lowcode-react-foundation
Description: foundation components
Latest version: 1.0.2

# @loview/lowcode-react-foundation

[![NPM version](https://img.shields.io/npm/v/@loview/lowcode-react-foundation.svg?style=flat)](https://npmjs.org/package/@loview/lowcode-react-foundation)
[![NPM downloads](http://img.shields.io/npm/dm/@loview/lowcode-react-foundation.svg?style=flat)](https://npmjs.org/package/@loview/lowcode-react-foundation)

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT