{"id":21313745,"url":"https://github.com/railsmechanic/simple_token","last_synced_at":"2025-03-15T21:13:47.838Z","repository":{"id":57548374,"uuid":"72733780","full_name":"railsmechanic/simple_token","owner":"railsmechanic","description":"SimpleToken generates random alphanumeric, non-cryptographic string tokens.","archived":false,"fork":false,"pushed_at":"2016-11-03T13:16:28.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T10:15:03.420Z","etag":null,"topics":["elixir","token"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/simple_token","language":"Elixir","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/railsmechanic.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-11-03T10:21:24.000Z","updated_at":"2017-08-23T19:19:21.000Z","dependencies_parsed_at":"2022-08-28T11:30:19.855Z","dependency_job_id":null,"html_url":"https://github.com/railsmechanic/simple_token","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/railsmechanic%2Fsimple_token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsmechanic%2Fsimple_token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsmechanic%2Fsimple_token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsmechanic%2Fsimple_token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/railsmechanic","download_url":"https://codeload.github.com/railsmechanic/simple_token/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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":["elixir","token"],"created_at":"2024-11-21T18:08:31.592Z","updated_at":"2025-03-15T21:13:47.816Z","avatar_url":"https://github.com/railsmechanic.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleToken\nSimpleToken generates random alphanumeric, non-cryptographic string tokens.\n\n## Installation\n1. Add `simple_token` to your list of dependencies in `mix.exs`:\n\n  ```elixir\n  def deps do\n    [{:simple_token, \"~\u003e 0.1.0\"}]\n  end\n  ```\n\n2. Fetch dependencies\n\n  ```bash\n  mix deps.get\n  ```\n\n## Usage\nSimpleToken is really simple to use:\n\n#### 1. Generate a token with the default length of 16 characters\n\n```elixir\ntoken = SimpleToken.generate # =\u003e token: \"BKjW17nVOuwekNgP\"\n```\n\n#### 2. Generate a token with a custom length\n\n```elixir\ntoken = SimpleToken.generate(24) # =\u003e token: \"fCleyrpZAO9LXKtsR1xUMFPj\"\n```\n\n## License\nSee [LICENSE](https://github.com/railsmechanic/simple_token/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsmechanic%2Fsimple_token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frailsmechanic%2Fsimple_token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsmechanic%2Fsimple_token/lists"}