{"id":19560103,"url":"https://github.com/plotdb/pdt","last_synced_at":"2026-02-15T14:36:35.542Z","repository":{"id":79658053,"uuid":"230942094","full_name":"plotdb/pdt","owner":"plotdb","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-04T23:14:11.000Z","size":22,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-10T16:57:31.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"LiveScript","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/plotdb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-30T15:55:03.000Z","updated_at":"2019-12-30T15:55:21.000Z","dependencies_parsed_at":"2023-05-14T07:00:10.534Z","dependency_job_id":null,"html_url":"https://github.com/plotdb/pdt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plotdb/pdt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fpdt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fpdt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fpdt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fpdt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plotdb","download_url":"https://codeload.github.com/plotdb/pdt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fpdt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29481531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-11T05:05:58.245Z","updated_at":"2026-02-15T14:36:35.527Z","avatar_url":"https://github.com/plotdb.png","language":"LiveScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdType\n\nCommon data types for data visualization. Types are named in \"pdXXXX\" style, e.g., \"pdString\", \"pdNumber\"\n\n\n## Basic Type Structure\n\nAll types are designed as a JavaScript object with proper constructor, with following interface:\n\n * name: string. name of type\n * default: default value\n * test: (v) -\u003e   # return true or false\n   - test if v is compatible with this type.\n * parse: (v) -\u003e\n   - parse v into internal format of this type.\n * order:\n * sort: (a, b) -\u003e # comparator function for sorting.\n\n\n## Common Types\n\n * string\n * numstring\n * number\n * order\n * boolean\n * date\n\n\n### Advanced Types\n\n * strings with constraint\n   - choice\n\n * orderable\n   * weekday\n   * month\n\n\n## Type Polymorphism\n\nValue in one type could be also in another type.\n\n\n\n## pdType common function.\n\npdType, as an object, exposes following interface:\n\n * identify: (input)\n   - input either a value or an array.\n\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotdb%2Fpdt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplotdb%2Fpdt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotdb%2Fpdt/lists"}