tfk-saksbehandling-skoleskyss-waypoints

1.0.11 • Public • Published

Build Status Coverage Status js-standard-style

tfk-skoleskyss-saksbehandling-waypoints

Greenkeeper badge Returns an array of waypoints for some addresses

Usage

'use strict'

const getWaypoints = require('tfk-saksbehandling-skoleskyss-waypoints')
const nope = {
  "skole": "3730",
  "ADR": "ELSETVEGEN 7",
  "POSTN": "3731"
}
const yep = {
  "skole": "3730",
  "ADR": "ELSETVEGEN 34",
  "POSTN": "3731"
}

console.log(getWaypoints(nope)) //=> []

console.log(getWaypoints(yep)) //=> ["59.1919941,9.5440346","59.1914183,9.5543178"]

Readme

Keywords

none

Package Sidebar

Install

npm i tfk-saksbehandling-skoleskyss-waypoints

Weekly Downloads

4

Version

1.0.11

License

MIT

Last publish

Collaborators

  • cybermelmac
  • maccyber
  • telemark
  • zrrrzzt