{"id":13827803,"url":"https://github.com/vaneenige/untrace","last_synced_at":"2025-10-22T03:07:29.758Z","repository":{"id":57386964,"uuid":"95372546","full_name":"vaneenige/untrace","owner":"vaneenige","description":"🐳 Minimal event tracking on the client in 300 bytes.","archived":false,"fork":false,"pushed_at":"2017-06-25T19:23:38.000Z","size":22,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T00:42:59.738Z","etag":null,"topics":["api","event","npm","package","request","tracking"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/untrace","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/vaneenige.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-06-25T16:41:12.000Z","updated_at":"2023-06-10T07:18:46.000Z","dependencies_parsed_at":"2022-09-15T03:01:51.281Z","dependency_job_id":null,"html_url":"https://github.com/vaneenige/untrace","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funtrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funtrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funtrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneenige%2Funtrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneenige","download_url":"https://codeload.github.com/vaneenige/untrace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250348892,"owners_count":21415907,"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":["api","event","npm","package","request","tracking"],"created_at":"2024-08-04T09:02:10.771Z","updated_at":"2025-10-22T03:07:24.703Z","avatar_url":"https://github.com/vaneenige.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n# untrace\nMinimal event tracking on the client in **300** bytes.\n\n-   Only **300** bytes gzipped.\n-   **Easy** to use with only two functions.\n-   Modern browser **support**.\n\n\u003ca href=\"https://www.npmjs.org/package/untrace\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/untrace.svg?style=flat\" alt=\"npm\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://travis-ci.org/vaneenige/untrace\"\u003e\n  \u003cimg src=\"https://travis-ci.org/vaneenige/untrace.svg?branch=master\" alt=\"travis\"\u003e\n\u003c/a\u003e\n\n## Install\n\nThis library is built with [node](http://nodejs.org) and [npm](https://npmjs.com) and are required for installation.\n\n**1. Install the library with npm.**\n```sh\n$ npm install --save untrace\n```\n\n**2. Import the library in your project.**\n```javascript\nimport untrace from 'untrace';\n```\n\n## Usage\n\nThis library provides two functions:\n\n**start()**\n\n- Creates an unique hash for the browser (once).\n- Creates an unique hash for the session (repeat).\n- Should be configured with endpoint for all requests.\n\n```js\nconst endpoint = './api';\nuntrace.start(endpoint);\n```\n\n**send()**\n\n- Combines parameters with browser and session hashes.\n- Custom parameters are not limited in amount.\n- Posts the combined parameters to the endpoint.\n\n```js\nuntrace.send({\n  type: 'performance',\n  value: '200ms'\n});\n```\n\n## License\n[MIT License](LICENSE) © [Colin van Eenige](https://use-the-platform.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneenige%2Funtrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaneenige%2Funtrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneenige%2Funtrace/lists"}