# ror-constants

> Constants of the rosreestr.ru: cadastral regions and districts.

Latest version **1.0.1** (published 2019-07-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install ror-constants
pnpm add ror-constants
yarn add ror-constants
bun add ror-constants
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-07-30 |
| First published | 2019-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 35.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Serhii Lynnyk |
| Maintainers | serhii.lynnyk |

## Links

- npm: https://www.npmjs.com/package/ror-constants
- npm.io page: https://npm.io/package/ror-constants

## Recent versions

- 1.0.1 (latest) — 2019-07-30

## README

# ror-constants

Constants of the rosreestr.ru: cadastral regions and districts.

Used on pages: `http://rosreestr.ru/api/online/fir_objects/*` and
`https://rosreestr.ru/wps/portal/p/cc_ib_portal_services/online_request/`

## Quick start

Install with NPM:

```sh
$ npm i ror-constants
``` 

Import to your script:

```js
const data = require('ror-constants')
```

| Param | Type | Description |
|-------|------|-------------|
| data[] | Array | Collection of subjects |
| data[].id | String | Rosreestr subject id, ex. "101000000000" |
| data[].type | String | Constant "subject" |
| data[].value | String | Rosreestr subject name, ex. "Алтайский край" |
| data[].children[] | String | Collection of regions |
| data[].children[].id | String | Rosreestr region id, ex. "101405000000" |
| data[].children[].type | String | Constant "region" |
| data[].children[].value | String | Rosreestr region name, ex. "Бийск" |
| data[].children[].children[] | String | Collection of settlements |
| data[].children[].children[].id | String | Roreestr settlement id, ex. "101405564000" |
| data[].children[].children[].type | String | Constant "settlement" |
| data[].children[].children[].value | String | Roreestr settlement name, ex. "Сорокино" |
| data[].children[].children[].settlementId | String | Roreestr settlement type id, ex. "set4" |
| data[].children[].children[].settlementType | String | Roreestr settlement type name, ex. "Город" |


## Parsing

```sh
DEBUG=ror-constants npm run parse
```

---
_Source: https://npm.io/package/ror-constants · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
