{"id":13780999,"url":"https://github.com/thinkjs/think-meta","last_synced_at":"2025-04-06T17:31:40.802Z","repository":{"id":65374740,"uuid":"86700793","full_name":"thinkjs/think-meta","owner":"thinkjs","description":"Show meta for ThinkJS 3.x","archived":false,"fork":false,"pushed_at":"2019-04-18T06:19:54.000Z","size":54,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-27T21:20:16.292Z","etag":null,"topics":["meta","think-middleware","thinkjs3"],"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/thinkjs.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-03-30T12:37:37.000Z","updated_at":"2021-11-04T05:30:14.000Z","dependencies_parsed_at":"2023-01-20T01:25:22.898Z","dependency_job_id":null,"html_url":"https://github.com/thinkjs/think-meta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-meta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-meta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-meta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkjs%2Fthink-meta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkjs","download_url":"https://codeload.github.com/thinkjs/think-meta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522345,"owners_count":20952528,"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":["meta","think-middleware","thinkjs3"],"created_at":"2024-08-03T18:01:21.946Z","updated_at":"2025-04-06T17:31:40.485Z","avatar_url":"https://github.com/thinkjs.png","language":"JavaScript","readme":"# think-meta\n[![Build Status](https://travis-ci.org/thinkjs/think-meta.svg?branch=master)](https://travis-ci.org/thinkjs/think-meta)\n[![Coverage Status](https://coveralls.io/repos/github/thinkjs/think-meta/badge.svg?branch=master)](https://coveralls.io/github/thinkjs/think-meta?branch=master)\n[![npm](https://img.shields.io/npm/v/think-meta.svg?style=flat-square)](https://www.npmjs.com/package/think-meta)\n\n\nShow meta for ThinkJS 3.x\n\n## Install\n\n```\nnpm install think-meta\n```\n\n## How to use\n\nconfig file `src/config/middleware.js`\n\n```js\nconst meta = require('think-meta');\nmodule.exports = [\n  {\n    handle: meta,\n    options: {\n\n    }\n  }\n]\n```\n\n## Support options\n\n```js\n{\n  requestTimeout: 10 * 1000, //request timeout, default is 10s\n  requestTimeoutCallback: (ctx, options) =\u003e {}, //request timeout callback\n  sendPowerBy: true,  //send powerby\n  sendResponseTime: true, //send response time\n  logRequest: true //log request\n}\n```\n","funding_links":[],"categories":["Middlewares"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkjs%2Fthink-meta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkjs%2Fthink-meta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkjs%2Fthink-meta/lists"}