aucklandtransport.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

AT.JS

A node.js library for interfacing with the current Auckland Transport API

Installation

npm install aucklandtransport.js

Example usage

import AT from "aucklandtransport.js";

// promise
AT.getStops().then((stops) => {
    console.log(stops);
});

// async
let stops = await AT.getStops();

console.log(stops);

Readme

Keywords

none

Package Sidebar

Install

npm i aucklandtransport.js

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

49.3 kB

Total Files

15

Last publish

Collaborators

  • versetransport