Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Commit c39ba00

Browse files
author
Ke, Mingze
committed
Added README and LICENSE
1 parent d4b31be commit c39ba00

File tree

4 files changed

+50
-2
lines changed

4 files changed

+50
-2
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 webduino.io. All rights reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Chrome API Proxy
2+
3+
Leverage Chrome App APIs in Normal Htmls
4+
5+
## Installation
6+
7+
1. Install the "Chrome API Proxy" app. Launch the app whenever you want to use the APIs.
8+
2. Install the "Chrome API Proxy - Agent" extension.
9+
10+
## Usage
11+
12+
Insert
13+
14+
```
15+
<script src="http://webduinoio.github.io/chrome-api-proxy/lib/chrome._api.js"></script>
16+
<script src="http://webduinoio.github.io/chrome-api-proxy/lib/chrome.{API_USED}.js"></script>
17+
```
18+
19+
in your normal htmls.
20+
21+
Use the chrome app apis as in the chrome apps.
22+
23+
## Contribute
24+
25+
Extending api is easy. We surely welcome your pull requests.
26+
27+
## [License](LICENSE)

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chrome-api-proxy",
3-
"description": "Leverage Chrome App APIs in Your Normal Pages",
3+
"description": "Leverage Chrome App APIs in Normal Htmls",
44
"license": "MIT",
55
"dependencies": {
66
"json-human": "*"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "chrome-api-proxy",
33
"version": "0.0.4",
4-
"description": "Leverage Chrome App APIs in Your Normal Pages",
4+
"description": "Leverage Chrome App APIs in Normal Htmls",
55
"scripts": {
66
"build": "./node_modules/.bin/gulp",
77
"clean": "./node_modules/.bin/gulp clean"

0 commit comments

Comments
 (0)