open-index/open-npm huggingface dataset:
npm package: @monarchwadia/conways-game-engine
Description: Game engine for Conway's Game of Life with customizable cellular automaton rules.
Author: Monarch Wadia
Latest version: 1.1.0

# Conway's Game of Life

Author: [Monarch Wadia](https://linkedin.com/in/monarchwadia)

## Introduction

This is a very simple implementation of Conway's Game of Life, whipped up in about ~5 hours. It features a node-compatible engine, configurable board height and width, and configurable rules.

The configurable rules are pretty interesting and are worth playing around with.

## Read the changeblog!

Starting with v1.1.0 (which adds Typescript support), I'm documenting all changes to this project. You can read the changeblog [here](changeblog/2020-04-25-adding-ts-and-jest.md). I hope you enjoy it!

## Usage

See [examples/simple-node](./examples/simple-node/index.js)

## Configuring cellular automaton rules

See [examples/custom-rules](./examples/custom-rules/index.js)

## Configuration Options

Below are configuration options with their default values.

```javascript
const { ConwaysGameEngine, defaultRules } = require('@monarchwadia/conways-game-engine');

const config = {
  // Width of the board. 
  // Defaults to 10.
  rowSize: 10

  // Height of the board. 
  // Defaults to 10.
  colSize: 10,

  // The cellular automata rules. The default is Conway's Game of Life. 
  // You can modify these. See "Configuring Rules" section.
  // Defaults to the result of `defaultRules()`, which is called internally.
  rules: defaultRules(), 

  // Usually, each cell can only match a single rule, otherwise it throws an error. Set to 'true' to allow multiple rules.
  // Defaults to false.
  allowMultipleRuleMatches: false 
}

const engine = ConwaysGameEngine(config);
```
npm package: @monarkit/postal-code-data
Description: Dataset of country postal code formats
Author: Reship
Latest version: 1.0.18

# postal-code-data

Barebones JS dataset of country postal code types, regular expressions and placeholders for use in address form postal code validation for shipping with major shipping companies. Includes a few utility functions for common usage with inputs.

Country list source: [postal-country-region-data](https://github.com/tobias7an/postal-country-region-data). These two repos are used together and countries should not be added/removed from one without the same on the other.

Data is cross-referenced between the [Universal Postal Union Postal Addressing Systems Database](http://www.upu.int/en/activities/addressing/postal-addressing-systems-in-member-countries.html), postal service websites, shipping company APIs, and propietary commercial shipping address databases. 

This dataset may not be 100% accurate, complete or up to date, but aims to be sufficiently complete for production use and preferable to available alternatives.

This dataset is targeted at supporting shipping API connections with DHL Express, UPS, FedEx, USPS and CanadaPost.

### Usage
`const {data} = require('postal-code-data')`
or
`import {data} from 'postal-code-data'`

### Types
- 0 - No postal code.
- 1 - Postal code required, follows pattern.
- 2 - Postal code optional.
- 3 - Postal code is fixed to specifically defined string.

### Changelog
- `1.0.0` - Jul 21, 2020. Initial compilation & commit.
- `1.0.4` - Jul 27, 2020. Bugfixes in validation.
- `1.0.6` - Aug 10, 2020. GB postal code now requires space for shipping carrier API.
- `1.0.7` - Aug 11, 2020. Japan postal code now requires dash for shipping carrier API. GB dependency postal codes now require space.
- `1.0.8` - Sep 02, 2020. Slovakia postal code now requires space for DHL API.
- `1.0.9` - Sep 09, 2020. Swedish postal code now requires space for DHL API.
- `1.0.10` - Sep 24, 2020. CZ postal code now requires space for DHL API.
- `1.0.15` - Aug 18, 2022. Vietnam postal code now requires 6 digits instead of 5.
- `1.0.16` - Sep 14, 2022. GE postal code now requires 5 digits instead of 4. 
- `1.0.17` - Sep 14, 2022. Updated GE postal code to 4 digits as previous update was a mistake due to incorrect intel. 
- `1.0.18` - Nov 1, 2022. Updated KH postal code to 6 digits. 

### License
MIT.
npm package: @monarkit/postal-country-region-data
Description: Dataset of countries and regions for postal/shipping addressing applications
Author: monarkit
Latest version: 2.0.6

# postal-country-region-data

Fork of [country-region-data](https://github.com/country-regions/country-region-data) by Ben Keen. This fork focuses on state/country data for postal/shipping addresses.
 
This dataset is heavily modified fromo the original repo. It omits region information not used in addressing, and adds text and codes for use in addresses and APIs. 

Data is specifically structured for use in drop-down forms and validation functions targetting submission to shipping and payment APIs.

Data is cross-referenced between [ISO3166-2](https://en.wikipedia.org/wiki/ISO_3166-2), [Frank's Compulsive Guide to Postal Addresses](http://www.columbia.edu/~fdc/postal/), the [Universal Postal Union Postal Addressing Systems Database](http://www.upu.int/en/activities/addressing/postal-addressing-systems-in-member-countries.html), and [Paypal Developer Documentation - State & Province Codes](https://developer.paypal.com/docs/api/reference/state-codes).

This dataset may not be 100% accurate, complete or up to date, but aims to be sufficiently complete for production use and preferable to available alternatives.  

### Editing
1. Install with `npm install`
2. Edit data in `data.json`
3. Validate JSON with `npm run test`
4. Regenerate `data.js` file using `npm run umdify`

### Changelog
- `2.0.6` - Mar 5, 2020. Updated handlebars dev dependency.
- `2.0.5` - Mar 5, 2020. Changed US Minor Outlying Islands to being a US region per UPU.
- `2.0.4` - Oct 7, 2019. Add lithuania, rearrange ivory coast.
- `2.0.2` - Oct 3, 2019. Removal of territories with postal administration under different country names. Removal of accents and brackets in country names for greater compatbility with APIs.
- `2.0.1` - Oct 2, 2019. Regions not used in postal addressing removed. Paypal state codes added per API documentation. Region address text strings added for relevant countries per UPU. US and French outlying territories that use respective domestic mail services removed from country list. Uninhabited regions removed from country list.     
- `1.5.0` - Oct 1, 2019. Forked from [country-region-data](https://github.com/country-regions/country-region-data) v1.5.0    

### License
MIT.