Skip to content

Commit 90338dd

Browse files
authored
Update README.md
1 parent 10b93fe commit 90338dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ geocoder.init({}, function () {
5555

5656
Optionally `init()` also allows you to specify which files to load data from.
5757
This reduces initialization time and the runtime memory footprint of the Node.js
58-
process. By default all files are loaded.
58+
process. By default, all files are loaded.
5959

6060
```javascript
6161
var geocoder = require('local-reverse-geocoder');
@@ -87,8 +87,6 @@ geocoder.init({ dumpDirectory: '/tmp/geonames' }, function () {
8787
});
8888
```
8989

90-
By default, data will be downloaded and cached on every start of the application, creating files such as `admin1CodesASCII_2023-07-17.txt` in the cache directory. If you wish to reuse the existing downloaded files, you can rename them to remove the date, such as `admin1CodesASCII.txt`, which will suppress the download.
91-
9290
### Look Up
9391

9492
```javascript
@@ -383,9 +381,11 @@ npm install local-reverse-geocoder
383381
## A Word on Data Freshness
384382

385383
By default, the local [GeoNames dump](http://download.geonames.org/export/dump/)
386-
data gets refreshed each day. You can override this behavior by removing the
387-
timestamp from the files in the `./geonames_dump` download folder. If you don't
388-
need admin1, admin2, admin3, admin4 or alternate names you can turn them off in
384+
data gets refreshed each day, creating files such as
385+
`admin1CodesASCII_YYYY-MM-DD.txt` in the cache directory. If you wish to reuse
386+
the existing downloaded files, you can rename them to remove the date, such as
387+
`admin1CodesASCII.txt`, which will suppress the download. If you don't
388+
need admin1, admin2, admin3, admin4 or alternate names, you can turn them off in
389389
a manual init call and decrease load time.
390390

391391
## A Word on Memory Usage

0 commit comments

Comments
 (0)