1.0.3 • Published 8 years ago

clockmap v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Clockmap

A small lib to create a nice looking clock display the hour and the map of the city of your choice

alt tag

Use it

Configuration

default: {
  name: "Home" // display the name on top of the clock
  container: ".clockmap", // the container the clock will be add to
  location: "New York", // plein text location
  coordinates: null, // optional
  size: 100 // Dimension of your clock
}

Setting up

npm install clockmap

var myHomeClock = new ClockMap({
  location: "New York",
  container: '.myclock',
  size: 200
});

Contribute

  • Install it

$ npm i

  • Run it

$ npm run start

  • Build it

$ npm run build

  • Watch it

$ npm run watch

Sources and inspirations

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago