{"id":13716230,"url":"https://github.com/dotcypress/micro-stats","last_synced_at":"2025-04-11T07:56:23.649Z","repository":{"id":57296495,"uuid":"75767984","full_name":"dotcypress/micro-stats","owner":"dotcypress","description":"📊 Tiny statsd helper","archived":false,"fork":false,"pushed_at":"2018-06-11T05:07:00.000Z","size":4,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T05:35:12.050Z","etag":null,"topics":[],"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/dotcypress.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":"2016-12-06T20:22:08.000Z","updated_at":"2022-04-10T20:45:52.000Z","dependencies_parsed_at":"2022-09-07T03:21:16.881Z","dependency_job_id":null,"html_url":"https://github.com/dotcypress/micro-stats","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/dotcypress%2Fmicro-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotcypress%2Fmicro-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotcypress%2Fmicro-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotcypress%2Fmicro-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotcypress","download_url":"https://codeload.github.com/dotcypress/micro-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247892079,"owners_count":21013643,"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":[],"created_at":"2024-08-03T00:01:08.314Z","updated_at":"2025-04-11T07:56:23.629Z","avatar_url":"https://github.com/dotcypress.png","language":"JavaScript","funding_links":[],"categories":["Modules"],"sub_categories":["Analytics"],"readme":"[![NPM Version](https://img.shields.io/npm/v/micro-route.svg?style=flat-square)](https://www.npmjs.com/package/micro-stats)\n[![node](https://img.shields.io/node/v/micro-stats.svg?style=flat-square)](https://www.npmjs.com/package/micro-stats)\n[![Build Status](https://img.shields.io/travis/dotcypress/micro-stats.svg?branch=master\u0026style=flat-square)](https://travis-ci.org/dotcypress/micro-stats)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)\n\n# micro-stats\n\u003e  📊 Tiny statsd helper\n\n## Installation\n\nInstall from NPM:\n\n```js\n$ npm install micro-stats --save\n```\n\n## Examples\n\n```js\nconst track = require('micro-stats')\n\nmodule.exports = track(function (req, res) {\n  req.end(200)\n})\n\nmodule.exports = track(options, function (req, res) {\n  req.end(200)\n})\n```\n\n### Options\n\n* `host` - optional statsd host [process.env.STATSD_HOST]\n* `port` - optional statsd port  [process.env.STATSD_PORT]\n* `prefix` - optional statsd prefix ('.' is appended) [process.env.STATSD_PREFIX]\n* `tcp` - use TCP instead of UDP\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotcypress%2Fmicro-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotcypress%2Fmicro-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotcypress%2Fmicro-stats/lists"}