chisel-addon-iso3166deprecated

Chisel mutator addon for matching country names with their ISO 3166 code.

Usage no npm install needed!

<script type="module">
  import chiselAddonIso3166 from 'https://cdn.skypack.dev/chisel-addon-iso3166';
</script>

README

ISO3166 (Chisel Mutator Addon)

Retrieves the ISO 3166 country code from a country name.

Installation

Use the Chisel RESTful API, Chisel CLI, or Chisel GUI to install this mutator addon.

Usage

After installation, this addon will be available on api.mutators.addons.iso3166 as a function with the following parameters:

  • country: The country name.

Example

api.mutators.addons.iso3166('United States'); // Returns 'US'