open-index/open-npm huggingface dataset:
npm package: @geoapps/libbuilder
Description: Build application ES compatible library with Rollup
Author: Dmitriy Pushkov
Latest version: 0.5.2

# @geoapps/libbuilder

This tool is created for web application libraries' easy building in various output formats using Babel and Rollup.

## Installation

```bash
npm install @geoapps/libbuilder --dev
```

```bash
yarn add @geoapps/libbuilder --dev
```

## Usage

- CLI:

    ```bash
    libbuilder --name NameOfTheLib --base-path /path/to/project/root/dir
    ```

- Programmatic:

    ```javascript
    const libBuilder = require('@geoapps/libbuilder');
    libBuilder({
      name: 'NameOfTheLib',
      basePath: '/path/to/project/root/dir'
    });
    ```

## Options

Here is a list of all available options for CLI (programmatic) usage:

- `--name` (`name`) Name of output package.
- `--base-path` (`basePath`) Path of base directory to resolve everything to (default is `.` meaning directory of
CLI execution, usually it's a root directory of repository).
- `--input-dir-name` (`inputDirName`) Relative path to input directory (default is `src`).
- `--input-file-name` (`inputFileName`) Name of input SASS file (default is `index`).
- `--input-es-extension-prefix` (`inputEsExtensionPrefix`) Extension prefix of input file meant to create output ES
module (default is empty string).
- `--input-umd-extension-prefix` (`inputUmdExtensionPrefix`) Extension prefix of input file meant to create output UMD
module (default is `.umd`).
- `--input-translations-dir-name` (`inputTranslationsDirName`) Path to translations subdirectory relative to input
directory. 
- `--output-dir-name` (`outputDirName`) Relative path to output directory (default is `dist`).
- `--output-es-extension-prefix` (`outputEsExtensionPrefix`) Extension prefix of output ES file (default is `.es`).
- `--output-umd-extension-prefix` (`outputUmdExtensionPrefix`) Extension prefix of output UMD file (default is empty
string).
- `--output-common-dir-name` (`outputCommonDirName`) Relative path to output directory for Common.js modules (default is
`lib`).
- `--output-formats` (`outputFormats`) Output formats (default is `['es', 'umd', 'common']`).      
- `--globals-file-name` (`globalsFileName`) Relative path to JSON file describing globals for Rollup (default is
`rollup.globals.json`).
- `--external-file-name` (`externalFileName`) Relative path to JSON file describing external modules for Rollup
(default is `rollup.external.json`).
- `--recursive-deps-reg-exp` (`recursiveDepsRegExp`) Regular expression to filter names of package's dependencies and
dev dependencies in order to grab their globals and external configuration recursively.
- `--recursive-deps-reg-exp-modifiers` (`recursiveDepsRegExpModifiers`) Modifiers for `recursive-deps-reg-exp`
(`recursiveDepsRegExp`).
- `--clean` (`clean`) Clean output directories before building.
- `--watch` (`watch`) Watch and rebuild on changes (default is `false`).      
- `--verbose` (`verbose`) Verbose mode (default is `false`).

## Changelog

List of code changes for each version is [available](CHANGELOG.md).
npm package: @geoapps/sass2css
Description: Converting library SASS to CSS
Author: Dmitriy Pushkov
Latest version: 0.3.0

# @geoapps/sass2css

This tool is created to convert input SASS file to output CSS file with proper importer function allowing
to use `~` in imported modules' names.

## Installation

```bash
npm install @geoapps/sass2css --dev
```

```bash
yarn add @geoapps/sass2css --dev
```

## Usage

- CLI:

    ```bash
    sass2css --base-path /path/to/project/root/dir
    ```

- Programmatic:

    ```javascript
    const sass2css = require('@geoapps/sass2css');
    sass2css({
      basePath: '/path/to/project/root/dir'
    });
    ```

## Options

Here is a list of all available options for CLI (programmatic) usage:

- `--base-path` (`basePath`) Path of base directory to resolve everything to (default is `.` meaning directory of
CLI execution, usually it's a root directory of repository).
- `--input-dir-name` (`inputDirName`) Relative path to input directory (default is `src/sass`).
- `--input-file-name` (`inputFileName`) Name of input SASS file (default is `index.sass`).
- `--input-img-dir-name` (`inputImgDirName`) Relative path to directory with source images (default is `src/img`).
- `--output-dir-name` (`outputDirName`) Relative path to output directory (default is `dist/css`).
- `--output-img-dir-name` (`outputImgDirName`) Relative path to output directory for images (default is `dist/img`).
- `--modes` (`modes`) Output modes (default is `['development', 'production']`).

## Changelog

List of code changes for each version is [available](CHANGELOG.md).
npm package: @geoarrow/geoarrow-js
Description: TypeScript implementation of GeoArrow
Author: Kyle Barron
Latest version: 0.3.3

# `geoarrow-js`

A minimal TypeScript implementation of [GeoArrow](https://geoarrow.org/) building on top of [Arrow JS](https://arrow.apache.org/docs/js/index.html).

It complements the work-in-progress [`geoarrow-wasm`](https://github.com/geoarrow/geoarrow-rs/tree/main/js), which will provide Rust-based operations on GeoArrow memory.

## Features

- Performant spatial operations.
- Rich static typing of geometry arrays.
- Tree shakeable.
- Utilities for sharing Arrow data across Web Workers (not specific to GeoArrow)

## Spatial operations

Only spatial operations that are implemented on binary representations of geometry will be added to this repo.

This means that `geoarrow-js` will not, say, use algorithms from [Turf](https://turfjs.org/), because that would require conversions to and from GeoJSON for the operation.

### Implemented algorithms:

Refer to the [`algorithm` namespace](https://geoarrow.github.io/geoarrow-js/modules/algorithm.html) in the docs.

- Polygon area and signed area (via [`@math.gl/polygon`](https://github.com/visgl/math.gl))
- Polygon winding order (via [`@math.gl/polygon`](https://github.com/visgl/math.gl))
- Polygon triangulation (via [`@math.gl/polygon`](https://github.com/visgl/math.gl), a fork of [`earcut`](https://github.com/mapbox/earcut).)
- Coordinate reprojection (via [`proj4`](https://github.com/proj4js/proj4js))
- Total bounds (the bounding box of an array of geometries).

## Web Worker utilities

Refer to the [`worker` namespace](https://geoarrow.github.io/geoarrow-js/modules/worker.html). Use `preparePostMessage` to obtain references to all underlying `ArrayBuffer` objects, so they can be transfered instead of copied.

```ts
import * as arrow from "apache-arrow";
import {
  preparePostMessage,
  rehydrateVector,
} from "@geoarrow/geoarrow-js/worker";

const originalVector = arrow.makeVector(new Int32Array([1, 2, 3]));
const [preparedVector, arrayBuffers] = preparePostMessage(originalVector);

// Here we use structuredClone to simulate a postMessage but on the main thread
const receivedVector = structuredClone(preparedVector, {
  transfer: arrayBuffers,
});
const rehydratedVector = rehydrateVector(receivedVector);
```

## Ecosystem

`geoarrow-js` is designed to be used seamlessly with WebAssembly-based GeoArrow operations, such as those in the JavaScript bindings of the Rust GeoArrow implementation, and with rendering libraries, such as [deck.gl](https://deck.gl/), with the help of [`@geoarrow/deck.gl-layers`](https://github.com/geoarrow/deck.gl-layers).

For more background on my plans for GeoArrow ecosystem in JS and WebAssembly, refer to [this thread](https://github.com/geoarrow/geoarrow-rs/issues/283).
npm package: @geobase/countries-data
Description: Country data in JSON
Author: Gabriel Bull
Latest version: 1.0.5

<p align="center"><img width="320"src="https://cdn.rawgit.com/geobase/countries/master/logo.png"></p>

This library is aimed at providing easy to use country data in JSON
format for all programming languages. Feel free to contribute.

## Table Of Content

  1. [Information](#info)
  2. [Installation](#installation)
    * [JavaScript/Node](#js)
    * [PHP](#php)
    * [Download](#download)

<a name="information"></a>
## Information

This library includes information on countries in multiple languages.

Here is a list of information available for countries:

 * __ISO 3166-1 alpha-2__ Two-letter country codes defined in ISO 3166-1
 * __ISO 3166-1 alpha-3__ Three-letter country codes defined in ISO 3166-1
 * __Names__ Country name in multiple languages, currently only English, French and German
 * __Currency__ Currency code (eg. EUR)
 * __Continent__ Continent code (eg. EUR)
 * __Population__
 * __Area__ Area in square KM
 * __Capital__
 * __Coordinates__ Latitude and Longitude for center as well as North, East, South and West coorinates of bounding box
 * __Polygon__ Shape of the country
 * __Time Zone__
 * __Regions__

Here is a list of information available for regions:

 * __Names__ Country name in multiple languages, currently only English, French and German
 * __Two letter code__ Two-letter region codes (eg. CA)
 * __Four letter code__ Four-letter region codes (eg. US-CA)
 * __Type__ Region type (eg. Province, State, Territory, District)
 * __Time Zone__
 * __Coordinates__ Latitude and Longitude for center as well as North, East, South and West coorinates of bounding box

<a name="installation"></a>
## Installation

<a name="js"></a>
### JavaScript/Node

To install this library using npm, run the following command:

```
npm install @geobase/countries-data
```

<a name="php"></a>
### PHP

To install this library using composer, run the following command:

```
composer require geobase/countries-data
```

<a name="Download"></a>
### Download

Alternatively, you can [download the latest release](https://github.com/geobase/countries/releases).