{"id":16471888,"url":"https://github.com/abranhe/all-words","last_synced_at":"2025-02-28T03:21:20.929Z","repository":{"id":32793397,"uuid":"142782573","full_name":"abranhe/all-words","owner":"abranhe","description":"All Words: Generate all available words (up to four letters) super fast","archived":false,"fork":false,"pushed_at":"2022-01-17T16:05:41.000Z","size":26695,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T13:42:00.757Z","etag":null,"topics":["all-words","words"],"latest_commit_sha":null,"homepage":"https://npm.im/all-words","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/abranhe.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":"2018-07-29T17:49:47.000Z","updated_at":"2022-01-17T16:05:44.000Z","dependencies_parsed_at":"2022-08-07T18:01:43.410Z","dependency_job_id":null,"html_url":"https://github.com/abranhe/all-words","commit_stats":null,"previous_names":["abranhe/all-words","abrahamhba/all-words"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fall-words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fall-words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fall-words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fall-words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abranhe","download_url":"https://codeload.github.com/abranhe/all-words/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241094251,"owners_count":19908647,"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":["all-words","words"],"created_at":"2024-10-11T12:15:09.555Z","updated_at":"2025-02-28T03:21:20.910Z","avatar_url":"https://github.com/abranhe.png","language":"JavaScript","funding_links":["https://www.patreon.com/abranhe"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/all-words\"\u003e\u003cimg src=\"https://cdn.abraham.gq/projects/all-words/words.png\"\u003e\u003c/a\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/all-words\"\u003e\n\tAll Words\u003c/a\u003e: Generate all available words (up to four letters) super fast\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://travis-ci.org/abranhe/all-words\"\u003e\u003cimg src=\"https://img.shields.io/travis/abranhe/all-words.svg?logo=travis\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/abranhe\"\u003e\u003cimg src=\"https://abranhe.com/badge.svg\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://cash.me/$abranhe\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/cash-me.svg\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.patreon.com/abranhe\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/patreon.svg\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/abranhe/all-words/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/abranhe/all-words.svg\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/abranhe/all-words/\"\u003e\u003cimg src=\"https://img.shields.io/github/repo-size/abranhe/all-words.svg\" /\u003e\u003c/a\u003e\n\n\n\u003c/p\u003e\n\n# Why?\n\n- Why not?, lol 😂\n- Clean and focused\n- Actively maintained\n- [CLI included](#cli)\n- Fast and straightforward\n\n# Install\n\n```\n$ npm install all-words\n```\n\n\u003e ![wow](https://png.icons8.com/color/30/000000/surprised.png) Wow\n\u003e\n\u003e This will generate over +450 000 words in just a second\n\n\n# Usage\n\n```js\nconst allWords = require('all-words');\n\nconsole.log(allWords.rand(), allWords.rand(), allWords.rand());\n//=\u003e 'as lsfk wls'\n\nallWords.letter();\n//=\u003e 'z'\n\nallWords.twoLetters();\n//=\u003e 'xc'\n\nallWords.fourLetters();\n//=\u003e 'ughp'\n\nconsole.log(allWords.alphabet);\n//=\u003e ['a', 'b' .... 'z']\n\nconsole.log(allWords.allThree);\n//=\u003e ['aaa', 'aab' .... 'zzz']\n```\n\n# API\n\n**rand()**\n\nType: `function`\n\n\u003e Return a random word with a random size from 1 - 4\n\n**letter()**\n\nType: `function`\n\n\u003e Return a random vowel\n\n**twoLetters()**\n\nType: `function`\n\n\u003e Return a random word with two letters\n\n**threeLetters()**\n\nType: `function`\n\n\u003e Return a random word with three letters\n\n**fourLetters()**\n\nType: `function`\n\n\u003e Return a random word with four letters\n\n**.alphabet**\n\nType: `array`\n\n\u003e Return an array with all vowels of the alphabet\n\n**.allTwo**\n\nType: `array`\n\n\u003e Return an array with all words with two letters\n\n**.allThree**\n\nType: `array`\n\n\u003e Return an array with all words with three letters\n\n**.allFour**\n\nType: `array`\n\n\u003e Return an array with all words with four letters\n\n# CLI\n\n```\n$ all-words --help\n\nExamples\n\t$ all-words\n\tblj\n\n\t$ all-words --all-two\n\taa\n\tab\n\tac\n\t...\n\n\t$ all-words --rand-three\n\tghr\n\n\tOptions\n\t\t--help             show this help and close\n\t\t--letter           generate a random letter from the alphabet\n\t\t--two-letters      generate a random word with two letters\n\t\t--three-letters    generate a random word with three letters\n\t\t--four-letters     generate a random word with four letters\n\t\t--alphabet         return array with all letters from the alphabet\n\t\t--all-two          return array with all words with two letters\n\t\t--all-three        return array with all words with three letters\n\t\t--all-four         return array with all words with four letters\n```\n\n# Related\n\n[r4nd0mstr1ng](https://github.com/abranhe/r4nd0mstr1ng):  random string generator\n\n\n# Team\n\n|[![Carlos Abraham Logo](https://avatars3.githubusercontent.com/u/21347264?s=50\u0026v=4)](https://19cah.com)|\n| :-: |\n| [Carlos Abraham](https://github.com/abranhe) |\n\n# License\n\n[MIT](https://github.com/abranhe/all-words/blob/master/LICENSE) License © [Carlos Abraham](https://github.com/abranhe/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fall-words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabranhe%2Fall-words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fall-words/lists"}