open-index/open-npm huggingface dataset:
npm package: @globalfishingwatch/cra-template
Description: GFW official client app started based on Redux+TS template for Create React App
Latest version: 1.6.1

# @globalfishinwatch/cra-template

GFW official client app started based on [Redux+TS template](https://github.com/reduxjs/cra-template-redux-typescript) for [Create React App](https://github.com/facebook/create-react-app).

To use this template, add `--template @globalfishinwatch/cra-template` when creating a new app.

For example:

```sh
npx create-react-app my-app --template @globalfishingwatch/cra-template
npm exec create-react-app my-app --template @globalfishingwatch/cra-template

# or

yarn create react-app my-app --template @globalfishingwatch/cra-template
```

For more information, please refer to:

- [GFW frontend](https://github.com/GlobalFishingWatch/frontend) - GFW monorepo
- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @globalfishingwatch/data-transforms
Description: Utils to decode various data formats
Latest version: 4.0.1

# @globalfishingwatch/data-transforms

A utility library for transforming various data formats and types commonly used in GFW applications.

## Features

### Coordinate Transformations

- Parse and validate geographic coordinates
- Handle coordinate wrapping around the antimeridian
- Buffer operations on geographic features
- Dissolve operations on geometries

### Date Handling

- UTC date conversions and formatting
- Support for various date formats (ISO, SQL, RFC2822)
- Interval-based date formatting

### File Format Conversions

- KML/KMZ to GeoJSON conversion
- Shapefile to GeoJSON conversion
- ZIP file handling

### Geographic Features

- Feature filtering by bounds
- Track coordinate filtering
- Segment handling and transformations
- Buffer and dissolve operations on geometries

### Other features

See the rest of the features in the [source code](https://github.com/GlobalFishingWatch/frontend/blob/master/libs/data-transforms/src/index.ts).

## Installation

```bash
yarn add @globalfishingwatch/data-transforms
```

## Usage example

```ts
import { filterFeaturesByBounds } from '@globalfishingwatch/data-transforms'
const filteredFeatures = filterFeaturesByBounds({
  features,
  bounds: {
    north: 50,
    south: 30,
    east: 10,
    west: -10,
  },
})
```

## Build and publish

```bash
nx build data-transforms
nx publish data-transforms
```

## Dependencies

- @turf/turf - For geographic calculations
- luxon - For date handling
- jszip - For ZIP file processing
- @tmcw/togeojson - For KML conversion
- shpjs - For Shapefile processing

## License

MIT