{"id":26315977,"url":"https://github.com/its-dart/dart-tools-ts","last_synced_at":"2025-09-13T11:04:52.571Z","repository":{"id":273102385,"uuid":"910264478","full_name":"its-dart/dart-tools-ts","owner":"its-dart","description":"Dart TypeScript and JavaScript client and CLI","archived":false,"fork":false,"pushed_at":"2025-03-05T00:30:04.000Z","size":320,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T01:26:34.018Z","etag":null,"topics":["cli","client","dart","javascript","library","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/dart-tools-ts","language":"TypeScript","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/its-dart.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-30T20:37:52.000Z","updated_at":"2025-03-05T00:30:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c79d8b7-01fd-4f1a-8595-525d8b93b4ab","html_url":"https://github.com/its-dart/dart-tools-ts","commit_stats":null,"previous_names":["its-dart/dart-tools-ts"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-dart%2Fdart-tools-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-dart%2Fdart-tools-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-dart%2Fdart-tools-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-dart%2Fdart-tools-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/its-dart","download_url":"https://codeload.github.com/its-dart/dart-tools-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243729428,"owners_count":20338466,"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":["cli","client","dart","javascript","library","typescript"],"created_at":"2025-03-15T12:27:44.355Z","updated_at":"2025-09-13T11:04:52.540Z","avatar_url":"https://github.com/its-dart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eDart Tools\u003c/h1\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://npmjs.com/package/dart-tools\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/dart-tools\" alt=\"NPM\"\u003e\u003c/a\u003e\n    \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/its-dart/dart-tools-ts\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n[Dart](https://dartai.com?nr=1) is Project Management powered by AI.\n\n`dart-tools` is the Dart TypeScript/JavaScript Library. It enables direct integration with Dart through TypeScript or JavaScript.\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Authentication of the Dart Client](#authentication-of-the-dart-client)\n  - [Importing](#importing)\n  - [Example](#example)\n- [Help and Resources](#help-and-resources)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n```sh\nnpm i dart-tools\n```\n\n## Usage\n\n### Authentication of the Dart Client\n\nVisit [your Dart profile](https://app.dartai.com/?settings=account) and save the authentication token into the `DART_TOKEN` environment variable.\n\n### Importing\n\nTo use this package in a CommonJS (CJS) script, you can require the module with\n\n```js\nconst dart = require(\"dart-tools\");\n```\n\nTo use this package in an ECMAScript Module (MJS) script, you can import the module with\n\n```ts\nimport * as dart from \"dart-tools\";\n```\n\n### Example\n\n```ts\n// Get all critical tasks\nimport { TaskService, PaginatedConciseTaskList } from \"dart-tools\";\nconst filteredTasks: PaginatedConciseTaskList = await TaskService.listTasks({\n  priority: \"Critical\",\n});\n\n// Create a new task called 'Update the landing page' with priority 'Critical' (i.e. p0)\nimport { TaskService, WrappedTask } from \"dart-tools\";\nconst task: WrappedTask = await TaskService.createTask({\n  item: {\n    title: \"Update the landing page\",\n    priority: \"Critical\",\n  },\n});\n```\n\n## Help and Resources\n\n- [Homepage](https://dartai.com/?nr=1)\n- [Web App](https://app.dartai.com/)\n- [Help Center](https://help.dartai.com/)\n- [Bugs and Features](https://app.dartai.com/p/r/JFyPnhL9En61)\n- [Library Source](https://github.com/its-dart/dart-tools-ts/)\n- [Chat on Discord](https://discord.gg/RExv8jEkSh)\n- Email us at [support@dartai.com](mailto:support@dartai.com)\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under [the MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-dart%2Fdart-tools-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-dart%2Fdart-tools-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-dart%2Fdart-tools-ts/lists"}