{"id":20590379,"url":"https://github.com/souenzzo/vlop","last_synced_at":"2025-04-14T22:26:15.432Z","repository":{"id":40689775,"uuid":"126427630","full_name":"souenzzo/vlop","owner":"souenzzo","description":"value oriented programming utilities for javascript","archived":false,"fork":false,"pushed_at":"2025-01-19T16:07:43.000Z","size":140,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-28T10:47:16.241Z","etag":null,"topics":["data-driven","functional","immutable","javascript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/souenzzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-23T03:23:35.000Z","updated_at":"2025-01-19T16:07:45.000Z","dependencies_parsed_at":"2022-08-26T12:34:00.597Z","dependency_job_id":null,"html_url":"https://github.com/souenzzo/vlop","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/souenzzo%2Fvlop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/souenzzo%2Fvlop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/souenzzo%2Fvlop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/souenzzo%2Fvlop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/souenzzo","download_url":"https://codeload.github.com/souenzzo/vlop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248970464,"owners_count":21191437,"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":["data-driven","functional","immutable","javascript"],"created_at":"2024-11-16T07:36:06.517Z","updated_at":"2025-04-14T22:26:15.417Z","avatar_url":"https://github.com/souenzzo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vlop\n\n\u003e Value-Oriented programming utilities for javascript.\n\n## what?\nIt's just a functional/immutable javascript libraries.\n\nIt uses only the native (mutable) objects, but offers a collection of functions to operate the data without mutating\n\ncheckout this presentation: [Value-Values](https://www.infoq.com/presentations/Value-Values)\n\n## examples\n\nApply a function in a collection of values\n\n```javascript\nimport * as vlop from \"@souenzzo/vlop\"\n\nconst update_winners = (users) =\u003e (\n    vlop.map(user =\u003e vlop.update(user, \"score\", vlop.fnil(inc, 0)), users) \n)\n```\n\n```javascript\n\u003e update_winners([{name: \"Alice\", score: 42}, {name: \"Bob\"}])\n[ { name: 'Alice', score: 42 }, { name: 'Bob', score: 1 } ]\n```\n\n## developing\n\n### Testing \n\n```shell\n## Install deps\nnpm ci\n## Run tests\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouenzzo%2Fvlop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsouenzzo%2Fvlop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouenzzo%2Fvlop/lists"}