{"id":22374852,"url":"https://github.com/qubitproducts/express-sourcemap-filter","last_synced_at":"2025-06-29T06:07:05.719Z","repository":{"id":66964743,"uuid":"51693006","full_name":"QubitProducts/express-sourcemap-filter","owner":"QubitProducts","description":"Simple express middleware to restrict sourcemap access to certain IP addresses","archived":false,"fork":false,"pushed_at":"2016-02-14T12:55:25.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-29T06:07:04.191Z","etag":null,"topics":["ceh","cmh","implement"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QubitProducts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-14T12:03:59.000Z","updated_at":"2023-06-02T12:06:45.000Z","dependencies_parsed_at":"2023-03-01T16:15:40.937Z","dependency_job_id":null,"html_url":"https://github.com/QubitProducts/express-sourcemap-filter","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"f40d5258b6b6320b3bda9d59067502581bddb0f0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QubitProducts/express-sourcemap-filter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fexpress-sourcemap-filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fexpress-sourcemap-filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fexpress-sourcemap-filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fexpress-sourcemap-filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QubitProducts","download_url":"https://codeload.github.com/QubitProducts/express-sourcemap-filter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fexpress-sourcemap-filter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262545035,"owners_count":23326660,"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":["ceh","cmh","implement"],"created_at":"2024-12-04T21:18:44.878Z","updated_at":"2025-06-29T06:07:05.695Z","avatar_url":"https://github.com/QubitProducts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-sourcemap-filter [ ![Codeship Status for QubitProducts/express-sourcemap-filter](https://codeship.com/projects/a0c512b0-b546-0133-9f24-3e023a4cadff/status?branch=master)](https://codeship.com/projects/134073) [![npm version](https://badge.fury.io/js/express-sourcemap-filter.svg)](https://badge.fury.io/js/express-sourcemap-filter)\n\nMiddleware for express that restricts sourcemap access to an array of IP addresses.\n\n\n## Usage\n\n```js\nimport express from 'express'\nimport sourcemapFilter from 'express-sourcemap-filter'\n\nlet app = express()\napp.use(sourcemapFilter(['219.25.84.2'], { // config is optional - defaults shown below\n  status: 204, // status code to respond with if IP is not valid\n  pattern: /\\.(css|js)\\.map$/ // regex to test if request path is a sourcemap\n}))\n```\n\n\n## Developing\n\n```\nmake bootstrap\nmake test\nmake test-watch\nmake lint\nmake publish\n```\n\n\n## Want to work on this for your day job?\n\nThis project was created by the Engineering team at [Qubit](http://www.qubit.com). As we use open source libraries, we make our projects public where possible.\n\nWe’re currently looking to grow our team, so if you’re a JavaScript engineer and keen on ES2016 React+Redux applications and Node micro services, why not get in touch? Work with like minded engineers in an environment that has fantastic perks, including an annual ski trip, yoga, a competitive foosball league, and copious amounts of yogurt.\n\nFind more details on our [Engineering site](https://eng.qubit.com). Don’t have an up to date CV? Just link us your Github profile! Better yet, send us a pull request that improves this project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitproducts%2Fexpress-sourcemap-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubitproducts%2Fexpress-sourcemap-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitproducts%2Fexpress-sourcemap-filter/lists"}