{"id":17419834,"url":"https://github.com/bendrucker/observ-value","last_synced_at":"2025-04-15T00:02:04.997Z","repository":{"id":57313059,"uuid":"42316842","full_name":"bendrucker/observ-value","owner":"bendrucker","description":"Get the value of an observable via a single interface","archived":false,"fork":false,"pushed_at":"2019-08-19T21:55:23.000Z","size":6,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T08:14:04.629Z","etag":null,"topics":[],"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/bendrucker.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":"2015-09-11T15:34:36.000Z","updated_at":"2019-07-12T17:10:42.000Z","dependencies_parsed_at":"2022-09-20T23:11:31.322Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/observ-value","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fobserv-value","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fobserv-value/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fobserv-value/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fobserv-value/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/observ-value/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981263,"owners_count":21193145,"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":[],"created_at":"2024-10-17T02:34:09.705Z","updated_at":"2025-04-15T00:02:04.978Z","avatar_url":"https://github.com/bendrucker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# observ-value [![Build Status](https://travis-ci.org/bendrucker/observ-value.svg?branch=master)](https://travis-ci.org/bendrucker/observ-value) [![Greenkeeper badge](https://badges.greenkeeper.io/bendrucker/observ-value.svg)](https://greenkeeper.io/)\n\n\u003e Get the value of an observable via a single interface\n\n## Install\n\n```\n$ npm install --save observ-value\n```\n\n\n## Usage\n\nobserv-value is designed to let you easily write functions that can take both observables themselves as well as the copies they return/emit.\n\n```js\nvar value = require('observ-value')\nvar Observ = require('observ')\n\nvar name = Observ('Ben')\n\nvalue(name)\n//=\u003e Ben\n\nvalue(name())\n//=\u003e Ben\n```\n\n## API\n\n#### `value(input)` -\u003e `any`\n\n##### input\n\n*Required*  \nType: `any`\n\nEither an [observable](https://github.com/raynos/observ) or a copy emitted by the observable.\n\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fobserv-value","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendrucker%2Fobserv-value","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fobserv-value/lists"}