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 🙏

© 2025 – Pkg Stats / Ryan Hefner

dir-sync

v0.0.10

Published

This is an ember addon that can be used to synchronize two directories.. Add this addon to your project and provide some simple configurations and you're good to go.

Downloads

32

Readme

Dir-sync

This is an ember addon that can be used to synchronize two directories.. Add this addon to your project and provide some simple configurations and you're good to go.

You can provide the file type, which are to synchronized between the folders. By default, the addon will check for updated files on every 10th build of your app. However, you can change this behavior by simply modifying the build-counter param.

  • Please note that once you change the config parameter build-counter, you must restart ember server..
  • This updates are one-way, that means the updates are always migrated from source to target.

Installation

  • npm install dir-sync
  • ember install dir-sync

Configurations

Add this snippet in the config/environment.js file :

  syncPath: {
      'source-path': 'Complete-path-to-your-source-directory',
      'destination-path': 'Complete-path-to-your-target-directory',
      'filter' : 'extension of the file type to be filtered',
      'build-counter' : true
  },

For e.g. :

  var ENV = {
    syncPath: {
        'source-path': '/home/manish/dev/ember - 1/templates',
        'destination-path': '/home/manish/dev/ember - 2/app/templates',
        'filter' : '.css',
        'build-counter' : 50,
    },

The execution will be done in the following manner :

  • If the file doesn't exists, it will create. This includes all the parent directories as well.
  • If the file exists at the target as well, the content of both the files will be compared and if updates encountered, the source file will be copied to the target location.

Further Development

This addon was developed for a totally inhouse purpose. However, if you find some feature worth adding in this plugin, raise an issue and i would be more than glad to help..

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