12.0.0 • Published 4 years ago

@mapbox/hecatejs v12.0.0

Weekly downloads
28
License
MIT
Repository
github
Last release
4 years ago

General Usage

Installation

JS Library

yarn add '@mapbox/hecatejs'

CLI

yarn global add '@mapbox/hecatejs'

Note: if the username & password is not explicitly set, Hecate will fallback to checking for a HECATE_USERNAME & HECATE_PASSWORD environment variable. For the url parameter, be sure to include the protocol and (if necessary) port number.

JS Library

const Hecate = require('@mapbox/hecatejs');

const hecate = new Hecate({
    username: 'ingalls',
    password: 'yeaheh',
    url: 'https://example.com/hecate',
});

CLI

The CLI tool must be provided the URL to connect to for each subcommand. This can be accomplished by providing the URL to a local or remote Hecate server. Be sure to include the protocol and, for local connections, the port number.

The --url option must be provided for every subcommand but is omitted in this guide for clarity.

# Connecting to a remote hecate server
./cli.js --url 'https://example.com'
# Connecting to a local hecate server
./cli.js --url 'http://localhost:8000'

The API documentation can be found in the docs/API.md file. This file is automatically generated from the internal JSDocs.

12.0.0

4 years ago

11.2.0

4 years ago

11.0.1

4 years ago

11.1.0

4 years ago

11.0.0

4 years ago

10.3.0

4 years ago

10.2.0

4 years ago

10.1.0

4 years ago

10.0.3

4 years ago

10.0.2

4 years ago

10.0.1

5 years ago

10.0.0

5 years ago

9.1.0

5 years ago

9.0.4

5 years ago

9.0.3

5 years ago

9.0.2

5 years ago

9.0.1

5 years ago

9.0.0

5 years ago

8.0.4

5 years ago

8.0.3

5 years ago

8.0.2

5 years ago

8.0.1

5 years ago

8.0.0

5 years ago

7.3.2

5 years ago

7.3.1

5 years ago

7.3.0

5 years ago

7.2.0

5 years ago

7.1.1

5 years ago

7.1.0

5 years ago

7.0.1

6 years ago

7.0.0

6 years ago

6.1.4

6 years ago

6.1.3

6 years ago

6.1.2

6 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.0

6 years ago

5.5.2

6 years ago

5.5.1

6 years ago

5.5.0

6 years ago

5.4.0

6 years ago

5.3.0

6 years ago

5.2.0

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.0

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.1.3

6 years ago

3.1.2

6 years ago