open-index/open-npm huggingface dataset:
npm package: @planet-matrix/mobius-mono
Description: Mobius Mono 是一个用于对项目开发进行规范的项目，目标是将项目开发中与核心业务逻辑无关的部分全部标准化，一方面开发者可以专注于业务逻辑的开发，另一方面不同项目可以共享相同的基础设施，从而提升整体的开发体验、协同效率和交付质量。同时，清晰明确的规范也能够提高人与 AI 协同开发或全 AI 驱动开发的效率和质量。
Author: Kong Xiangyan
Latest version: 0.12.0
npm package: @planet/dynamic-tiles
Description: Support for dynamically colored tiles from Planet Inc. tile servers.
Author: Dan "Ducky" Little, Ian Schneider
Latest version: 1.1.4

# Planet Dynamic Tiles

Dynamic tiles are served as numpy tiles. This module has the classes
needed to support rendering those tiles inside of OpenLayers.

## Developing locally.

After cloning the repository, run build, and use `npm link`. Example below:

```
$ npm install
$ npm run build
$ cd dist/
$ npm link
$ cd [to your project]
$ npm link @planet/dynamic-tiles
```

## Including in a project

```
import {NumpyLayer, NumpySource} from "@planet/dynamic-tiles/ol"
```


## Publishing

Please only publish the `dist/` directory.

```
$ npm publish ./dist/
```

## Worker optimisation

The Layer rendering performance can be improved by using WebWorkers.
To use it, the NumpyWorker needs imported the project and passed to the NumpyLayer.

*Based on using the webpack worker-loader module.*

```
import NumpyWorker from 'worker-loader!@planet/dynamic-tiles/worker';
...
const numpySource = new NumpySource();
numpySource.set('bands', ['r', 'g', 'b', 'a']);
numpySource.set('dtype', 'uint8');
numpySource.set('pixelDepth', 256);

const numpyLayer = new NumpyLayer({
  source: numpySource,
  workerClass: NumpyWorker,
  style: {
    name: 'rgb',
  },
});
```

## Basic use

A small `parcel` enabled demo application is included.

```
npm install
cd demo/
npx parcel ./index.html
```

You will need a valid URL for an endpoint with NumpyTiles.