open-index/open-npm huggingface dataset:
npm package: @pointblue/configuration-validation
Description: Configuration validation support for JavaScript SDKs
Author: jcombs@pointbluetech.com
Latest version: 1.1.2

# Configuration Validation

Standard pattern for validating configuration passed into JavaScript libraries and SDKs.

## Installation

```bash
npm install --save @pointblue/configuration-validation
```

## API

### assertIssuer(issuer, [, testing])

Assert that a valid `issuer` was provided.

```javascript
// Valid
assertIssuer("https://example.pointbluetech.com");

// Throws a ConfigurationValidationError
//
// It looks like there's a typo in your domain!
assertIssuer("http://foo.com.com");

// Ignore HTTPS requirement for testing
assertIssuer("http://localhost:8080/", {
  disableHttpsCheck: true,
});
```

### assertClientId(clientId)

Assert that a valid `clientId` was provided.

```javascript
assertClientId("abc123");
```

### assertClientSecret(clientSecret)

Assert that a valid `clientSecret` was provided.

```javascript
assertClientSecret("superSecret");
```

### assertRedirectUri(redirectUri)

Assert that a valid `redirectUri` was provided.

```javascript
assertRedirectUri("https://example.com/callback");
```

### assertAppBaseUrl(appBaseUrl)

Assert that a valid `appBaseUrl` was provided.

```javascript
assertAppBaseUrl("https://example.com");
```
npm package: @pointcloudtechnology/cesium-engine
Description: CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
Author: Point Cloud Technology GmbH
Latest version: 24.0.0

# @cesium/engine

[![Build Status](https://github.com/CesiumGS/cesium/actions/workflows/dev.yml/badge.svg)](https://github.com/CesiumGS/cesium/actions/workflows/dev.yml)
[![npm](https://img.shields.io/npm/v/@cesium/engine)](https://www.npmjs.com/package/@cesium/engine)
[![Docs](https://img.shields.io/badge/docs-online-orange.svg)](https://cesium.com/learn/)

![Cesium](https://github.com/CesiumGS/cesium/wiki/logos/Cesium_Logo_Color.jpg)

[CesiumJS](../../README.md) is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.

`@cesium/engine` includes cesiumJS's core, rendering, and data APIs. Here you'll find terrain and imagery engines, support for 3D Tiles and 3D models, geometries, and vector data.

---

[**Examples**](https://sandcastle.cesium.com/) :earth_asia: [**Docs**](https://cesium.com/learn/cesiumjs-learn/) :earth_americas: [**Website**](https://cesium.com/cesiumjs) :earth_africa: [**Forum**](https://community.cesium.com/) :earth_asia: [**User Stories**](https://cesium.com/user-stories/)

---

## Install

`@cesium/engine` is published as ES modules with full typing support.

Install with npm:

```sh
npm install @cesium/engine --save
```

Or, install with yarn:

```sh
yarn add @cesium/engine
```

## Usage

Import individual modules to benefit from tree shaking optimizations through most build tools:

```js
import { CesiumWidget } from "@cesium/engine";
import "@cesium/engine/Source/Widget/CesiumWidget.css";

const cesiumWidget = new CesiumWidget("cesiumContainer");
```

See our [Quickstart Guide](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/) for more information on getting a CesiumJS app up and running.

## Community

Have questions? Ask them on the [community forum](https://community.cesium.com/).

Interested in contributing? See [CONTRIBUTING.md](../../CONTRIBUTING.md). :heart:

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html). CesiumJS is free for both commercial and non-commercial use.
npm package: @pointcloudtechnology/cesium-widgets
Description: A widgets library for use with CesiumJS. CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
Author: Point Cloud Technology GmbH
Latest version: 14.5.0

# @cesium/widgets

[![Build Status](https://github.com/CesiumGS/cesium/actions/workflows/dev.yml/badge.svg)](https://github.com/CesiumGS/cesium/actions/workflows/dev.yml)
[![npm](https://img.shields.io/npm/v/@cesium/widgets)](https://www.npmjs.com/package/@cesium/widgets)
[![Docs](https://img.shields.io/badge/docs-online-orange.svg)](https://cesium.com/learn/)

![Cesium](https://github.com/CesiumGS/cesium/wiki/logos/Cesium_Logo_Color.jpg)

[CesiumJS](../../README.md) is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.

`@cesium/widgets` is a widgets library for use with CesiumJS—including the `CesiumViewer` widget plus widgets for common tasks such as animation, base layer selection and geocoding.

---

[**Examples**](https://sandcastle.cesium.com/) :earth_asia: [**Docs**](https://cesium.com/learn/cesiumjs-learn/) :earth_americas: [**Website**](https://cesium.com/cesiumjs) :earth_africa: [**Forum**](https://community.cesium.com/) :earth_asia: [**User Stories**](https://cesium.com/user-stories/)

---

## Install

`@cesium/widgets` is published as ES modules with full typing support.

Install with npm

```sh
npm install @cesium/widgets --save
```

Or, install with yarn

```sh
yarn add @cesium/widgets
```

## Usage

Import individual modules to benefit from tree shaking optimizations through most build tools:

```js
import { Viewer } from "@cesium/widgets";
import "@cesium/widgets/Source/widgets.css";

const viewer = new Viewer("cesiumContainer");
```

See our [Quickstart Guide](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/) for more information on getting a CesiumJS app up and running.

## Community

Have questions? Ask them on the [community forum](https://community.cesium.com/).

Interested in contributing? See [CONTRIBUTING.md](../../CONTRIBUTING.md). :heart:

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html). CesiumJS is free for both commercial and non-commercial use.