{"id":15627873,"url":"https://github.com/perguth/random-tree-names","last_synced_at":"2026-02-26T02:46:25.493Z","repository":{"id":65472157,"uuid":"72676598","full_name":"perguth/random-tree-names","owner":"perguth","description":":deciduous_tree: • Random tree names for all your things!","archived":false,"fork":false,"pushed_at":"2022-12-18T12:45:52.000Z","size":485,"stargazers_count":41,"open_issues_count":8,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T23:55:45.108Z","etag":null,"topics":["fun","generator","isomorphic","module","names","trees"],"latest_commit_sha":null,"homepage":"https://perguth.github.io/random-tree-names/","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/perguth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"perguth"}},"created_at":"2016-11-02T20:02:18.000Z","updated_at":"2024-02-14T17:00:27.000Z","dependencies_parsed_at":"2023-01-29T19:15:42.754Z","dependency_job_id":null,"html_url":"https://github.com/perguth/random-tree-names","commit_stats":null,"previous_names":["pguth/random-tree-names"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perguth%2Frandom-tree-names","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perguth%2Frandom-tree-names/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perguth%2Frandom-tree-names/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perguth%2Frandom-tree-names/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perguth","download_url":"https://codeload.github.com/perguth/random-tree-names/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233694824,"owners_count":18715508,"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":["fun","generator","isomorphic","module","names","trees"],"created_at":"2024-10-03T10:19:52.850Z","updated_at":"2026-02-26T02:46:20.469Z","avatar_url":"https://github.com/perguth.png","language":"JavaScript","funding_links":["https://github.com/sponsors/perguth"],"categories":[],"sub_categories":[],"readme":"# random-tree-names\n\n\u003e Get random tree names for all your things!\n\nUsable as module, command-line interface and website:\n\n[![Screenshot](docs/161109%20screenshot.png)](https://perguth.github.io/random-tree-names/)\n\n## Usage\n\n### Module\n\n```bash\n$ npm install random-tree-names\n```\n\n```js\nconst treeNames = require('random-tree-names')\n\ntreeNames.random()\n// =\u003e 'chenault-schneebeere'\ntreeNames.random('en')\n// =\u003e 'flowering-almira-norway-maple'\n\n```\n\nCurrently we have tree names in `en` and `de`.\n\n### Browser\n\n```bash\ngit clone https://github.com/perguth/random-tree-names.git\ncd random-tree-names\nnpm install\nnpm start\n// =\u003e http://localhost:9966\n```\n\nOr simply click here: https://pguth.github.io/random-tree-names/\n\n### Command-line interface\n\n```bash\n$ npm install -g random-tree-names\n$ random-tree-names de\nfeuer-ahorn\n```\n\n## API\n\n#### `languages = randomTreeNames.languages`\n\nAll available language strings.\n\n#### `allTreeNames = randomTreeNames.all([language])`\n\nTree names in alphabetical order.\n\n#### `allTreeNames = randomTreeNames.random([language])`\n\nRandom tree name.\n\n## CLI\n\n```bash\n$ npm install -g random-tree-names\n```\n\n```bash\n$ random-tree-name --help\n\nUsage:\n  $ random-tree-names [language]\n\nCommands:\n  \u003cdefault\u003e    Pick a random name from all languages\n\n  Options:\n    -h, --help          Print usage\n    -a, --all           Print all tree names\n    -l, --languages     Print available language strings\n\nExamples:\n  $ random-tree-names                       # prints a random tree name\n  $ random-tree-names -a                    # lists all tree names\n  $ random-tree-names en -a                 # lists all english tree names\n```\n\n## Tree name sources\n\n- **[English](tree-names/tree-names-en.json)**: [hort.ifas.ufl.edu](http://hort.ifas.ufl.edu/database/trees/trees_common.shtml)\n- **[German](tree-names/tree-names-de.json)**: [baumkunde.de](http://www.baumkunde.de/baumlisten/baumliste_az.php)\n\nIf you know a good source for any other language please [open an issue](https://github.com/pguth/random-tree-names/issues).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperguth%2Frandom-tree-names","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperguth%2Frandom-tree-names","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperguth%2Frandom-tree-names/lists"}