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

create-cro-app

v1.0.0

Published

Tool to generate a boilerplate development environment for CRO testing

Readme

CRO Web Development

This is a boilerplate environment for creating local CRO tests. It uses the NPM package 'generator-cro' to build out templates and webpack to compile tool ready CRO files.

Features

  • Quick template generation
  • Easily import and reuse code
  • Create custom templates
  • Configure minification for your needs

Installation

Install Create CRO App Globally npm install -g create-cro-app

Initialize CRO App - answer questions create-cro-app

Install Yoeman v5 globall npm i -g [email protected]

Install project dependencies npm i

Setup

Update cro.config.js

  1. Update Prompts
    • childFolders - folder names to help organise tests. For example, Homepage, PDP, Checkout.
    • developers: Names of the developers
    • homepageUrl: A URL to show as a default for tests
    • testIdExample: Example of a test ID, test IDs are used as folder names.
    • testNameExample: Added as meta data for each test
  2. Output
    • destination: Output destination for tests
    • localhost: Local host for local server
  3. Templates
    • customDirectory: Default to _templates - contains custom templates
    • defaultCustomTemplate: tempalte folder to be used as default
  4. Files - only required if using generator-cro The files object contains types of files you wish to create for each test through the generator-cro. Add new files to the object for them to appear in the prompts.

If you're using Optimizely follow this guide to setup the Optimizely config // https...

Running the server and the watcher

  1. To run the server and the watcher run: npm run cro

Running the CRO Generator

  1. Add templates to the template custom directory
  2. Run yo cro
  3. Follow prompts - see video here of demo

Documentation

  1. Setting up config file - line by line and video
  2. cro-generator - setup and running
  3. Templates
  4. Local Server
  5. Gulp Watcher
  6. Utils - npm package
  7. Custom Utils