{"id":20713433,"url":"https://github.com/francisfuzz/str-gen","last_synced_at":"2025-07-09T13:39:33.976Z","repository":{"id":47916084,"uuid":"394816543","full_name":"francisfuzz/str-gen","owner":"francisfuzz","description":"Utility package that generates a variety of random strings based on a specified charset","archived":false,"fork":false,"pushed_at":"2021-08-11T22:11:22.000Z","size":50,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T03:21:13.201Z","etag":null,"topics":["javascript","javascript-library","random-string-generators"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@francisfuzz/str-gen","language":"JavaScript","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/francisfuzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-11T00:38:18.000Z","updated_at":"2024-10-02T18:31:29.000Z","dependencies_parsed_at":"2022-08-12T14:01:05.206Z","dependency_job_id":null,"html_url":"https://github.com/francisfuzz/str-gen","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/francisfuzz/str-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francisfuzz%2Fstr-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francisfuzz%2Fstr-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francisfuzz%2Fstr-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francisfuzz%2Fstr-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francisfuzz","download_url":"https://codeload.github.com/francisfuzz/str-gen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francisfuzz%2Fstr-gen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264468845,"owners_count":23613164,"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":["javascript","javascript-library","random-string-generators"],"created_at":"2024-11-17T02:25:20.107Z","updated_at":"2025-07-09T13:39:33.923Z","avatar_url":"https://github.com/francisfuzz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# str-gen\n\n[![Node.js CI](https://github.com/francisfuzz/str-gen/actions/workflows/node.js.yml/badge.svg)](https://github.com/francisfuzz/str-gen/actions/workflows/node.js.yml)\n\n\"str-gen\", short for \"string generator\". This is a utility package that generates a variety of random strings.\n\n## Usage\n\nFirst, assuming that NPM is installed on your machine, create a new directory, navigate to it, and install the package using a command line interface (CLI) of your choice:\n\n```shell\nmkdir example-project\ncd example-project\nnpm install @francisfuzz/str-gen\n```\n\nThen, create a file, say `example.js` and run it in your CLI as `node example.js`:\n\n```js\nconst generate = require('@francisfuzz/str-gen')\nconst SIMPLE_CHARSET = ['s', 'i', 'm', 'p', 'l', 'e']\n\nconsole.log(generate(10, SIMPLE_CHARSET)) // =\u003e 'lsmsmepssp'\n```\n\nCheck out the [`examples/`](https://github.com/francisfuzz/str-gen/tree/main/examples) directory for more interesting cases.\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancisfuzz%2Fstr-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancisfuzz%2Fstr-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancisfuzz%2Fstr-gen/lists"}