open-index/open-npm huggingface dataset:
npm package: @pagasa-parser/formatter-signals
Description: Generates storm signal images from PAGASA Parser bulletins.
Author: Chlod Alejandro
Latest version: 0.1.2

# @pagasa-parser/formatter-signals
[![npm version](https://img.shields.io/npm/v/@pagasa-parser/formatter-signals.svg?style=flat-square)](https://www.npmjs.org/package/@pagasa-parser/formatter-signals)
[![npm downloads](https://img.shields.io/npm/dm/@pagasa-parser/formatter-signals.svg?style=flat-square)](http://npm-stat.com/charts.html?package=@pagasa-parser/formatter-signals)

This plugin for [pagasa-parser](https://github.com/pagasa-parser/pagasa-parser) allows for the
creation of colored SVG maps with appropriate legends including a province's current Tropical
Cyclone Warning System level. It is aimed to be a faithful recreation of the PAGASA-provided
signal maps, albeit with a higher (vectorized) quality and configurability.

Some processing is done in different stages of execution:
* Pre-runtime:
  * Initializing static features of the map, such as changing its background color.
  * Building the package for use.
* Runtime:
  * Actual execution and processing of the Bulletin object.
  * Changing the colors of each province on the map to their respective TCWS levels.
  * Cropping the map only to include parts which have raised signals, with extra space for legends.
  * Changing the stroke width for municipalities and provinces for clarity on smaller scales.
  * _(to do)_ Adding the legends and province names.
  * _(to do)_ Rendering the image, if creating a raster file.

## Developing
Make sure to run `node scripts/map-generator.js` to generate the base map. If you're using the npm package, there's no need to perform this step as the base map is prepackaged.
npm package: @pagasa-parser/formatter-wikipedia
Description: Creates a TyphoonWarningsTable based on a pagasa-parser Bulletin.
Author: Chlod Alejandro
Latest version: 1.1.0

# @pagasa-parser/formatter-wikipedia
[![npm version](https://img.shields.io/npm/v/@pagasa-parser/formatter-wikipedia.svg?style=flat-square)](https://www.npmjs.org/package/pagasa-parser)
[![npm downloads](https://img.shields.io/npm/dm/@pagasa-parser/formatter-wikipedia.svg?style=flat-square)](http://npm-stat.com/charts.html?package=pagasa-parser)
This plugin for [pagasa-parser](https://github.com/pagasa-parser/pagasa-parser) allows for formatting of `Bulletin` objects into a [`TyphoonWarningsTable`](https://en.wikipedia.org/wiki/Template:TyphoonWarningsTable) template usable on Wikipedia.
npm package: @pagasa-parser/source-pdf
Description: Allows parsing of PAGASA TCB PDF files into pagasa-parser Bulletins.
Author: Chlod Alejandro
Latest version: 1.1.9

# @pagasa-parser/source-pdf
[![npm version](https://img.shields.io/npm/v/@pagasa-parser/source-pdf.svg?style=flat-square)](https://www.npmjs.org/package/@pagasa-parser/source-pdf)
[![npm downloads](https://img.shields.io/npm/dm/@pagasa-parser/source-pdf.svg?style=flat-square)](http://npm-stat.com/charts.html?package=@pagasa-parser/source-pdf)

This plugin for [pagasa-parser](https://github.com/pagasa-parser/pagasa-parser) allows for parsing of PAGASA Tropical Cyclone Bulletins (TCBs). It only supports Tropical Cyclone Bulletin-type PDFs and **not** Severe Weather Bulletin-type PDFs, which were phased out in early 2021. Support for these types of bulletins are planned for the future.

This package requires Java to be available in the PATH, as it relies on [tabula-java](https://github.com/tabulapdf/tabula-java). This package does not depend on Log4j.
npm package: @pagasa-parser/source-xml
Description: Allows parsing of specifically-made XML files into pagasa-parser Bulletins.
Author: Chlod Alejandro
Latest version: 1.0.1

# @pagasa-parser/source-xml
[![npm version](https://img.shields.io/npm/v/@pagasa-parser/source-xml.svg?style=flat-square)](https://www.npmjs.org/package/pagasa-parser)
[![npm downloads](https://img.shields.io/npm/dm/@pagasa-parser/source-xml.svg?style=flat-square)](http://npm-stat.com/charts.html?package=pagasa-parser)
This plugin for [pagasa-parser](https://github.com/ChlodAlejanro/pagasa-parser) allows for parsing of specifically-made XML files. These XML files follow a specific schema defined in [`schema/bulletin.xsd`](/schema/bulletin.xsd). This format is relatively reliable as PAGASA already relies on PDF and HTML-based bulletins.