Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rednexie/ip-express
Basic IP API using node.js
https://github.com/rednexie/ip-express
api ip ip-address ip-api ipapi ips javascript js json json-api node-server nodejs server
Last synced: 10 days ago
JSON representation
Basic IP API using node.js
- Host: GitHub
- URL: https://github.com/rednexie/ip-express
- Owner: Rednexie
- License: mit
- Created: 2023-06-18T22:41:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-17T15:09:58.000Z (10 months ago)
- Last Synced: 2024-01-17T17:14:54.401Z (10 months ago)
- Topics: api, ip, ip-address, ip-api, ipapi, ips, javascript, js, json, json-api, node-server, nodejs, server
- Language: JavaScript
- Homepage:
- Size: 704 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ip-express
Basic IP API using node.js and express
### Dependencies
- `express`
- `cors`
- `node:fs`
### Endpoints
/ip => ip as text: 0.0.0.0
/ips => ips as json ["0.0.0.0", "127.0.0.1"]
/text => ip as text
/json => ip as json: `{ "ip": "0.0.0.0" }`
/json/:id => ip as json: ` { "$id": "0.0.0.0" }`### Configuration
log: whether to save the requests to a text file. default is `true`port: the http port to start the webserver and listen on. default is `3000`
### License
ip-express is licensed under MIT.