Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

planet-client

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

planet-client - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

.editorconfig

32

package.json
{
"name": "planet-client",
"version": "0.0.0",
"version": "0.1.0",
"description": "A client for Planet's imagery API",

@@ -12,8 +12,26 @@ "repository": {

},
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
]
"license": "Apache-2.0",
"main": "lib/api/index.js",
"scripts": {
"pretest": "eslint bin examples lib test",
"test": "mocha --recursive test",
"start": "watchy --watch bin,examples,lib,test -- npm test"
},
"bin": {
"planet": "bin/planet.js"
},
"devDependencies": {
"chai": "^3.0.0",
"eslint": "^0.22.1",
"eslint-config-planet": "^2.0.0",
"mocha": "^2.2.5",
"sinon": "^1.15.3",
"watchy": "^0.6.2"
},
"dependencies": {
"batch": "^0.5.2",
"bistre": "^1.0.1",
"bole": "^2.0.0",
"yargs": "^3.13.0"
}
}

@@ -1,5 +0,35 @@

## planet-client-js
## planet-client
A JavaScript client for [Planet's imagery API](https://www.planet.com/docs/).
### Installation
The `planet-client` package can be installed with `npm` (which comes with [Node](https://nodejs.org/)). To add the package as a dependency to your project, run the following:
npm install planet-client --save
### Use
The `planet-client` package can be used in a Node based project or in the browser with a CommonJS module loader (like [Browserify](http://browserify.org/) or [Webpack](http://webpack.github.io/)).
The library requires a global [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) implementation. This comes with Node >= 0.12 and [modern browsers](http://caniuse.com/#search=promise). To use `planet-client` in an environment without `Promise`, you can [use a polyfill](https://www.google.com/search?q=promise+polyfill).
### Contributing
To get set up, clone the repository and install the development dependencies:
git clone git@github.com:planetlabs/planet-client-js.git
cd planet-client-js
npm install
Run the tests to ensure any changes meet the coding style and maintain the expected functionality:
npm test
During development, you can start a file watcher that runs the linter and tests with any file changes:
npm start
[![Current Status](https://travis-ci.org/planetlabs/planet-client-js.svg?branch=master)](https://travis-ci.org/planetlabs/planet-client-js)
### License

@@ -6,0 +36,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc