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

ember-cli-openlayers-builder

v0.1.0

Published

Install and create a custom build of Openlayers library for Ember app.

Readme

Openlayers builder for Ember CLI

This is an Ember CLI addon for managing a custom build of Openlayers library.

Installation

In order to install the addon just execute in the root of your Ember app:

ember install ember-cli-openlayers-builder

This will install the addon itself and the Openlayers library to your application. Also the .ol-build config file would appear in the root directory of your app.

After that just run the app in a regular way (ember serve) and it will also build Openlayers according to the config file.

Configuration

You can configure Openlayers builder by modifying .ol-build config file. In general it extends default openlayers build config.

It has only one own property - extend: true which defines if the config should be extended from the default one or it is written from scratch and should not fulfill sections that are not defined by the ones from default config.

But in most cases you would want to just define your own exports section providing only the namespaces you use in your app. This allows to minimize the library size.

After next application rebuild the configuration would be applied and Openlayers would rebuild.

Library usage

Openlayers is available in global namespace so you can access it everywhere in the app via ol.*;

Extra features

Addon provides some useful extra features that may simplify debugging.

To manually rebuild Openlayers use

ember g openlayers-build

This would rebuild the library right away.

You can also provide a directory in which to store the output file. This could be helpful if you'd like to see the compiled library:

ember g openlayers-build /path/to/output/dir/

If the compilation result is not what you expected, perhaps something went wrong during configuration files merging. In order to see the final config that is used in Openlayers compiler just execute the following:

ember g openlayers-build-config

This will dump merged config file to console.

If you would prefer to save a config to a file, just provide its path as an argument:

ember g openlayers-build-config /path/to/config/file.json