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

citibike

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

citibike - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

..gitignore.un~

24

examples/bikes.js

@@ -55,30 +55,18 @@ /**

/**
* Retrieves Citibike Stations JSON Data and prints to console
*
*/
/** Retrieves Citibike Stations JSON Data and prints to console */
citibike.getStations(null, function(data) {
console.log("------ Printing Citibike Stations ------");
console.log("Getting Citibike Stations...");
console.log(data);
console.log("------ End Citibike Stations ------");
});
/**
* Retrieves Citibike Branches JSON Data and prints to console
*
*/
/** Retrieves Citibike Branches JSON Data and prints to console */
citibike.getBranches(null, function(data) {
console.log("------ Printing Citibike Branches ------");
console.log("Getting Citibike Branches...");
console.log(data);
console.log("------ End Citibike Branches ------");
});
/**
* Retrieves Citibike Helmets JSON Data and prints to console
*
*/
/** Retrieves Citibike Helmets JSON Data and prints to console */
citibike.getHelmets(null, function(data) {
console.log("------ Printing Citibike Helmets ------");
console.log("Getting Citibike Helmets...");
console.log(data);
console.log("------ End Citibike Helmets ------");
});

@@ -25,3 +25,3 @@ "use strict";

// Default Client Options
var defaults = {
this.defaults = {
api_key: null,

@@ -43,3 +43,3 @@

this.options = utils.merge(defaults, options);
this.options = utils.merge(this.defaults, options);
}

@@ -46,0 +46,0 @@

{
"name": "citibike",
"version": "2.0.0",
"description": "Citibike API Client Library for node.js",
"homepage": "https://github.com/KevinTCoughlin/citibike",
"keywords": [

@@ -12,19 +12,27 @@ "citbikenyc",

],
"homepage": "https://github.com/KevinTCoughlin/citibike",
"version": "2.1.0",
"author": "Kevin Coughlin <kevintcoughlin@gmail.com>",
"licenses": [
{
"type": "The MIT License",
"url": "https://raw.github.com/KevinTCoughlin/citibike/master/LICENSE"
}
"contributors": [
"Brad Dickason <https://twitter.com/bdickason>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/KevinTCoughlin/citibike.git"
"url": "git@github.com:KevinTCoughlin/citibike.git"
},
"bugs": "https://github.com/LearnBoost/knox/issues",
"scripts": {
"test": "mocha"
},
"dependencies": {},
"engines": [
"node >=0.4.0"
],
"devDependencies": {
"mocha": "*"
},
"directories": {
"lib": "./lib"
},
"engines": {
"node": ">= 0.8"
},
"main": "./lib/citibike"
}

@@ -36,2 +36,21 @@ # CitibikeNYC API Client Library for node.js

MIT license. See the LICENSE file for details.
Citibike: Copyright (c) 2013 Kevin Coughlin
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Sorry, the diff of this file is not supported yet

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