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 🙏

© 2024 – Pkg Stats / Ryan Hefner

catlin

v1.0.2

Published

An interactive command line tool that helps start your next project.

Downloads

4

Readme

Node.js version catlin

Description

I built Catlin to overcome the necessity of copying a boilerplate and change starter details on it every time me or my team started a new project. This simple and interactive cli-tool packs useful boilerplates which are output with dynamic values specific to each project.

Use Cases

Catlin is used by my myself and my team (of course, you are welcome to use it as well, it is open-source) when a new project is started. It asks a couple of questions during initiation generating dynamic values that are put in the output project files. As a result, you do not have to go inside the files and set unique details for each project.

Core Features

  • Serves the purpose of a boilerplate implementation tool.
  • Fills in the unique project details itself automatically based on the answer of the questions during the initiation period.
  • Initialises Git and makes the first commit.

Requirements

Catlin requires NodeJS version 8.3.0 (minimum) but using the LTS version is always appreciated.

Installation

In order to install, please run the following command in your command line:

npm install -g catlin

For global installation, you'll need to have administrator privileges. You can use sudo for that purpose, e.g. sudo npm install -g catlin.

Usage

Catlin only provides one command for now:

catlin

Once you run this command on a folder, it will ask for some details based on which, it will prepare your next project to get started immediately without having to spend hours and configure everything manually.

Note: You need to have an empty Git repository with push permissions in order to be able to initialise Git successfully. At this moment, the program throws an error if this is not done before starting (everything except the Git initialisation gets done, though). This behaviour is going to change in the upcoming release. The current version works well for my team's workflow.

Boilerplates

Catlin currently packs boilerplates for the following type of projects:

  1. Static HTML (with Webpack + SASS + Bootstrap + FontAwesome built-in).

Coming soon:

  1. WordPress theme development boilerplate.
  2. WordPress plugin development boilerplate.
  3. ReactJS boilerplate.

Background

Previously, when starting a new project, me and my team had to copy a boilerplate code, change the details (e.g. project name, description, author, GitHub repository) and initialise the Git repository, all manually. This used to take a long amount of time and effort. Thus came the necessity of a tool like Catlin, which would do all these for us automatically.

Credits

Catlin uses:

  1. Inquirer to ask interactive questions.
  2. EJS to input dynamic values inside the project templates.
  3. Simple Git for Git support.
  4. Babel for transforming ES6 into machine readable code.
  5. ASCII-art Logo for the app splash screen.

This project is heavily inspired by this post from Harriet Ryder.

Sponsor

You can sponsor this project and support my open-source development by becoming a Patron!