/
README.md.njk
47 lines (32 loc) · 1.56 KB
/
README.md.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/>
# @google/{{name}}
> {{desc}}
## Installation
```sh
$ npm install @google/{{name}}
```
## Usage
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
## Building a browser bundle
This library can be used in a browser. To prepare a single file bundle, clone the
[repository](https://github.com/googleapis/google-api-nodejs-client) and run
```sh
$ cd src/apis/{{name}}
$ npm install
$ npm run webpack
```
The generated bundle will be written to `dist/{{name}}.min.js`. Use it from your HTML file:
```html
<script src="/path/to/{{name}}.min.js"></script>
<script>
const { {{name}}, auth } = {{name|capitalize}};
</script>
```
## License
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/master/LICENSE).
## Contributing
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md).
## Questions/problems?
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues).
*Crafted with ❤️ by the Google Node.js team*