Giter Site home page Giter Site logo

airportsjs's People

Contributors

mdzhang avatar sjlu avatar vasilevich avatar

Watchers

 avatar  avatar  avatar

airportsjs's Issues

Bratislava and Budapest are not being found

When I call searchByAirportName("Bratislava") I get an empty array back. Same goes for Budapest. I copied the names from airports.json to be sure I didn't have a typo.

 dun@n0lan  ~/_workspace $ mkdir airportsjs_test
 dun@n0lan  ~/_workspace $ cd airportsjs_test 
 dun@n0lan  ~/_workspace/airportsjs_test $ npm init -f           
npm WARN using --force I sure hope you know what you are doing.
Wrote to /home/dun/_workspace/airportsjs_test/package.json:

{
  "name": "airportsjs_test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}


 dun@n0lan  ~/_workspace/airportsjs_test $ npm install airportsjs
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

+ [email protected]
added 3 packages from 7 contributors and audited 3 packages in 0.641s
found 4 vulnerabilities (2 low, 2 high)
  run `npm audit fix` to fix them, or `npm audit` for details
 dun@n0lan  ~/_workspace/airportsjs_test $ echo 'const airports = require("airportsjs");
console.log(airports.searchByAirportName("Bratislava"));' > index.js
 dun@n0lan ~/_workspace/airportsjs_test $ node index.js         
[]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.