npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@here/cli

v1.9.0

Published

CLI for HERE XYZ Platform

Downloads

45

Readme

HERE CLI

Build Status

HERE CLI is a Node.js command-line interface to work with HERE APIs starting with HERE Data Hub APIs. Right now, it allows you to interact with HERE Data Hub to create and manage your Spaces, and easily upload and manage your datasets.

Prerequisites

HERE CLI is built on Node.js, a cross-platform efficient language to write even complex, local applications.

To use the HERE CLI, you should have npm installed. The best way is to go to nodejs.org and install the appropriate package for your system (both 8.x LTS and 10.x Current should work). If you need help with this have a look at our CLI Introduction Guide.

Installing the CLI

To install the HERE CLI use the following command. Depending on your system, you might need elevated permissions (like sudo) to install globally.

npm install -g @here/cli

If all goes well, you can check if the CLI is installed correctly by just runnning

here --help

Configure HERE CLI

As the HERE CLI works with HERE APIs in the cloud, you need to configure your developer identity. This only needs to be done once. Just run here configure to set the email and password. For detailed information on getting a Developer account have a look at our Getting Started Guide.

Supported Commands

The CLI currently support the following sub-commands:

- configure|c [verify|refresh]            setup configuration for authentication
- xyz|xs [list|create|upload]             work with Data Hub spaces
- studio [list|delete|show]               work with HERE Studio projects
- transform|tf [csv2geo|shp2geo|gpx2geo]  convert from csv/shapefile/gpx to geojson
- geocode|gc                              geocode feature
- help [command]                          display help for command

Development

Building the CLI

To develop the CLI further and add new features, first clone this repository and install the npm dependencies.

git clone https://github.com/heremaps/here-cli.git
npm install

Normally as a user you would install the CLI with a -g switch globally so that it can be used outside of a package directory. To make development easier it makes more sense not to that globally as that requires elevated permissions.

You should test and debug the commands by running the respective .js file. We use npm commander to drive the command parsing and execution. To get a good understanding how it feels on the commandline use local linking to make the bin sources available as executable commands:

npm link

Finally to package and distribute a new release (which we would do, not you) we update and tag the version followed by

npm pack ...
npm deploy ...

Contributing

We encourage contributions. For fixes and improvements it's helpful to have an issue to reference to. So please file them for us to provide focus. Also read the notes in CONTRIBUTING.md.

When you add a new sub-command (as bin/here-commandname.js) please make sure to also include the relevant documentation (as docs/commandname.md).

If the command is interacting with a HERE service, please include a links to the relevant service documenation at developer.here.com.

License

Copyright (C) 2018 - 2021 HERE Europe B.V.

This project is licensed under the MIT License - see the LICENSE file for details