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

generator-infragistics-sample

v0.1.0

Published

Generator which creates the basic setup for files needed to support a code sample (for use with Yeoman).

Readme

Infragistics Code Sample Generator

This generator includes files you'll find helpful in getting started publishing a sample on GitHub. The resources created by the generator include:

  1. third-party-notices.md: A disclosure which itemizes the licenses for each library used in your sample. While the sample you make available on GitHub may be an open license libraries like Ignite UI and others may be more restrictive so we want to document that fact clearly.

  2. license.md: This is a stock MIT license ready for you to include in your repository. If this license is inappropriate for your needs make sure you overwrite this file with the correct license.

  3. readme.md: This file acts as the base readme.md file you will use in your repository. This file includes some basic structure and content that you may find useful as you create your repository. Feel free to remove any of the stock text or structure as you see fit. This is here as a time-saving tool for you! You'll want to rename this file to readme.md and begin your work from there.

  4. index.html: The index.html file is stubbed out with references to the trial version of Ignite UI and CDN references to libraries like jQuery, Modernizr, Bootstrap and Font Awesome. There is also a meta name="viewport" tag in the head. If you do not want your sample to be responsive then you might want to remove that element.

Getting Started

To use, you have to first install Yeoman. If you don't have it installed yet, run:

npm install -g yo

Installing the Infragistics Sample Generator

Just run:

npm install -g generator-infragistics-sample

Using the Infragistics Sample Generator

In the directory that you want to create your sample, run:

yo infragistics-sample

Tips

As you are building your sample there are a few tips that may help you as you publish your repository on GitHub.

Using Raw Files

Whether you are attempting to directly access an image loaded into your repository or if you want to run the code in your sample directly off GitHub - you need to be aware of how to use raw GitHub files.

Once you have the URL of a file that is pushed to GitHub, for instance:

http://github.com/Infragistics-Blogs/iggrid-column-templates/blob/master/index.html

To get to the raw file (or in this case a file you can run directly in the browser) then you need to change the domain to rawgithub.com and remove the /blob segment from the URL:

http://rawgithub.com/Infragistics-Blogs/iggrid-column-templates/blob/index.html

Note: You'll often want to change the protocol from https to http.

Data URIs for Images

In an effort to make your code more portable you may want to consider using data URIs instead of images. You can use these in CSS or even as the value for the src attribute of an img element. Generating code for data URIs is easy. For an example of how you may want to use a data URI check out the sample data in this sample.