open-index/open-npm huggingface dataset:
npm package: @here/olp-sdk-core
Description: Core features of the HERE Data Platform
Author: HERE Europe B.V.
Latest version: 2.0.0

# HERE Data SDK Core Library

## Overview

This repository contains the complete source code for the HERE Data SDK Core for TypeScript `@here/olp-sdk-core` project. `olp-sdk-core` is a TypeScript library that contains the common code for `@here/olp-sdk-dataservice-read`, `@here/olp-sdk-dataservice-api`, and `@here/olp-sdk-authentication`.

## Directory Layout

Here is an overview of the top-level files of the repository:

    |
    +- @here/olp-sdk-core
                        |
                        +- lib    # Implementation of the project
                        |
                        +- test   # Test code

## Development

### Prerequisites

The following NPM packages are required to build/test the library:

    - node: >= 10.0.0
    - npm: >= 6.0.0

### Build

Open a command prompt of the working tree's root directory and type:

```sh
npm install
npm run build
```

### Test

Open a command prompt of the working tree's root directory and type:

```sh
npm run test
```

### Generate a Bundle

If you want to have a compiled project, you can use bundle commands. After running each of the following commands in the `@here/olp-sdk-dataservice-read` folder from the root folder, you get the JavaScript bundled files.

To get bundled files with a source map, run:

```sh
npm run bundle
```

To get minified version for production, run:

```sh
npm run bundle:prod
```

To get bundled and minified JavaScript files, run:

```sh
npm run prepublish-bundle
```

## LICENSE

Copyright (C) 2020-2023 HERE Europe B.V.

For license details, see the [LICENSE](LICENSE).
npm package: @here/olp-sdk-dataservice-api
Description: Generated from the OpenAPI specification of the HERE Open Location Platform Data API
Author: HERE Europe B.V.
Latest version: 2.0.0

# DataService API Library

## Overview

This API is generated directly from the official OpenAPI (former Swagger) definition of the [Data API](https://developer.here.com/documentation/data-api/data_dev_guide/index.html).

## Generate a Bundle

If you want to have a compiled project, you can use bundle commands. After running each of the following commands in the `@here/olp-sdk-dataservice-api` folder from the root folder, you get the JavaScript bundled files.

To get bundled files with a source map, run:

```sh
npm run bundle
```

To get minified version for production, run:

```sh
npm run bundle:prod
```

To get bundled and minified JavaScript files, run:

```sh
npm run prepublish-bundle
```

## Use a Bundle from CDN

Add minified JavaScript files to your `html`:

```html
<!DOCTYPE html>
<html lang="en">
    <head>
        <script src="https://unpkg.com/@here/olp-sdk-dataservice-api/bundle.umd.min.js"></script>
    </head>
    <body></body>
</html>
```

## LICENSE

Copyright (C) 2019-2023 HERE Europe B.V.

For license details, see the [LICENSE](LICENSE).
npm package: @here/olp-sdk-fetch
Description: Adds a subset of the fetch API for Node.js
Author: HERE Europe B.V.
Latest version: 2.0.0

# Fetch Library

## Overview

This module adds a supporting file:// to the [fetch](https://fetch.spec.whatwg.org/) API for [Node.js](https://nodejs.org/). This allows fetching the files from the local folders.

The main goal of this module is to provide the possibility to read files from the local folders with `fetch` API in the Node.js environment.

## Usage

Import the module for its side-effects:

```JavaScript
import "@here/olp-sdk-fetch"
```

This adds `fetch` to the global `Node.js` namespace.

## Behavior in a Browser Context

When this module is used in a browser context, it does not perform any actions, nor adds any code.

## Generate a Bundle

If you want to have a compiled project, you can use bundle commands. After running each of the following commands in the `@here/olp-sdk-fetch` folder from the root folder, you get the JavaScript bundled files.

To have the bundled files with source map, run:

```sh
npm run bundle
```

To get a minified version for production, run:

```sh
npm run bundle:prod
```

To get a bundled and minified JavaScript files, run:

```sh
npm run prepublish-bundle
```

## Use a Bundle from CDN

Add minified JavaScript file to your `html` and create an object of userAuth:

```html
<!DOCTYPE html>
<html lang="en">
    <head>
        <script src="https://unpkg.com/@here/olp-sdk-fetch/bundle.umd.min.js"></script>
    </head>
    <body></body>
</html>
```

## LICENSE

Copyright (C) 2019-2024 HERE Europe B.V.

For license details, see the [LICENSE](LICENSE).