{"id":16603145,"url":"https://github.com/laserpants/hashids-haskell","last_synced_at":"2025-03-21T13:32:54.367Z","repository":{"id":32162823,"uuid":"35736011","full_name":"laserpants/hashids-haskell","owner":"laserpants","description":":zap: Haskell port of the Hashids library. :zap:","archived":false,"fork":false,"pushed_at":"2023-12-30T17:33:45.000Z","size":220,"stargazers_count":24,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-13T00:47:32.564Z","etag":null,"topics":["hashids","haskell"],"latest_commit_sha":null,"homepage":"http://hashids.org/","language":"Haskell","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/laserpants.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-05-16T18:51:46.000Z","updated_at":"2023-11-26T04:48:59.000Z","dependencies_parsed_at":"2023-12-30T18:45:02.267Z","dependency_job_id":null,"html_url":"https://github.com/laserpants/hashids-haskell","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/laserpants%2Fhashids-haskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laserpants%2Fhashids-haskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laserpants%2Fhashids-haskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laserpants%2Fhashids-haskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laserpants","download_url":"https://codeload.github.com/laserpants/hashids-haskell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221815810,"owners_count":16885232,"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":["hashids","haskell"],"created_at":"2024-10-12T00:47:46.913Z","updated_at":"2024-10-28T10:15:16.308Z","avatar_url":"https://github.com/laserpants.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![hashids-haskell](http://hashids.org/public/img/hashids-logo-normal.png \"Hashids\")\n[![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Language](https://img.shields.io/badge/language-Haskell-orange.svg)](https://www.haskell.org/) [![Hackage](https://img.shields.io/hackage/v/hashids.svg)](http://hackage.haskell.org/package/hashids)  [![Version](https://img.shields.io/badge/hashids--version-1.0-blue.svg?colorB=ff69b4)](http://hashids.org/)\n[![Haskell CI](https://github.com/laserpants/hashids-haskell/actions/workflows/haskell.yml/badge.svg)](https://github.com/laserpants/hashids-haskell/actions/workflows/haskell.yml)\n\nHaskell port of the Hashids library. http://hashids.org\n\n* Hackage: http://hackage.haskell.org/package/hashids\n* Stackage: https://www.stackage.org/package/hashids\n* Docs: http://hackage.haskell.org/package/hashids/docs/Web-Hashids.html\n\n##### Install:\n\n```\ncabal install hashids\n```\n\nor using [Stack](https://www.haskellstack.org/):\n\n```\nstack install hashids\n```\n\n##### Hello, World:\n\n```\n{-# LANGUAGE OverloadedStrings #-}\nmodule Main where\n\nimport Web.Hashids\n\nmain :: IO ()\nmain = do\n    let hashids = hashidsSimple \"this is my salt\"\n        ids = encodeList hashids [1, 2, 3]\n        numbers = decode hashids ids\n\n    print (ids, numbers)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaserpants%2Fhashids-haskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaserpants%2Fhashids-haskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaserpants%2Fhashids-haskell/lists"}