{"id":23739879,"url":"https://github.com/jharrilim/madlibs","last_synced_at":"2026-03-02T16:30:16.237Z","repository":{"id":44064185,"uuid":"213252041","full_name":"jharrilim/madlibs","owner":"jharrilim","description":"`The ${\"adjective\"}, ${\"adjective\"}, ${\"noun\"} jumped over the ${\"adjective\"} ${\"noun\"}`","archived":false,"fork":false,"pushed_at":"2023-01-04T22:15:05.000Z","size":264,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T16:03:59.683Z","etag":null,"topics":["literal","madlibs","tagged","template"],"latest_commit_sha":null,"homepage":"","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/jharrilim.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":"2019-10-06T22:14:11.000Z","updated_at":"2023-03-09T03:14:21.000Z","dependencies_parsed_at":"2023-02-02T21:45:43.952Z","dependency_job_id":null,"html_url":"https://github.com/jharrilim/madlibs","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/jharrilim%2Fmadlibs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fmadlibs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fmadlibs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fmadlibs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jharrilim","download_url":"https://codeload.github.com/jharrilim/madlibs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239880931,"owners_count":19712492,"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":["literal","madlibs","tagged","template"],"created_at":"2024-12-31T09:39:44.294Z","updated_at":"2026-03-02T16:30:16.181Z","avatar_url":"https://github.com/jharrilim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MadLibs\n\n[![Build Status]](https://dev.azure.com/josephharrisonlim/josephharrisonlim/_build/latest?definitionId=4\u0026branchName=master)\n[![Version]](https://www.npmjs.com/package/@jharrilim/madlibs)\n[![Downloads]](https://www.npmjs.com/package/@jharrilim/madlibs)\n\n\u003e An entirely useless MadLibs library that demonstrates how you can process tagged template strings.\n\n## Install\n\n```sh\nnpm i @jharrilim/madlibs\n```\n\n## Usage\n\n```ts\nimport { MadLibs } from '@jharrilim/madlibs';\n\nconst madlibs = new MadLibs({\n    adjective: ['speedy'],\n    noun: ['sloth', 'ocean'],\n    'verb ending in ing': ['flying'],\n});\n\nconsole.log(madlibs.compile`\nThe ${\"adjective\"} ${\"noun\"} was ${\"verb ending in ing\"} over the ${\"noun\"}\n`.join(''));\n\n// Output: The speedy sloth was flying over the ocean\n```\n\n[Version]: https://img.shields.io/npm/v/@jharrilim/madlibs?style=flat-square\n[Downloads]: https://img.shields.io/npm/dt/@jharrilim/madlibs?style=flat-square\n[Build Status]: https://dev.azure.com/josephharrisonlim/josephharrisonlim/_apis/build/status/jharrilim.madlibs?branchName=master","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjharrilim%2Fmadlibs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjharrilim%2Fmadlibs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjharrilim%2Fmadlibs/lists"}