open-index/open-npm huggingface dataset:
npm package: @map3xyz/telemetry
Description: Client library for the Map3 Telemetry API
Author: Amadeo Pellicce
Latest version: 0.0.12

# Map3 Telemetry Client

Typescript Client for our telemetry API. 

![GitHub Workflow Status](https://github.com/map3xyz/telemetry/actions/workflows/map3-telemetry-release.yml/badge.svg?branch=main)

To enable deployment, you will need to:

1. Setup `NPM_TOKEN` secret in GitHub actions ([Settings > Secrets > Actions](https://github.com/gjuchault/typescript-service-starter/settings/secrets/actions))
2. Give `GITHUB_TOKEN` write permissions for GitHub releases ([Settings > Actions > General](https://github.com/gjuchault/typescript-service-starter/settings/actions) > Workflow permissions)

### Typescript

Leverages [esbuild](https://github.com/evanw/esbuild) for blazing fast builds, but keeps `tsc` to generate `.d.ts` files.
Generates two builds to support both ESM and CJS.

Commands:

- `build`: runs typechecking then generates CJS, ESM and `d.ts` files in the `build/` directory
- `clean`: removes the `build/` directory
- `type:dts`: only generates `d.ts`
- `type:check`: only run typechecking
- `type:build`: only generates CJS and ESM

### Tests

typescript-library-starter uses [vitest](https://vitest.dev/). The coverage is done through vitest, using [c8](https://github.com/bcoe/c8).

Commands:

- `test`: runs vitest test runner
- `test:watch`: runs vitest test runner in watch mode
- `test:coverage`: runs vitest test runner and generates coverage reports

### Format & lint

This template relies on the combination of [eslint](https://github.com/eslint/eslint) — through [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint) for linting and [prettier](https://github.com/prettier/prettier) for formatting.
It also uses [cspell](https://github.com/streetsidesoftware/cspell) to ensure spelling

Commands:

- `format`: runs prettier with automatic fixing
- `format:check`: runs prettier without automatic fixing (used in CI)
- `lint`: runs eslint with automatic fixing
- `lint:check`: runs eslint without automatic fixing (used in CI)
- `spell:check`: runs spellchecking

### Releasing

Under the hood, this library uses [semantic-release](https://github.com/semantic-release/semantic-release) and [commitizen](https://github.com/commitizen/cz-cli).
The goal is to avoid manual release process. Using `semantic-release` will automatically create a github release (hence tags) as well as an npm release.
Based on your commit history, `semantic-release` will automatically create a patch, feature or breaking release.

Commands:

- `cz`: interactive CLI that helps you generate a proper git commit message, using [commitizen](https://github.com/commitizen/cz-cli)
- `semantic-release`: triggers a release (used in CI)
npm package: @map_side/slog
Description: super simple log share
Author: hojin.jeong
Latest version: 0.0.1


# slog
[![GitHub](https://img.shields.io/github/license/hojin-jeong/slog)](https://github.com/hojin-jeong/slog/blob/master/license.md)
[![npm](https://img.shields.io/npm/v/@map_side/slog)](https://www.npmjs.com/package/@map_side/slog)

> Super simple log share

### Using Libraries
> jserial, socket.io, socket.io-client, eventemitter2

# Quick Start

## Installation
```shell
npm install @map_side/slog --save
```

## Basic Usage
```javascript
const sslog = require('@map_side/slog')

// Server - standalone
const server = new sslog.server({
    port: '3000'
    // support socket.io server opts
})
server.listen()

// Server - with web server
const httpServer = require('http').createServer()
const server = new sslog.server({
    // support socket.io server opts
})
server.bind(httpServer)
httpServer.listen(3000)

// Server - receive log
server.on('*.*', message => {
    console.log("Received:", message)
})

// Client
new sslog.client({
    name: "test",
    address: 'ws://127.0.0.1:7077',
    enableGlobalException: true // catch uncaughtException error after process.exit()
    // support socket.io client opts
})
```
npm package: @map_side/uv-poll
Description: It's like UV_POLL_T but javascript
Latest version: 1.0.1

# @map_side/uv-poll
It's UV_POLL_T for nodejs

It's an event emitter wrapper for [libuv's UV_POLL_T struct](http://docs.libuv.org/en/v1.x/poll.html).

```js
const fd = fs.openSync('file')
const poll = new Poller(fd)
poll.on('readable', () => console.log(`fd ${fd} is now readable`))
poll.on('writable', () => console.log(`fd ${fd} is now writable`))
poll.on('disconnect', () => console.log(`fd ${fd} is now disconnect`)) // means not readable or writable
```

forked from [reconbot/uv-poll](https://github.com/reconbot/uv-poll)
npm package: @mapado/image-url-builder
Description: Build mapado image in JS
Author: Julien Deniau
Latest version: 2.2.1

# Mapado Image JS Url Builder

## Installation

```sh
npm install "@mapado/image-url-builder"
```

or with yarn:

```sh
yarn add "@mapado/image-url-builder"
```

## Usage

```js
import { buildUrl } from '@mapado/image-url-builder';

const imagePath = '2018/01/foo.jpg';
const fullWidthImage = buildUrl(imagePath);

// will output something like '//img.mapado.net/2018/01/foo.jpg'
```

You can also specify a `width` and a `height` to crop / resize the image:

```js
const width = 400;
const height = 300;
const cropedImage = buildUrl(imagePath, width, height);

// will output something like '//img.mapado.net/2018/01/foo_thumbs/400-300.jpg'
```

If you don't want to resize or apply any filter but want to allow `webp` format for compatible browser, you have two options:
- you can set the option `allowwebp: 1`
- you can set both width and height to `0`

```js
const webpAllowedImage = buildUrl(imagePath, null, null, {allowwebp: 1});
const alsoWebpAllowedImage = buildUrl(imagePath, 0, 0);

// will both output something like '//img.mapado.net/2018/01/foo.jpg_thumbs/0-0.jpg'
```