{"id":24936728,"url":"https://github.com/react-melon/melon-colorpicker","last_synced_at":"2025-04-10T01:04:22.334Z","repository":{"id":57294334,"uuid":"66805783","full_name":"react-melon/melon-colorpicker","owner":"react-melon","description":"Melon Color Picker ","archived":false,"fork":false,"pushed_at":"2017-10-30T12:42:13.000Z","size":1696,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T01:04:16.477Z","etag":null,"topics":["color-picker","matieral-design","react"],"latest_commit_sha":null,"homepage":"","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/react-melon.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":"2016-08-29T02:50:46.000Z","updated_at":"2017-02-22T02:21:10.000Z","dependencies_parsed_at":"2022-08-29T09:50:58.747Z","dependency_job_id":null,"html_url":"https://github.com/react-melon/melon-colorpicker","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-colorpicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-colorpicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-colorpicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-colorpicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-melon","download_url":"https://codeload.github.com/react-melon/melon-colorpicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137890,"owners_count":21053775,"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":["color-picker","matieral-design","react"],"created_at":"2025-02-02T16:42:42.306Z","updated_at":"2025-04-10T01:04:22.313Z","avatar_url":"https://github.com/react-melon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# melon-colorpicker\n\n[![Build Status](https://travis-ci.org/react-melon/melon-colorpicker.svg?branch=master)](https://travis-ci.org/react-melon/melon-colorpicker)\n[![Coverage Status](https://coveralls.io/repos/github/react-melon/melon-colorpicker/badge.svg?branch=master)](https://coveralls.io/github/react-melon/melon-colorpicker?branch=master)\n\n## Usage\n\n```js\nimport React from 'react';\nimport ColorPicker from 'melon-colorpicker';\nimport ReactDOM from 'react-dom';\n\nimport './index.styl';\n\nReactDOM.render(\n    \u003cColorPicker\n        open={open}\n        top={0}\n        left={0}\n        name = \"rgbStr\"\n        placeholder = \"请选择\" /\u003e,\n    document.getElementById('app')\n);\n```\n\n## Setup\n\n### webpack\n\n1. please check out [this](https://github.com/react-melon/melon#如何在-webpack-中使用-melon) first.\n\n2. `npm install -S melon-colorpicker`\n\n### bower\n\n1. `bower install -S melon-colorpicker`\n2. config your `requirejs` / `esl`\n\n    ```js\n    require.config({\n        paths: {\n            'melon-colorpicker': 'bower_components/melon-colorpicker/lib/index'\n        }\n    });\n    ```\n\n## API Document\n\ncheck [this](https://doc.esdoc.org/github.com/react-melon/melon-colorpicker/) out\n\n\n## Run the example\n\n```\ngit clone https://github.com/react-melon/melon-colorpicker.git\ncd melon-colorpicker\nnpm install\nnpm start\nopen http://localhost:8080/example\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-melon%2Fmelon-colorpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-melon%2Fmelon-colorpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-melon%2Fmelon-colorpicker/lists"}