{"id":21558095,"url":"https://github.com/koopjs/featureservice","last_synced_at":"2025-08-28T06:21:02.662Z","repository":{"id":35317505,"uuid":"39579108","full_name":"koopjs/featureservice","owner":"koopjs","description":"Get all features from an Esri Feature Service.","archived":false,"fork":false,"pushed_at":"2022-12-09T21:42:59.000Z","size":702,"stargazers_count":22,"open_issues_count":5,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-17T14:28:26.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koopjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-07-23T16:41:50.000Z","updated_at":"2023-02-12T03:51:56.000Z","dependencies_parsed_at":"2023-01-15T18:09:13.403Z","dependency_job_id":null,"html_url":"https://github.com/koopjs/featureservice","commit_stats":null,"previous_names":["chelm/featureservice"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/koopjs/featureservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Ffeatureservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Ffeatureservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Ffeatureservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Ffeatureservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koopjs","download_url":"https://codeload.github.com/koopjs/featureservice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Ffeatureservice/sbom","scorecard":{"id":567368,"data":{"date":"2025-08-11","repo":{"name":"github.com/koopjs/featureservice","commit":"9fe412bdb79165cb32b15610427646781b3ed79d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":1,"reason":"Found 4/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T15:20:31.070Z","repository_id":35317505,"created_at":"2025-08-20T15:20:31.070Z","updated_at":"2025-08-20T15:20:31.070Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272453016,"owners_count":24937467,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-24T08:13:58.309Z","updated_at":"2025-08-28T06:21:02.623Z","avatar_url":"https://github.com/koopjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# featureservice\n\n*Get all features from an Esri Feature Service*\n\n[![npm][npm-image]][npm-url]\n[![travis][travis-image]][travis-url]\n[![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]\n\n[npm-image]: https://img.shields.io/npm/v/featureservice.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/featureservice\n[travis-image]: https://img.shields.io/travis/koopjs/featureservice.svg?style=flat-square\n[travis-url]: https://travis-ci.org/koopjs/featureservice\n[greenkeeper-image]: https://badges.greenkeeper.io/koopjs/featureservice.svg\n[greenkeeper-url]: https://greenkeeper.io/\n\nA little module that extracts every feature from an Esri Feature Service. The real power in this module is that it's designed to page over a service and extract every single feature no matter what ArcGIS Server version the data is hosted on.\n\n## Install\n\n```\nnpm install featureservice\n```\n\n## Usage\n\n```javascript\nvar FeatureService = require('featureservice')\n\n// a url to a feature service\nvar url = 'http://....../FeatureServer/0'\n\nvar service = new FeatureService(url, options)\nservice.pages(function (err, pages) {\n/* will give you links to all pages of data in the service*/\n})\n```\n\n### Options\nAn object passed as the second parameter when initializing a service\n- layer: the layer index to use\n- size: the maximum page size when requesting features\n- concurrency: the maximum concurrency for requesting features from a single server\n- timeOut: the amount of time to wait with no response before cancelling a request\n- logger: An object with a log method that takes a level and a message e.g. a Winston instance\n\n### API\n\n#### info(callback)\nGet the information describing the service itself\n\n#### layerIds(callback)\nGet all the ids in a feature service layer\n\n#### layerInfo(callback)\nGet the json metadata for a service layer\n\n#### statistics(field, stats, callback)\nGet statistics for a field and an array of stats.\n\n```javascript\nservice.statistics('id', ['min', 'max'], function (err, stats) {\n  console.log(stats.features)\n})\n```\n\n#### pages(callback)\nReturns an array of page urls that would get every feature in the service\n\n### Browser\n\nA browser ready build of this module is in `dist/featureservice.min.js`.\n\n#### Example\n\n```html\n\u003chtml\u003e\n  \u003cscript src=\"dist/featureservice.min.js\"\u003e\u003c/script\u003e\n  \u003cscript\u003e\n    var service = new FeatureService('http://koop.dc.esri.com/socrata/seattle/2tje-83f6/FeatureServer/0', {})\n    service.statistics('id', ['max'], function (err, stats) {\n      console.log(err, stats)\n    })\n  \u003c/script\u003e\n\u003c/html\u003e\n```\n\n## License\n\n[Apache 2.0](LICENSE)\n\n\u003c!-- [](Esri Tags: ArcGIS Web Mapping GeoJson FeatureServices) --\u003e\n\u003c!-- [](Esri Language: JavaScript) --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Ffeatureservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoopjs%2Ffeatureservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Ffeatureservice/lists"}