Skip to content

Commit

Permalink
removed postal code type because of its large dataset
Browse files Browse the repository at this point in the history
optimized imports and exports in package.json
  • Loading branch information
muratgozel committed Apr 28, 2023
1 parent 9b93b09 commit 3ef5963
Show file tree
Hide file tree
Showing 66 changed files with 295 additions and 310 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ isCityNameLike('istanbul') // true

castCityName('istanbul') // "İstanbul"

getCityCodes() // ["01", "02", ... "67"] it is sorted by name, 81 in total
getCityCodes() // ["01", "02", ... "67"] sorted by name, 81 in total
getCityNames() // ["Adana", "Adıyaman", ... "Zonguldak"]
getCities() // [{code: "01", name: "Adana"}, ... {code: "67", name: "Zonguldak"}]

Expand Down
3 changes: 0 additions & 3 deletions dist/cjs/package.json

This file was deleted.

File renamed without changes.
10 changes: 5 additions & 5 deletions docs/functions/src.castCityCode.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>castCityCode | turkey-neighbourhoods - v3.0.5</title><meta name="description" content="Documentation for turkey-neighbourhoods - v3.0.5"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>castCityCode | turkey-neighbourhoods - v3.0.6</title><meta name="description" content="Documentation for turkey-neighbourhoods - v3.0.6"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
<div class="tsd-toolbar-contents container">
<div class="table-cell" id="tsd-search" data-base="..">
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
<div class="field">
<div id="tsd-toolbar-links"></div></div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">turkey-neighbourhoods - v3.0.5</a></div>
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">turkey-neighbourhoods - v3.0.6</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
<div class="container container-main">
<div class="col-8 col-content">
<div class="tsd-page-title">
<ul class="tsd-breadcrumb">
<li><a href="../modules.html">turkey-neighbourhoods - v3.0.5</a></li>
<li><a href="../modules.html">turkey-neighbourhoods - v3.0.6</a></li>
<li><a href="../modules/src.html">src</a></li>
<li><a href="src.castCityCode.html">castCityCode</a></li></ul>
<h1>Function castCityCode</h1></div>
Expand All @@ -27,7 +27,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>v: <span class="tsd-signature-type">unknown</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">&quot;&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;01&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;02&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;03&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;04&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;68&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;05&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;06&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;07&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;75&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;08&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;09&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;10&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;74&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;72&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;69&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;11&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;12&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;13&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;14&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;15&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;16&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;17&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;18&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;19&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;20&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;21&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;81&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;22&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;23&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;24&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;25&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;26&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;27&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;28&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;29&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;30&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;31&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;76&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;32&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;34&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;35&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;46&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;78&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;70&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;36&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;37&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;38&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;71&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;39&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;40&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;79&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;41&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;42&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;43&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;44&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;45&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;47&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;33&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;48&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;49&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;50&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;51&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;52&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;80&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;53&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;54&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;55&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;56&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;57&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;58&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;63&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;73&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;59&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;60&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;61&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;62&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;64&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;65&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;77&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;66&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;67&quot;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/muratgozel/turkey-neighbourhoods/blob/a611fb1/src/index.ts#L37">src/index.ts:37</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/muratgozel/turkey-neighbourhoods/blob/9b93b09/src/index.ts#L37">src/index.ts:37</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand All @@ -46,7 +46,7 @@ <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
<div class="tsd-accordion-details">
<ul>
<li class="current"><a href="../modules.html">turkey-<wbr/>neighbourhoods -<wbr/> v3.0.5</a>
<li class="current"><a href="../modules.html">turkey-<wbr/>neighbourhoods -<wbr/> v3.0.6</a>
<ul>
<li class="current tsd-kind-module"><a href="../modules/src.html">src</a></li>
<li class="tsd-kind-module"><a href="../modules/types.html">types</a></li></ul></li></ul></div></details></nav>
Expand Down
Loading

0 comments on commit 3ef5963

Please sign in to comment.