{"id":13556102,"url":"https://github.com/mikeal/tako","last_synced_at":"2025-10-04T16:58:26.230Z","repository":{"id":2583632,"uuid":"3564777","full_name":"mikeal/tako","owner":"mikeal","description":"Functional web framework.","archived":false,"fork":false,"pushed_at":"2017-07-11T22:04:36.000Z","size":41,"stargazers_count":314,"open_issues_count":14,"forks_count":16,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-08-31T15:22:40.293Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikeal.png","metadata":{"files":{"readme":"README.mkd","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":"2012-02-27T21:07:51.000Z","updated_at":"2025-03-09T19:38:15.000Z","dependencies_parsed_at":"2022-08-29T04:52:45.928Z","dependency_job_id":null,"html_url":"https://github.com/mikeal/tako","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikeal/tako","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeal%2Ftako","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeal%2Ftako/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeal%2Ftako/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeal%2Ftako/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikeal","download_url":"https://codeload.github.com/mikeal/tako/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeal%2Ftako/sbom","scorecard":{"id":645264,"data":{"date":"2025-08-11","repo":{"name":"github.com/mikeal/tako","commit":"1cee370c35d70cf4b67186ec23fe8ff2a9d673eb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"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":"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":"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":"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":"Code-Review","score":4,"reason":"Found 10/25 approved changesets -- score normalized to 4","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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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 15 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-21T11:58:41.769Z","repository_id":2583632,"created_at":"2025-08-21T11:58:41.769Z","updated_at":"2025-08-21T11:58:41.769Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278343085,"owners_count":25971399,"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-10-04T02:00:05.491Z","response_time":63,"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-08-01T12:03:37.652Z","updated_at":"2025-10-04T16:58:26.177Z","avatar_url":"https://github.com/mikeal.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# tako -- Functional web framework.\n\n## Install\n\n\u003cpre\u003e\n  npm install tako\n\u003c/pre\u003e\n\n## Add Sockets\n\n\u003cpre\u003e\n  npm install socket.io\n\u003c/pre\u003e\n\nOr from source:\n\n\u003cpre\u003e\n  git clone git://github.com/mikeal/tako.git \n  cd tako\n  npm link\n\u003c/pre\u003e\n\n## Usage\n\n```javascript\nvar tako = require('tako')\n  , request = require('request')\n  , path = require('path')\n  , app = tako()\n  ;\n\napp.route('/static/*').files(path.join(__dirname, 'static'))\n\napp.route('/proxypass', function (req, resp) {\n  req.pipe(request(\"http://otherserver.com\"+req.url).pipe(resp))\n})\n\napp.route('/hello.json').json({msg:'hello!'})\n\napp.route('/plaintext').text('I like text/plain')\n\napp.route('/')\n  .html(function (req, resp) {\n    request('http://me.iriscouch.com/db', {json:true}, function (e, r) {\n      if (e) return resp.error(e)\n      if (r.statusCode !== 200) return resp.error(r)\n      resp.end('\u003chtml\u003e\u003chead\u003ecool\u003c/head\u003e\u003cbody\u003e'+r.body.index+'\u003c/body\u003e\u003c/html\u003e')\n    })\n  })\n  .methods('GET')\n  ;\n\n// Ported example from socket.io docs to show integration\napp.sockets.on('connection', function (socket) {\n  app.sockets.emit('news', { will: 'be received by everyone'});\n  socket.on('disconnect', function () {\n    app.sockets.emit('user disconnected')\n  })\n})\n  \napp.httpServer.listen(80)\napp.httpsServer.listen(443)\n```\n\n### Routing multiple domains\n\n```javascript\nvar tako = require('../index')\n  , app1 = tako()\n  , app2 = tako()\n  , default = tako()\n  , router = tako.router()\n  ;\n  \napp1.route('/name').text('app1')\napp2.route('/name').text('app2')\ndefault.route('/name').text('default')\n\nrouter.host('app1.localhost', app1)\nrouter.host('app2.localhost', app2)\nrouter.default(default)\n\nrouter.httpServer.listen(80)\nrouter.httpsServer.listen(443)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeal%2Ftako","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikeal%2Ftako","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeal%2Ftako/lists"}