{"action":"created","comment":{"url":"https://api.github.com/repos/dart-lang/site-www/pulls/comments/80115397","id":80115397,"diff_hunk":"@@ -0,0 +1,113 @@\n+---\n+layout: default\n+title: \"Useful Dart Libraries You Should Know About\"\n+description: \"What are some of the most useful and popular Dart libraries and where can you learn more.\"\n+---\n+\n+You can leverage a wide array of available Dart libraries and packages when\n+writing your code. This document shares some of the most widely\n+used libraries and library packages and tells you where you can learn more.\n+\n+<aside class=\"alert alert-info\" markdown=\"1\">\n+**Note:**\n+Dart libraries are distributed, outside of the SDK, as library packages.\n+Dart applications are distributed as application packages. So, a library\n+can be part of a package but a package is not a library.\n+For more information on what constitutes a library package, see\n+[Create library packages](/guides/libraries/create-library-packages).\n+</aside>\n+\n+## Dart libraries and their corresponding packages\n+\n+The Dart SDK contains a number of core libraries, such as dart:collection,\n+dart:async, and dart:convert. These libraries contain classes most\n+commonly used by developers.  Classes that are still useful,\n+but not as universally used, are placed in packages outside of the SDK.\n+Separating out the less commonly used classes ensures that your app\n+isn't bloated by features that you don't need.\n+\n+For example, the\n+[dart:collection](https://api.dartlang.org/stable/dart-collection/dart-collection-library.html)\n+library contains the Queue, HashMap, and HashSet classes. The\n+[collection package](https://www.dartdocs.org/documentation/collection/latest/collection/collection-library.html)\n+contains more specialized classes, such as CanonicalizedMap, MapKeySet, PriorityQueue,\n+and support for equality testing.\n+\n+The Dart SDK libraries are documented at [api.dartlang.org](https://api.dartlang.org/stable/).\n+Packages outside of the SDK are published to [pub.dartlang.org](https://pub.dartlang.org/)\n+and documented at [dartdocs.org](https://www.dartdocs.org/).\n+If you don't find the functionality you need on api.dartlang.org, check dartdocs.org.\n+\n+Some of the libraries in the SDK have corresponding packages with additional\n+functionality. The following table includes some that you should know about:\n+\n+| **SDK Library** | **Package** |\n+| [dart:async](https://api.dartlang.org/stable/dart-async/dart-async-library.html)<br>Support for asynchronous programming with classes such as Future and Stream. | [async](https://www.dartdocs.org/documentation/async/latest/)<br>Utility classes to work with asynchronous computations. For more information, see [Unboxing Packages: async part 1](http://news.dartlang.org/2016/03/unboxing-packages-async-part-1.html), [part 2](http://news.dartlang.org/2016/03/unboxing-packages-async-part-2.html), and [part 3](http://news.dartlang.org/2016/04/unboxing-packages-async-part-3.html). |\n+| [dart:collection](https://api.dartlang.org/stable/dart-collection/dart-collection-library.html)<br>Classes and utilities that supplement the collection support in dart:core. | [collection](https://www.dartdocs.org/documentation/collection/latest)<br>Utility functions and classes to make working with collections easier. For more information, see [Unboxing Packages: collection](http://news.dartlang.org/2016/01/unboxing-packages-collection.html). |\n+| [dart:convert](https://api.dartlang.org/stable/dart-convert/dart-convert-library.html)<br>Encoders and decoders for converting between different data representations, including JSON and UTF-8.| [convert](https://www.dartdocs.org/documentation/convert/latest/)<br>This package contains encoders and decoders for converting between different data representations.|\n+| [dart:core](https://api.dartlang.org/stable/dart-core/dart-core-library.html)<br>Built-in types, collections, and other core functionality for every Dart program. | N/A |\n+| dart:js<br>Deprecated. | [js](https://www.dartdocs.org/documentation/js/latest)<br>Methods and annotations to specify interoperability with JavaScript APIs. Use this package instead of dart:js. |\n+{:.table .table-striped .nowrap}\n+\n+## Other useful packages\n+\n+Developers have written some excellent packages for use by the\n+Dart community.  Other popular and useful packages that we recommend,\n+in alphabetical order:\n+\n+[firebase3](https://pub.dartlang.org/packages/firebase3)\n+: A Dart wrapper library for the Firebase.\n+\n+[intl](https://pub.dartlang.org/packages/intl)\n+: Support for internationalization and localization facilities.\n+\n+[logging](https://pub.dartlang.org/packages/logging)\n+: A configuratable mechanism for logging messages.\n+\n+[mockito](https://pub.dartlang.org/packages/mockito)\n+: A Dart version of the Mockito framework.\n+\n+[path](https://pub.dartlang.org/packages/path)\n+: A comprehensive, cross-platform path manipulation library.\n+  See [Unboxing Packages: path](http://news.dartlang.org/2016/06/unboxing-packages-path.html)\n+  for more information.\n+\n+[quiver](https://pub.dartlang.org/packages/quiver)\n+: A set of utilitiy libraries that makes it easier and more convenient to use many Dart\n+  libraries.\n+\n+[shelf](https://pub.dartlang.org/packages/shelf)\n+: Web server middleware for Dart.\n+\n+[stagehand](https://pub.dartlang.org/packages/stagehand)\n+: A Dart project generator.\n+\n+[test](https://pub.dartlang.org/packages/test)\n+: A standard way of writing and running tests in Dart.\n+\n+Search for other available packages on [pub.dartlang.org](https://pub.dartlang.org/).\n+\n+## \"Unboxing Packages\" series\n+\n+Natalie Weizenbaum has written a series of posts on\n+[news.dartlang.org](http://news.dartlang.org/) called \"Unboxing Packages.\"\n+Each post contains in-depth detail on how to use some of the Dart packages:\n+\n+* [Unboxing Packages: async, part 1](http://news.dartlang.org/2016/03/unboxing-packages-async-part-1.html)\n+* [Unboxing Packages: async, part 2](http://news.dartlang.org/2016/03/unboxing-packages-async-part-2.html)\n+* [Unboxing Packages: async, part 3](http://news.dartlang.org/2016/04/unboxing-packages-async-part-3.html)\n+* [Unboxing Packages: collection](http://news.dartlang.org/2016/01/unboxing-packages-collection.html)\n+* [Unboxing Packages: json_rpc_2](http://news.dartlang.org/2016/05/unboxing-packages-jsonrpc2.html)\n+* [Unboxing Packages: source_span](http://news.dartlang.org/2016/02/one-of-best-aspects-of-package.html)\n+* [Unboxing Packages: stack_trace](http://news.dartlang.org/2016/01/unboxing-packages-stacktrace.html)\n+* [Unboxing Packages: stream_channel](http://news.dartlang.org/2016/04/unboxing-packages-streamchannel.html)\n+* [Unboxing Packages: string_scanner](http://news.dartlang.org/2016/02/unboxing-packages-stringscanner.html)\n+* [Unboxing Packages: vm_service_client](http://news.dartlang.org/2016/05/unboxing-packages-vmserviceclient.html)\n+\n+## Importing libraries and packages\n+\n+If you need help with importing libraries and packages into your code, see\n+[Using libraries](/guides/language/language-tour#libraries-and-visibility),\n+a section in the [language tour](/guides/language/language-tour), and\n+[Importing library files](/guides/libraries/create-library-packages#importing-library-files),\n+a section in [Create Library Packages](/guides/libraries/create-library-packages).","path":"src/_guides/libraries/useful-libraries.md","position":113,"original_position":113,"commit_id":"50bea14da4a7a6b8382a18c0ed4bbd47f9546d73","original_commit_id":"50bea14da4a7a6b8382a18c0ed4bbd47f9546d73","user":{"login":"kwalrath","id":2164483,"avatar_url":"https://avatars.githubusercontent.com/u/2164483?v=3","gravatar_id":"","url":"https://api.github.com/users/kwalrath","html_url":"https://github.com/kwalrath","followers_url":"https://api.github.com/users/kwalrath/followers","following_url":"https://api.github.com/users/kwalrath/following{/other_user}","gists_url":"https://api.github.com/users/kwalrath/gists{/gist_id}","starred_url":"https://api.github.com/users/kwalrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwalrath/subscriptions","organizations_url":"https://api.github.com/users/kwalrath/orgs","repos_url":"https://api.github.com/users/kwalrath/repos","events_url":"https://api.github.com/users/kwalrath/events{/privacy}","received_events_url":"https://api.github.com/users/kwalrath/received_events","type":"User","site_admin":false},"body":"You should probably link to other sources of information about libraries.\r\n\r\nFor example, angular2 is one of the most popular libraries, but we don't cover it here because it's web-specific. (We should probably mention it, at least, as an example of a web-specific library.) Where should they go to find info about libraries that are useful for web apps? \r\n\r\nServer-side-only libraries should probably be similarly handled. And Flutter libs, too.","created_at":"2016-09-22T19:15:15Z","updated_at":"2016-09-22T19:16:51Z","html_url":"https://github.com/dart-lang/site-www/pull/145#discussion_r80115397","pull_request_url":"https://api.github.com/repos/dart-lang/site-www/pulls/145","_links":{"self":{"href":"https://api.github.com/repos/dart-lang/site-www/pulls/comments/80115397"},"html":{"href":"https://github.com/dart-lang/site-www/pull/145#discussion_r80115397"},"pull_request":{"href":"https://api.github.com/repos/dart-lang/site-www/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/dart-lang/site-www/pulls/145","id":86378557,"html_url":"https://github.com/dart-lang/site-www/pull/145","diff_url":"https://github.com/dart-lang/site-www/pull/145.diff","patch_url":"https://github.com/dart-lang/site-www/pull/145.patch","issue_url":"https://api.github.com/repos/dart-lang/site-www/issues/145","number":145,"state":"open","locked":false,"title":"Useful libraries","user":{"login":"Sfshaza","id":6293442,"avatar_url":"https://avatars.githubusercontent.com/u/6293442?v=3","gravatar_id":"","url":"https://api.github.com/users/Sfshaza","html_url":"https://github.com/Sfshaza","followers_url":"https://api.github.com/users/Sfshaza/followers","following_url":"https://api.github.com/users/Sfshaza/following{/other_user}","gists_url":"https://api.github.com/users/Sfshaza/gists{/gist_id}","starred_url":"https://api.github.com/users/Sfshaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sfshaza/subscriptions","organizations_url":"https://api.github.com/users/Sfshaza/orgs","repos_url":"https://api.github.com/users/Sfshaza/repos","events_url":"https://api.github.com/users/Sfshaza/events{/privacy}","received_events_url":"https://api.github.com/users/Sfshaza/received_events","type":"User","site_admin":false},"body":"Please review, @kwalrath @filiph @kevmoo @nex3 \r\n\r\n(Natalie, I know you're out, but let me know if you see anything I should fix when you return.)\r\n\r\nStaged: https://sz-www-1.firebaseapp.com/guides/libraries/useful-libraries","created_at":"2016-09-22T17:17:20Z","updated_at":"2016-09-22T19:16:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e88a1150a75ceed0c64c085423d95a9451484f6e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/site-www/pulls/145/commits","review_comments_url":"https://api.github.com/repos/dart-lang/site-www/pulls/145/comments","review_comment_url":"https://api.github.com/repos/dart-lang/site-www/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/site-www/issues/145/comments","statuses_url":"https://api.github.com/repos/dart-lang/site-www/statuses/50bea14da4a7a6b8382a18c0ed4bbd47f9546d73","head":{"label":"dart-lang:useful-libraries","ref":"useful-libraries","sha":"50bea14da4a7a6b8382a18c0ed4bbd47f9546d73","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":63089994,"name":"site-www","full_name":"dart-lang/site-www","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/site-www","description":"Source for Dart website","fork":false,"url":"https://api.github.com/repos/dart-lang/site-www","forks_url":"https://api.github.com/repos/dart-lang/site-www/forks","keys_url":"https://api.github.com/repos/dart-lang/site-www/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/site-www/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/site-www/teams","hooks_url":"https://api.github.com/repos/dart-lang/site-www/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/site-www/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/site-www/events","assignees_url":"https://api.github.com/repos/dart-lang/site-www/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/site-www/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/site-www/tags","blobs_url":"https://api.github.com/repos/dart-lang/site-www/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/site-www/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/site-www/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/site-www/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/site-www/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/site-www/languages","stargazers_url":"https://api.github.com/repos/dart-lang/site-www/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/site-www/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/site-www/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/site-www/subscription","commits_url":"https://api.github.com/repos/dart-lang/site-www/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/site-www/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/site-www/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/site-www/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/site-www/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/site-www/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/site-www/merges","archive_url":"https://api.github.com/repos/dart-lang/site-www/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/site-www/downloads","issues_url":"https://api.github.com/repos/dart-lang/site-www/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/site-www/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/site-www/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/site-www/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/site-www/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/site-www/releases{/id}","deployments_url":"https://api.github.com/repos/dart-lang/site-www/deployments","created_at":"2016-07-11T17:57:36Z","updated_at":"2016-08-27T04:16:51Z","pushed_at":"2016-09-22T17:17:21Z","git_url":"git://github.com/dart-lang/site-www.git","ssh_url":"git@github.com:dart-lang/site-www.git","clone_url":"https://github.com/dart-lang/site-www.git","svn_url":"https://github.com/dart-lang/site-www","homepage":"https://www.dartlang.org/","size":8464,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":74,"forks":4,"open_issues":74,"watchers":8,"default_branch":"master"}},"base":{"label":"dart-lang:master","ref":"master","sha":"0b6943edae62006346e4be03a194ea34b7202cca","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":63089994,"name":"site-www","full_name":"dart-lang/site-www","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/site-www","description":"Source for Dart website","fork":false,"url":"https://api.github.com/repos/dart-lang/site-www","forks_url":"https://api.github.com/repos/dart-lang/site-www/forks","keys_url":"https://api.github.com/repos/dart-lang/site-www/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/site-www/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/site-www/teams","hooks_url":"https://api.github.com/repos/dart-lang/site-www/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/site-www/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/site-www/events","assignees_url":"https://api.github.com/repos/dart-lang/site-www/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/site-www/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/site-www/tags","blobs_url":"https://api.github.com/repos/dart-lang/site-www/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/site-www/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/site-www/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/site-www/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/site-www/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/site-www/languages","stargazers_url":"https://api.github.com/repos/dart-lang/site-www/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/site-www/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/site-www/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/site-www/subscription","commits_url":"https://api.github.com/repos/dart-lang/site-www/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/site-www/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/site-www/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/site-www/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/site-www/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/site-www/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/site-www/merges","archive_url":"https://api.github.com/repos/dart-lang/site-www/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/site-www/downloads","issues_url":"https://api.github.com/repos/dart-lang/site-www/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/site-www/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/site-www/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/site-www/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/site-www/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/site-www/releases{/id}","deployments_url":"https://api.github.com/repos/dart-lang/site-www/deployments","created_at":"2016-07-11T17:57:36Z","updated_at":"2016-08-27T04:16:51Z","pushed_at":"2016-09-22T17:17:21Z","git_url":"git://github.com/dart-lang/site-www.git","ssh_url":"git@github.com:dart-lang/site-www.git","clone_url":"https://github.com/dart-lang/site-www.git","svn_url":"https://github.com/dart-lang/site-www","homepage":"https://www.dartlang.org/","size":8464,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":74,"forks":4,"open_issues":74,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/site-www/pulls/145"},"html":{"href":"https://github.com/dart-lang/site-www/pull/145"},"issue":{"href":"https://api.github.com/repos/dart-lang/site-www/issues/145"},"comments":{"href":"https://api.github.com/repos/dart-lang/site-www/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/site-www/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/site-www/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/site-www/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/site-www/statuses/50bea14da4a7a6b8382a18c0ed4bbd47f9546d73"}}}}
{"actor":{"display_login":"kwalrath"}}