npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

heating-timeline

v0.4.10

Published

The default blueprint for ember-cli addons.

Readme

heating-timeline

This README outlines the details of collaborating on this Ember addon.

Adding to existing project

  • Install private addon npm install https://bitbucket.org/sauceio/heating-timeline#tag --save
  • Install Hammer.js bower install hammerjs --save
  • Add hammer js file to ember-cli-build.js app.import('bower_components/hammerjs/hammer.min.js');
  • Add css styles (currently found in tests/dummy/app/styles/app.scss)

Component

Add the following component to you hbs views.

{{heating-timeline}}

Attributes

Model

A collection of ember models representing heating periods. Each period must have the following attributes:

  • start - A decimal number between 0 and - 24 using .25 increments
  • end - A decimal number between 0 and - 24 using .25 increments
  • temp - A decimal number between 10 - 30 using .5 increments

Minimized

The timeline has two modes, expanded (default) and minimized. Pass false to this attributes to display the minimized view.

{{heating-timeline minimized=true}}

Actions

periodSelected

This action is called when a period is selected. The action is passed the period object as a parameter

emptyPeriodSelected

This action is called when an empty period is selected. The action is passed an empty period object as a parameter. This object has start and end properties which will represent the whole of the empty period.

panDisabled

Whnce set to true the timeline can not be panned by swiping along the x axis

Service

The heating timeline comes with an ember service which you should use to control the scale and offset from your routes or other components.

timeline: Ember.inject.service(),

Methods

Go to period

Zoom the timeline to a given period defined by the start and end params. The timeline will zoom in so the given period takes the middle 50% of the x axis. In the following example the time line will scale to 3x and the x axis will start at 15:00.

this.get('timeline').goToPeriod(17, 21)

Reset

This is the same as setting the scale to 1 & offset to 0. It will reset the timeline to the 24 hour view.

this.get('timeline').reset()

Active Period

Set a period as active so it's temperature can be adjusted.

this.get('timeline').set('activePeriod', period);

Scale

Sets the scale of the timelines x axis. This default is 1 and will display 24 hours along the x axis. 2 will display 12 hours etc.

this.get('timeline').set('scale', 2);

Offset

Combined with scale this offsets the x axis by a number of hours. The defaut is 0 so the x axis starts at 00:00. 8 will offset the x axis so it starts at 08:00 etc.

this.get('timeline').set('offset', 8);

Installation

  • git clone https://bitbucket.org/sauceio/heating-timeline this repository
  • cd heating-timeline
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.