{"id":17435428,"url":"https://github.com/kazu69/page-data","last_synced_at":"2026-04-28T08:39:34.539Z","repository":{"id":57148834,"uuid":"52703536","full_name":"kazu69/page-data","owner":"kazu69","description":"simple page data client tool","archived":false,"fork":false,"pushed_at":"2018-03-10T15:53:05.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-17T20:49:58.996Z","etag":null,"topics":["http-status-codes","nodejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/page-data","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/kazu69.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-28T03:57:05.000Z","updated_at":"2017-02-11T04:21:03.000Z","dependencies_parsed_at":"2022-08-31T20:02:41.243Z","dependency_job_id":null,"html_url":"https://github.com/kazu69/page-data","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/kazu69/page-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazu69%2Fpage-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazu69%2Fpage-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazu69%2Fpage-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazu69%2Fpage-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kazu69","download_url":"https://codeload.github.com/kazu69/page-data/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazu69%2Fpage-data/sbom","scorecard":{"id":552350,"data":{"date":"2025-08-11","repo":{"name":"github.com/kazu69/page-data","commit":"9930bb6b498c3d9e6970bc6a28245bcc8bf593a0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"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":"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":0,"reason":"Found 0/10 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":"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":"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":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":"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 25 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":"72 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","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-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-p28h-cc7q-c4fg","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-hr2v-3952-633q","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-xf7w-r453-m56c","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-p9w8-2mpq-49h9","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-h726-x36v-rx45","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-6g33-f262-xjp4","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3","Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7","Warn: Project is vulnerable to: GHSA-j44m-qm6p-hp7m","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-g7q5-pjjr-gqvp","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-20T11:13:56.520Z","repository_id":57148834,"created_at":"2025-08-20T11:13:56.520Z","updated_at":"2025-08-20T11:13:56.520Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32373514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":["http-status-codes","nodejs"],"created_at":"2024-10-17T09:45:18.465Z","updated_at":"2026-04-28T08:39:34.510Z","avatar_url":"https://github.com/kazu69.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# page-data\n\n[![Build Status](https://travis-ci.org/kazu69/page-data.svg?branch=master)](https://travis-ci.org/kazu69/page-data)\n\nSimple page data client tool.\n\n## install\n\n```sh\nnpm install page-data\n```\n\n## Usage\n\n```js\nconst page = require('page-data');\nconst callback = (data, error) =\u003e {\n    console.log(data);\n}\n\npage.status('example.com', callback)\n/*\n{ request: 'GET: http://example.com/',\n  response:\n   { statusCode: 200,\n     httpVersion: '1.1',\n     statusMessage: 'OK',\n     headers:\n      { 'accept-ranges': 'bytes',\n        'cache-control': 'max-age=604800',\n        'content-type': 'text/html',\n        date: 'Sun, 28 Feb 2016 03:59:55 GMT',\n        etag: '\"359670651+gzip\"',\n        expires: 'Sun, 06 Mar 2016 03:59:55 GMT',\n        'last-modified': 'Fri, 09 Aug 2013 23:54:35 GMT',\n        server: 'ECS (cpm/F9D5)',\n        vary: 'Accept-Encoding',\n        'x-cache': 'HIT',\n        'x-ec-custom-error': '1',\n        'content-length': '1270',\n        connection: 'close' } } }\n*/\n```\n\nThis module return Promise object without callback function.\n\n```js\nconst page = require('page-data');\n\nlet promise = page.status('github.com', options);\npromise.then(data =\u003e {\n  console.log(data);\n});\n```\n\n## API\n\n### status(url, [option, callback])\n\nCheck whether the page is alive.\nSimple to only the HTTP GET request.\n\n```js\nconst page = require('page-data');\npage.status('https://github.com', options, callback);\n\n/*\n { request: 'GET: https://github.com/',\n   response:\n    { statusCode: 200,\n      httpVersion: '1.1',\n      statusMessage: 'OK',\n      headers:\n       { server: 'GitHub.com',\n         date: 'Sun, 28 Feb 2016 04:04:04 GMT',\n         'content-type': 'text/html; charset=utf-8',\n         'transfer-encoding': 'chunked',\n         connection: 'close',\n         status: '200 OK',\n         'cache-control': 'no-cache',\n         vary: 'X-PJAX, Accept-Encoding',\n         'x-ua-compatible': 'IE=Edge,chrome=1',\n         'set-cookie': [Object],\n         'x-request-id': 'f50cd1559dd7947b46808462684659cd',\n         'x-runtime': '0.020611',\n         'content-security-policy': 'default-src *; base-uri \\'self\\'; block-all-mixed-content; child-src ...\n         'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',\n         'public-key-pins': 'max-age=300; pin-sha256=\"WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=\"; pin-sha256=\"JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg=\"; includeSubDomains',\n         'x-content-type-options': 'nosniff',\n         'x-frame-options': 'deny',\n         'x-xss-protection': '1; mode=block',\n         'x-served-by': '926b734ea1992f8ee1f88ab967a93dac',\n         'x-github-request-id': '73A329BC:1143:55012B9:56D271B3' } } }\n*/\n```\n\n### tls(url, [option, callback])\n\nGET tls information.\n\n```js\nconst page = require('page-data');\npage.tls('github.com', options, callback);\n\n/*\n { subject:\n    { businessCategory: 'Private Organization',\n      jurisdictionC: 'US',\n      jurisdictionST: 'Delaware',\n      serialNumber: '5157550',\n      street: '548 4th Street',\n      postalCode: '94107',\n      C: 'US',\n      ST: 'California',\n      L: 'San Francisco',\n      O: 'GitHub, Inc.',\n      CN: 'github.com' },\n   issuer:\n    { C: 'US',\n      O: 'DigiCert Inc',\n      OU: 'www.digicert.com',\n      CN: 'DigiCert SHA2 Extended Validation Server CA' },\n   valid_from: 'Apr  8 00:00:00 2014 GMT',\n   valid_to: 'Apr 12 12:00:00 2016 GMT',\n   infoAccess:\n    { 'OCSP - URI': [ 'http://ocsp.digicert.com' ],\n      'CA Issuers - URI': [ 'http://cacerts.digicert.com/DigiCertSHA2ExtendedValidationServerCA.crt' ] } }\n*/\n```\n\n### meta(url, [option, callback])\n\nGET page meta data(title, keywords, description, charset)\n\n```js\nconst page = require('page-data');\npage.mata('https://github.com', options, callback);\n\n/*\n { title: 'GitHub · Where software is built',\n   charset: 'utf-8',\n   keywords: null,\n   description: 'GitHub is where people build software. More than 12 million people use GitHub to discover, fork, and contribute to over 31 million projects.' }\n;\n*/\n```\n\n## Cli\n\n[page-data-cli](https://www.npmjs.com/package/page-data-cli)\n\n## License\n\nMIT © kazu69\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazu69%2Fpage-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazu69%2Fpage-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazu69%2Fpage-data/lists"}