{"id":19146347,"url":"https://github.com/signpostmarv/diceroll","last_synced_at":"2025-02-22T19:49:30.557Z","repository":{"id":9364773,"uuid":"11219467","full_name":"SignpostMarv/diceRoll","owner":"SignpostMarv","description":"diceRoll is a simple library for parsing strings commonly used in pen \u0026 paper RPGs then generating dice rolls.","archived":false,"fork":false,"pushed_at":"2022-12-04T04:23:31.000Z","size":498,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T16:26:17.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SignpostMarv.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":"2013-07-06T14:45:22.000Z","updated_at":"2020-04-02T16:40:44.000Z","dependencies_parsed_at":"2023-01-11T20:12:01.323Z","dependency_job_id":null,"html_url":"https://github.com/SignpostMarv/diceRoll","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2FdiceRoll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2FdiceRoll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2FdiceRoll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2FdiceRoll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SignpostMarv","download_url":"https://codeload.github.com/SignpostMarv/diceRoll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240229935,"owners_count":19768588,"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-11-09T07:43:54.510Z","updated_at":"2025-02-22T19:49:30.296Z","avatar_url":"https://github.com/SignpostMarv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About diceRoll\n\ndiceRoll is a simple library for parsing strings commonly used in pen \u0026 paper RPGs then generating dice rolls.\n\n## Examples\n```typescript\nconst instance = new DiceRoll('2d10+4');\nconst assert = 2 === instace.count;\nconst assert = 10 === instace.faces;\nconst assert_action = '+' === instace.modifier.action;\nconst assert_modifier = 4n === instace.modifier.modifier;\n\n(new DiceRoll('2d10+4')).roll();\n\n(new DiceRoll('2d10+4')).multiRoll(10);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignpostmarv%2Fdiceroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsignpostmarv%2Fdiceroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignpostmarv%2Fdiceroll/lists"}