{"id":17766562,"url":"https://github.com/floatdrop/express-public-ip","last_synced_at":"2025-04-01T13:45:09.671Z","repository":{"id":65999191,"uuid":"42952669","full_name":"floatdrop/express-public-ip","owner":"floatdrop","description":"Filter private addresses from req.ips","archived":false,"fork":false,"pushed_at":"2015-09-22T19:17:50.000Z","size":144,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T18:03:08.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/floatdrop.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-22T18:25:14.000Z","updated_at":"2015-12-02T09:19:05.000Z","dependencies_parsed_at":"2023-02-19T21:01:01.263Z","dependency_job_id":null,"html_url":"https://github.com/floatdrop/express-public-ip","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fexpress-public-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fexpress-public-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fexpress-public-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fexpress-public-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floatdrop","download_url":"https://codeload.github.com/floatdrop/express-public-ip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246651507,"owners_count":20811991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-26T20:32:26.667Z","updated_at":"2025-04-01T13:45:09.651Z","avatar_url":"https://github.com/floatdrop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-public-ip [![Build Status](https://travis-ci.org/floatdrop/express-public-ip.svg?branch=master)](https://travis-ci.org/floatdrop/express-public-ip)\n\n\u003e Filter private addresses from req.ips\n\n\n## Install\n\n```\n$ npm install --save express express-public-ip\n```\n\n\n## Usage\n\n```js\nvar app = require('express')();\nvar expressPublicIp = require('express-public-ip');\n\napp.enable('trust proxy');\n\napp.use(expressPublicIp());\n\napp.get('/', function (req, res) {\n\tres.send(req.ip);\n});\n```\n\n\n## API\n\n### expressPublicIp()\n\nReturns `express-public-ip` middleware function.\n\n## License\n\nMIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fexpress-public-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloatdrop%2Fexpress-public-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fexpress-public-ip/lists"}