{"id":15445479,"url":"https://github.com/scriptnull/hangman-cli-art","last_synced_at":"2025-04-04T18:17:42.510Z","repository":{"id":57260686,"uuid":"68585812","full_name":"scriptnull/hangman-cli-art","owner":"scriptnull","description":"Hangman art for command line :+1: :-1:","archived":false,"fork":false,"pushed_at":"2016-09-19T13:12:17.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T07:40:48.154Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptnull.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":"2016-09-19T08:36:16.000Z","updated_at":"2019-06-05T10:04:47.000Z","dependencies_parsed_at":"2022-08-25T02:11:18.787Z","dependency_job_id":null,"html_url":"https://github.com/scriptnull/hangman-cli-art","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fhangman-cli-art","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fhangman-cli-art/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fhangman-cli-art/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fhangman-cli-art/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptnull","download_url":"https://codeload.github.com/scriptnull/hangman-cli-art/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226191,"owners_count":20904467,"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-10-01T19:45:02.492Z","updated_at":"2025-04-04T18:17:42.490Z","avatar_url":"https://github.com/scriptnull.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hangman-cli-art\nHangman art for command line :+1: :-1:\n\n![hangman](/pictures/anim.gif)\n\n# Install\n\n```bash\nnpm install --save hangman-cli-art\n```\n\n# API\n\n```javascript\nvar HangmanArt = require('hangman-cli-art')\n\nvar art = new HangmanArt({\n  marginX: 5,\n  marginY: 5\n})\n\n\nart.next() // call next() to render next part\n````\nRefer [source](https://github.com/scriptnull/hangman-cli-art/blob/master/index.js#L117) for other available options\n\n# Example\nRenders hangman part by part.\n```javascript\nvar HangmanArt = require('hangman-cli-art')\n\nvar art = new HangmanArt({\n  marginX: 5,\n  marginY: 5\n})\n\nvar chance = 0\nvar timer = setInterval(function () {\n  if (chance \u003c 10) {\n    art.next()\n    chance++\n  } else {\n    clearInterval(timer)\n  }\n}, 1000)\n```\n\n# Badges\n[![Run Status](https://api.shippable.com/projects/57dfdf7b0973e60f00aa870e/badge?branch=master)](https://app.shippable.com/projects/57dfdf7b0973e60f00aa870e)\n\n![](https://david-dm.org/scriptnull/hangman-cli-art.svg)\n\n[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptnull%2Fhangman-cli-art","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptnull%2Fhangman-cli-art","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptnull%2Fhangman-cli-art/lists"}