{"id":20308439,"url":"https://github.com/0xdir/satisfaction_dart","last_synced_at":"2025-03-04T07:43:20.838Z","repository":{"id":185072717,"uuid":"672981255","full_name":"0xdir/satisfaction_dart","owner":"0xdir","description":"A collection of customer satisfaction scores and metrics used by businesses to measure and assess customer satisfaction.","archived":false,"fork":false,"pushed_at":"2023-07-31T15:53:07.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T11:57:21.780Z","etag":null,"topics":["csat","customer","data","metrics","nps"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/satisfaction","language":"Dart","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/0xdir.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-31T15:41:39.000Z","updated_at":"2024-10-28T03:16:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6a17790-14b6-433f-ae8b-48710ebf17ba","html_url":"https://github.com/0xdir/satisfaction_dart","commit_stats":null,"previous_names":["0xdir/satisfaction_dart"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fsatisfaction_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fsatisfaction_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fsatisfaction_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdir%2Fsatisfaction_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xdir","download_url":"https://codeload.github.com/0xdir/satisfaction_dart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241809601,"owners_count":20023786,"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":["csat","customer","data","metrics","nps"],"created_at":"2024-11-14T17:22:27.759Z","updated_at":"2025-03-04T07:43:20.801Z","avatar_url":"https://github.com/0xdir.png","language":"Dart","funding_links":["https://www.buymeacoffee.com/0xdir","https://github.com/sponsors/0xdir"],"categories":[],"sub_categories":[],"readme":"[![pub package](https://img.shields.io/pub/v/satisfaction.svg)](https://pub.dev/packages/satisfaction)\n[![package publisher](https://img.shields.io/pub/publisher/satisfaction.svg)](https://pub.dev/packages/satisfaction/publisher)\n\n[![Buy Me A Coffee](https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png \"Buy Me A Coffee\")](https://www.buymeacoffee.com/0xdir \"Buy Me A Coffee\")\n\nA collection of customer satisfaction scores and metrics used by businesses \nto measure and assess customer satisfaction.\n\nThis library is designed to have minimal dependencies for use across multiple platforms.\n\n## Using\n\nThe easiest way to use this library is via the top-level ```Satisfaction``` class.\n\n```dart\nimport 'package:satisfaction/satisfaction.dart';\n\n/// This example illustrates the main features of the library\n///\n/// For more examples, look at /tests\nvoid main() {\n  /// Initialize the main object\n  Satisfaction satisfaction = Satisfaction();\n\n  /// Get NPS score for several ratings\n  double npsScore = satisfaction.nps(ratings: [1, 7, 7, 8, 9, 10]).score;\n  print('nps: $npsScore');\n\n  /// Get a summary describing the ratings\n  Map\u003cString, dynamic\u003e npsStats =\n      satisfaction.nps(ratings: [1, 7, 7, 8, 9, 10]).stats;\n  print('nps stats: $npsStats');\n\n  /// Get CSAT score for several ratings\n  double csatScore = satisfaction.csat(ratings: [1, 2, 3, 4, 5]).score;\n  print('csat: $csatScore');\n\n  /// Get a summary describing the ratings\n  Map\u003cString, dynamic\u003e csatStats =\n      satisfaction.csat(ratings: [1, 2, 3, 4, 5]).stats;\n  print('csat stats: $csatStats');\n}\n```\n\n## Supported Metrics\n\nImplemented:\n1. Customer Satisfaction Score (CSAT)\n2. Net Promoter Score (NPS)\n\nNot Implemented:\n1. everything else, suggestions welcome\n\n## Getting Help\n\nSubmit an issue on [github](https://github.com/0xdir/satisfaction_dart).\n\n## How to contribute\n\nAll feedback and suggestions for improvements are welcome:\n\n1. Open a discussion on [github](https://github.com/0xdir/satisfaction_dart)\n2. Discuss proposed changes\n3. Submit a PR (optional)\n\n## Support my work\n\nThis package is possible thanks to the people and companies\nwho donate money, services or time to keep the project running.\n\nIf you're interested in becoming a Sponsor, Backer or Contributor\nto expand the project, please visit my [github sponsors page](https://github.com/sponsors/0xdir).\n\nOr [buy me a coffee](https://www.buymeacoffee.com/0xdir).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdir%2Fsatisfaction_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xdir%2Fsatisfaction_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdir%2Fsatisfaction_dart/lists"}