commit df398966dc8cebfe1888246384b3c1f8187a43a8 Author: Jannis R Date: Wed Jun 22 01:39:04 2016 +0200 init diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..1f858e37 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# editorconfig.org +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# Use tabs in JavaScript, CoffeeScript and JSON. +[**.{coffee,js,json}] +indent_style = tab +indent_size = 4 diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..d6fb75eb --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.DS_Store +Thumbs.db + +.nvm-version +node_modules +npm-debug.log diff --git a/index.js b/index.js new file mode 100644 index 00000000..eba3ac44 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +'use strict' + +// todo diff --git a/license.md b/license.md new file mode 100644 index 00000000..0f9edd47 --- /dev/null +++ b/license.md @@ -0,0 +1,5 @@ +Copyright (c) 2016, Jannis R + +Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/package.json b/package.json new file mode 100644 index 00000000..252d4b6d --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "hafas-client", + "description": "JavaScript client for HAFAS mobile APIs.", + "version": "0.1.0", + "main": "index.js", + "files": ["index.js"], + "author": "Jannis R ", + "homepage": "https://github.com/derhuerst/hafas-client", + "repository": "derhuerst/hafas-client", + "bugs": "https://github.com/derhuerst/hafas-client/issues", + "license": "ISC", + "keywords": ["hafas", "public", "transport", "api"], + "engines" : {"node": ">=4"} +} diff --git a/readme.md b/readme.md new file mode 100644 index 00000000..850b0d32 --- /dev/null +++ b/readme.md @@ -0,0 +1,26 @@ +# hafas-client + +**A client for the HAFAS mobile API**, providing the base for [vbb-hafas](https://github.com/derhuerst/vbb-hafas) and [db-hafas](https://github.com/derhuerst/db-hafas). + +[![npm version](https://img.shields.io/npm/v/hafas-client.svg)](https://www.npmjs.com/package/hafas-client) +[![build status](https://img.shields.io/travis/derhuerst/hafas-client.svg)](https://travis-ci.org/derhuerst/hafas-client) +[![dependency status](https://img.shields.io/david/derhuerst/hafas-client.svg)](https://david-dm.org/derhuerst/hafas-client) +[![dev dependency status](https://img.shields.io/david/dev/derhuerst/hafas-client.svg)](https://david-dm.org/derhuerst/hafas-client#info=devDependencies) +![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-client.svg) + + +## Installing + +```shell +npm install hafas-client +``` + + +## Usage + +todo + + +## Contributing + +If you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/hafas-client/issues).