Skip to content

Commit

Permalink
Drop NodeJS 5
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Jan 20, 2017
1 parent c0f9c7f commit 026d120
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- 5
- 6
- 7
notifications:
Expand Down
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ const xml = wmts.getCapabilities({
})
```

## Supports

- [Webpack](https://webpack.js.org/)
- [Browserify](http://browserify.org/)
- [ES6 (ES2015)](https://babeljs.io/learn-es2015/)
- [NodeJS 6 & 7](https://nodejs.org/en/)

## API

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
Expand All @@ -48,7 +55,7 @@ Get Capabilities

**Parameters**

- `options`
- `options` **Options** Options
- `options.spaces` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)?** Spaces created for XML output (optional, default `2`)

**Examples**
Expand All @@ -71,7 +78,7 @@ Capabilities JSON scheme

**Parameters**

- `options`
- `options` **Options** Options
- `options.url` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** <required>

**Examples**
Expand Down Expand Up @@ -124,7 +131,7 @@ ServiceIdentification JSON scheme

**Parameters**

- `options`
- `options` **Options** Options
- `options.title` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** [required] Title
- `options.abstract` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Abstract
- `options.keywords` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>** Keywords
Expand Down Expand Up @@ -218,9 +225,9 @@ Capabilities.Contents JSON scheme

**Parameters**

- `options` **Options** Options
- `title` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Title of Service
- `uri` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** URI of Service Provider
- `options`

**Examples**

Expand All @@ -237,7 +244,7 @@ Capabilities.Contents.Layer JSON scheme

**Parameters**

- `options`
- `options` **Options** Options
- `options.title` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** [required] Title
- `options.url` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** [required] URL
- `options.format` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** [required] Format 'png' | 'jpeg' | 'jpg'
Expand Down

0 comments on commit 026d120

Please sign in to comment.