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

create-inforge-project

v1.3.1

Published

Scaffold new Salesforce projects from Inforge boilerplate

Readme

create-inforge-project

Scaffold new Salesforce projects from the Inforge boilerplate with automated setup.

A CLI tool that clones the Inforge Salesforce project template, customizes it for your new project, and runs automated setup including dependency installation and git hook configuration.

Usage

npx create-inforge-project <project-name>

Example:

npx create-inforge-project my-salesforce-app

This will:

  1. ✓ Validate project name
  2. ✓ Clone the Inforge Salesforce boilerplate
  3. ✓ Reinitialize as a fresh git repository
  4. ✓ Update package.json with your project name
  5. ✓ Install dependencies automatically
  6. ✓ Set up Husky git hooks
  7. ✓ Display next steps

Authentication

When you run the tool, you'll be prompted to choose your authentication method:

SSH (recommended for team members):

  • Automatically detects your SSH host configurations from ~/.ssh/config
  • Select from detected hosts or enter a custom repository URL
  • Requires SSH keys configured for GitHub access

HTTPS (public access):

  • Simple, no SSH setup required
  • Uses the default repository URL
  • May prompt for credentials if repository is private

SSH Configuration Example

If you have a custom SSH config in ~/.ssh/config:

Host github-work
    HostName github.com
    User git
    IdentityFile ~/.ssh/id_rsa_work

The tool will detect "github-work" and allow you to select it.

Requirements

  • Node.js 18.0.0 or higher
  • npm (comes with Node.js)
  • Git for cloning and version control
  • SSH or HTTPS access to the Inforge Salesforce repository
  • gitleaks (optional but recommended) - for git hook secret scanning

Installing gitleaks

macOS:

brew install gitleaks

Windows:

choco install gitleaks

Linux: See gitleaks installation guide

Project Name Rules

Project names must follow npm package naming conventions:

  • Lowercase only
  • Letters, numbers, hyphens (-), and underscores (_)
  • No spaces or special characters

Valid: my-salesforce-app, salesforce_project, myapp123 Invalid: My Project, my@app, MYAPP

What Gets Created

After running the command, you'll have a new directory with:

  • Complete Salesforce DX project structure
  • Lightning Web Components setup
  • AI-assisted development standards (.claude/ directory)
  • Husky git hooks for code quality
  • All dependencies installed
  • Fresh git repository initialized

Next Steps

After project creation:

  1. Navigate to your project:

    cd <project-name>
  2. Authenticate with Salesforce:

    sf org login web
  3. Start developing!

Check out the project's README.md for detailed documentation on:

  • AI-assisted development workflows
  • Code quality standards
  • Commit conventions
  • Salesforce DX commands

Error Handling

If something goes wrong during setup, the tool will:

  • Display a clear error message
  • Automatically clean up any partially created files
  • Provide suggestions for fixing the issue

Troubleshooting

"Failed to clone repository"

"Directory already exists"

  • Choose a different project name
  • Or remove the existing directory first

"git command not found"

  • Install Git: https://git-scm.com/downloads

License

MIT


Built with ❤️ by Inforge