Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yosuke-furukawa/remote_address_parser
remote_address_parser
https://github.com/yosuke-furukawa/remote_address_parser
Last synced: about 1 month ago
JSON representation
remote_address_parser
- Host: GitHub
- URL: https://github.com/yosuke-furukawa/remote_address_parser
- Owner: yosuke-furukawa
- Created: 2014-03-24T07:53:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:58:21.000Z (11 months ago)
- Last Synced: 2024-09-15T05:50:20.129Z (2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Remote Address for JSX [![Build Status](https://travis-ci.org/yosuke-furukawa/remote_address_parser.svg?branch=master)](https://travis-ci.org/yosuke-furukawa/remote_address_parser)
=======================client IP address parser for JSX
Getting Started
=======================```shell
$ npm install remote_address_parser
```For JS developers
```javascript
var RemoteAddressParser = require("remote_address_parser").RemoteAddressParser;
// require http/request
var ip = RemoteAddressParser.getAddress(request);
```For JSX developers
```javascript
import "remote_address_parser/remote_address_parser.jsx";
// require http/request
var ip = RemoteAddressParser.getAddress(req);
```