{"id":28297104,"url":"https://github.com/mrracoon/haskind","last_synced_at":"2026-03-17T11:11:46.738Z","repository":{"id":57261680,"uuid":"75799339","full_name":"MrRacoon/haskind","owner":"MrRacoon","description":"Tried and true Haskell functions for use in Javascript","archived":false,"fork":false,"pushed_at":"2017-03-30T05:27:24.000Z","size":263,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-05-23T00:16:16.063Z","etag":null,"topics":["functional-programming","haskell","haskell-functions","javascript"],"latest_commit_sha":null,"homepage":"","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/MrRacoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-07T04:28:37.000Z","updated_at":"2018-03-18T18:50:34.000Z","dependencies_parsed_at":"2022-08-25T06:11:43.791Z","dependency_job_id":null,"html_url":"https://github.com/MrRacoon/haskind","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/MrRacoon/haskind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRacoon%2Fhaskind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRacoon%2Fhaskind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRacoon%2Fhaskind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRacoon%2Fhaskind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrRacoon","download_url":"https://codeload.github.com/MrRacoon/haskind/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRacoon%2Fhaskind/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259627088,"owners_count":22886786,"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":["functional-programming","haskell","haskell-functions","javascript"],"created_at":"2025-05-23T00:15:39.196Z","updated_at":"2025-10-18T23:19:09.416Z","avatar_url":"https://github.com/MrRacoon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Haskind\n=======\n\n[![dependencies Status][DEPS_IMG]][DEPS]\n[![Build Status][BUILD_IMG]][BUILD]\n\n##### Tried and true Haskell functions for use in Javascript\n\n.oO( or at least as close as we can get )\n\n![haskell](/lamda.png)\n![js](/js.png)\n\n---\n\n### Description\n\nI sure had a fun time when I could just use Haskell everyday back in college. I\nmiss the REPL and the familiar functions. I sure wish I had all that stuff, now\nthat I'm doing JS all the time..... I said before all of the sudden, BOOM,\nHaskind was born!\n\nThis project is an exploration into porting functions common to Haskellers, into\nthe wild and typeless world of Javascript.\n\n### Get Started\n\nYou can get the functions from npm using:\n\n`npm install --save haskind`\n\nOr, for a pre loaded interactive REPL, install [hkci][hkci], It comes with the\nlatest release of Haskind built in.\n\n```\n$\u003e npm install --save hkci\n$\u003e hkci\n```\n\n### Usage\n\nRequire your favorite Haskell modules through the import system.\n\n```javascript\nimport { Data } from 'haskind';\n\nconst { Just, Nothing, catMaybes } = Data.Maybe;\nconst { reverse } = Data.List\n\nconst maybes = [ Just(3), Nothing(), Just(5) ]\n\nconsole.log(reverse(catMaybes(maybes))); // [ 5, 3 ]\n```\n\n### Note\n\nThis library is still in heavy development. Some functions/tricks are definitely\nmissing. Things like `fmap`, which can be applied across multiple types, has\nstill not been totally fleshed out.\n\n### Inspiration\n\nHaskind was heavily inspired by [Ramda][Ramda], [Lodash][Lodash] and\n[Haskell.Base][Haskell].\n\n### License\n\n[MIT License](http://opensource.org/licenses/MIT)\n\nCopyright \u0026copy; 2016 Erik Sutherland. All rights reserved.\n\n[DEPS]: https://david-dm.org/MrRacoon/haskind\n[DEPS_IMG]: https://david-dm.org/MrRacoon/haskind/status.svg\n\n[BUILD]: https://travis-ci.org/MrRacoon/haskind\n[BUILD_IMG]: https://travis-ci.org/MrRacoon/haskind.svg?branch=master\n\n[hkci]: https://github.com/MrRacoon/hkci\n[Ramda]: http://ramdajs.com/\n[Lodash]: https://lodash.com/\n[Haskell]: http://hackage.haskell.org/package/base\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrracoon%2Fhaskind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrracoon%2Fhaskind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrracoon%2Fhaskind/lists"}