{"id":13780891,"url":"https://github.com/luke3butler/feathers-versionate","last_synced_at":"2026-01-12T01:59:33.866Z","repository":{"id":21735313,"uuid":"93905237","full_name":"luke3butler/feathers-versionate","owner":"luke3butler","description":"Create and work with nested services.","archived":false,"fork":false,"pushed_at":"2022-12-10T20:29:33.000Z","size":585,"stargazers_count":28,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-27T11:28:22.350Z","etag":null,"topics":["api","api-management","feathers","feathers-service","feathers-versionate","feathersjs","nested-services","nesting","prefix","routes"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/feathers-versionate","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/luke3butler.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":"2017-06-10T00:00:14.000Z","updated_at":"2022-10-27T04:07:47.000Z","dependencies_parsed_at":"2023-01-11T21:20:18.104Z","dependency_job_id":null,"html_url":"https://github.com/luke3butler/feathers-versionate","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/luke3butler/feathers-versionate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke3butler%2Ffeathers-versionate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke3butler%2Ffeathers-versionate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke3butler%2Ffeathers-versionate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke3butler%2Ffeathers-versionate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luke3butler","download_url":"https://codeload.github.com/luke3butler/feathers-versionate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke3butler%2Ffeathers-versionate/sbom","scorecard":{"id":604207,"data":{"date":"2025-08-11","repo":{"name":"github.com/luke3butler/feathers-versionate","commit":"ea6c65e56679ad1ec31d134715cf97824477d408"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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 4 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"}},{"name":"Vulnerabilities","score":0,"reason":"32 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T01:12:26.161Z","repository_id":21735313,"created_at":"2025-08-21T01:12:26.161Z","updated_at":"2025-08-21T01:12:26.161Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","api-management","feathers","feathers-service","feathers-versionate","feathersjs","nested-services","nesting","prefix","routes"],"created_at":"2024-08-03T18:01:20.854Z","updated_at":"2026-01-12T01:59:33.845Z","avatar_url":"https://github.com/luke3butler.png","language":"JavaScript","funding_links":[],"categories":["Plugins","JavaScript"],"sub_categories":["Utilities"],"readme":"\n# feathers-versionate\n\n## About\n\u003e Service nesting for feathersjs\n\nNests services under configurable base paths, and provides easy methods to access those services.\n\n## Getting Started\n\nInstall the module  \n\nNPM: `npm install feathers-versionate --save`  \n\nYarn: `yarn add feathers-versionate`\n\n```js\nvar feathers = require('feathers');\nvar versionate = require('feathers-versionate');\nvar memory = require('feathers-memory');\n\nconst app = feathers();\n// Configure versionate\napp.configure(versionate());\n// Register a base-path \"/api/v2\", and provide access to it via `app.v2`\napp.versionate('v2', '/api/v2/');\n// Now you can use `app.v2` to create and access services under the registered path!\napp.v2.use('/users', memory); // http://localhost:3030/api/v2/users\n// We can access services easily too!\nconst userService = app.v2.service('users');\n```\n\n## Documentation\n\n`feathers-versionate` It a utility that creates wrappers for app.use and app.service with nested root paths.\n\n* `app.versionate(name, basePath)`\n* `app.versionate.register(name, basePath)` (app.versionate alias)\n\n`feathers-versionate` services\n\n* `app.versionateName.use(path, service)` \n  - wraps `app.use` and includes the versionate basePath behind the scenes\n* `app.versionateName.service(path)` \n  - wraps `app.service` and includes the versionate basePath behind the scenes\n\n### Examples\n\n```js\nconst app = feathers();\n// Configure versionate\napp.configure(versionate());\n// Register a versionate base paths\napp.versionate('v1', '/api/v1/');\n// You can register as many \"versionations\" as you'd like\napp.versionate('v2', '/api/v2/');\n// If the 3rd argument is set to true, the service will be nested under app.versionate\napp.versionate('docs', 'docs', true);\n// Nesting under versionate is useful if you don't want to pollute `app` with lots of children\napp.versionate.docs.use('quick-guide');\n\n// Once registered, you can use app.versionateName anywhere in your app!\napp.v1.use('/users', userServiceV1);\napp.v2.use('/users', userServiceV2);\n\n// Retrieve a service through the versionate name\nconst usersV2 = app.v2.service('users');\n// You can also access services by their full path on app.service\nconst usersV1 = app.service('/api/v1/users');\n\n// Use the service just like normal\nusersV2.find().then(items =\u003e console.log('.find()', items));\n\n```\n\n## Release History\n\n__0.2.2__\n\n- Fix/add support for win32 systems\n\n__0.2.0__\n\n- Add app.versionate as main function\n- Add tests\n- Fix app.versionate nesting of service access methods\n\n__0.1.0__\n\n- Initial release\n- Support for app.use and app.service","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke3butler%2Ffeathers-versionate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluke3butler%2Ffeathers-versionate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke3butler%2Ffeathers-versionate/lists"}