{"id":2954844,"url":"https://github.com/swz-git/yare-typescript-template","last_synced_at":"2026-02-26T00:49:09.615Z","repository":{"id":46679576,"uuid":"387048128","full_name":"swz-git/yare-typescript-template","owner":"swz-git","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-09T09:18:41.000Z","size":55,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T22:08:12.428Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swz-git.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-17T22:35:03.000Z","updated_at":"2022-09-25T10:19:04.000Z","dependencies_parsed_at":"2022-09-06T10:01:38.682Z","dependency_job_id":null,"html_url":"https://github.com/swz-git/yare-typescript-template","commit_stats":null,"previous_names":["swz-gh/yare-typescript-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/swz-git/yare-typescript-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swz-git%2Fyare-typescript-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swz-git%2Fyare-typescript-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swz-git%2Fyare-typescript-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swz-git%2Fyare-typescript-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swz-git","download_url":"https://codeload.github.com/swz-git/yare-typescript-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swz-git%2Fyare-typescript-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29846209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-01-30T19:37:25.517Z","updated_at":"2026-02-26T00:49:09.600Z","avatar_url":"https://github.com/swz-git.png","language":"JavaScript","funding_links":[],"categories":["Bot templates"],"sub_categories":[],"readme":"﻿# yare-typescript-template\r\n\r\n## Requirements\r\n\r\n- node.js 14+\r\n- yarn (to install, do `npm i -g yarn`)\r\n\r\n## Setup\r\n\r\nSetup is super easy, just run `yarn install --production=false` in console.\r\n\r\nYou can now start writing yare code in src/main.js (for typescript just rename the file to main.ts)\r\n\r\n## Use\r\n\r\n- To bundle your js into a single file, use `yarn build`.\r\n- Once it's done, a bundle should have appeared at dist/bundle.js\r\n- Use the `-s` flag while building to auto upload your bundle to yare\r\n- Use the `-a` flag to change to a new account to sync to.\r\n- Use the `-w` flag while building to watch the `./src` directory for changes\r\n- Use the `-nm` flag while building to disable the minifer\r\n- Use the `--main=src/main.js` flag while building to use a custom main file\r\n\r\n## Additional information\r\n\r\n- This automatically puts your code in a anonymous function `(()=\u003e{// your code here})()`\r\n- To update the typescript typings you can run `yarn install --production=false` again.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswz-git%2Fyare-typescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswz-git%2Fyare-typescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswz-git%2Fyare-typescript-template/lists"}