# ip-location-bd

> ```javascript const IpLocationBD = require('ip-location-bd');

Latest version **1.0.10** (published 2020-11-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install ip-location-bd
pnpm add ip-location-bd
yarn add ip-location-bd
bun add ip-location-bd
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2020-11-02 |
| First published | 2020-07-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | CeilingLam |
| Maintainers | linzihua |
| Keywords | ip, location |

## Links

- npm: https://www.npmjs.com/package/ip-location-bd
- npm.io page: https://npm.io/package/ip-location-bd

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.10 (latest) — 2020-11-02
- 1.0.9 — 2020-10-30
- 1.0.8 — 2020-10-30
- 1.0.6 — 2020-10-28
- 1.0.5 — 2020-10-27
- 1.0.3 — 2020-07-17
- 1.0.2 — 2020-07-17
- 1.0.1 — 2020-07-17
- 1.0.0 — 2020-07-17

## README

# npm install ip-location-bd
```javascript
const IpLocationBD = require('ip-location-bd');

//Normal Use
IpLocationBD.Location('101.101.101.101', function (location) { console.log('Location', location); });

//Access List Use
let locations = ['广东省', '电信', '移动', '联通', '腾讯云', '阿里云'];//Location include these string will get result true.
let access = IpLocationBD.Access(locations);
access.check('101.101.101.101', function (result, location) {
    console.log('Access.check', result, location);
});
access.check('119.28.65.1', function (result, location) {
    console.log('Access.check', result, location);
});
setInterval(function () {
    access.clear();//Check api will cache <network segment,location>. You can clear it using clear function.
}, 3600000);
```

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