{"id":16919304,"url":"https://github.com/antonmedv/list","last_synced_at":"2025-10-07T04:28:04.152Z","repository":{"id":143760649,"uuid":"96388198","full_name":"antonmedv/list","owner":"antonmedv","description":"Immutable lists in JavaScript without [] and {}","archived":false,"fork":false,"pushed_at":"2017-07-22T07:05:29.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T12:50:52.546Z","etag":null,"topics":["functional-programming","immutable","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/antonmedv.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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"antonmedv"}},"created_at":"2017-07-06T04:26:31.000Z","updated_at":"2024-12-20T14:19:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b9b24a2-1d4e-43c4-a1cf-cc7519e2ce99","html_url":"https://github.com/antonmedv/list","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/antonmedv%2Flist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonmedv%2Flist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonmedv%2Flist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonmedv%2Flist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonmedv","download_url":"https://codeload.github.com/antonmedv/list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248441893,"owners_count":21104095,"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","immutable","javascript"],"created_at":"2024-10-13T19:43:49.872Z","updated_at":"2025-10-07T04:27:59.109Z","avatar_url":"https://github.com/antonmedv.png","language":"JavaScript","funding_links":["https://github.com/sponsors/antonmedv"],"categories":[],"sub_categories":[],"readme":"# @medv/list\n\n[![Build Status](https://travis-ci.org/antonmedv/list.svg?branch=master)](https://travis-ci.org/antonmedv/list)\n\nImmutable lists in JavaScript without [] and {}\n\n## Install\n\n```bash\nnpm install @medv/list\n```\n\n## Usage\n\nThis implementation requires tail calls optimization which for now available only in [Safari](https://kangax.github.io/compat-table/es6/#test-proper_tail_calls_(tail_call_optimisation)) \nand in [node](http://node.green/#ES2015-optimisation-proper-tail-calls--tail-call-optimisation-) only with `--harmony-tailcalls` flag.\n\n```js\nconst {list, reverse, print} = require('@medv/list')\n\nconst a = list(1, list(2, list(3)))\nconst b = reverse(a)\n\nprint(a) // (1 2 3)\nprint(b) // (3 2 1)\n```\n\nFor all available functions and documentation see [index.js](./index.js)\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonmedv%2Flist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonmedv%2Flist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonmedv%2Flist/lists"}