{"id":30858947,"url":"https://github.com/oaubert/ktbs4js","last_synced_at":"2025-09-07T14:55:40.486Z","repository":{"id":2371465,"uuid":"3335974","full_name":"oaubert/ktbs4js","owner":"oaubert","description":"Modelled traces API for javascript","archived":false,"fork":false,"pushed_at":"2015-02-10T13:57:17.000Z","size":911,"stargazers_count":5,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-12T18:55:27.640Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oaubert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-02T15:41:26.000Z","updated_at":"2015-02-10T13:57:17.000Z","dependencies_parsed_at":"2022-09-11T12:00:53.436Z","dependency_job_id":null,"html_url":"https://github.com/oaubert/ktbs4js","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/oaubert/ktbs4js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaubert%2Fktbs4js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaubert%2Fktbs4js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaubert%2Fktbs4js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaubert%2Fktbs4js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oaubert","download_url":"https://codeload.github.com/oaubert/ktbs4js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oaubert%2Fktbs4js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274051961,"owners_count":25214030,"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-09-07T02:00:09.463Z","response_time":67,"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":"2025-09-07T14:55:29.354Z","updated_at":"2025-09-07T14:55:40.466Z","avatar_url":"https://github.com/oaubert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"KTBS API for JavaScript\n=======================\n\nAPI for storing and accessing modelled traces in JavaScript.\n\nIt is based on the abstract client API defined in\nhttps://github.com/ktbs/ktbs/blob/master/doc/source/concepts/abstract_api.rst\n\nIt can be used standalone, or use a trace storage system such as\nhttps://github.com/oaubert/nots/ or https://github.com/ktbs/ktbs/\n\nUsage\n-----\n\nThe main entry point is the {@link tracemanager} singleton. It defines\na {@link TraceManager#init_trace} method that creates a new trace and\nkeeps a named reference to it.\n\nFor writing, obsels can then be added to the new trace through the\n{@link Trace#trace} method. See the [example](src/example.js) file for an\nexample.\n\nFor reading, obsels can be accessed through the {@link Trace#obsels}\nproperty.\n\nNotes\n-----\n\nThe handshake parameter indicates wether a \"login\" method should be\ncalled on the trace. Calling this method has 2 functions:\n\n- when using POST requests, the synchronisation mechanism is activated\n  only if this method returns a successful status.\n\n- the default_subject information is passed along in its data. The\n  trace server is then assumed to memorize this information, and the\n  lib will not send it in future obsels when using the compact-json\n  format.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foaubert%2Fktbs4js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foaubert%2Fktbs4js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foaubert%2Fktbs4js/lists"}