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-cssharp-plugin

v0.4.0

Published

***create-cssharp-plugin*** offers a mighty fine project template to get you started quickly.

Readme

Create CounterStrike Sharp Plugin

Bootstrap your CounterStrike Sharp plugin project in no time at all!

create-cssharp-plugin offers a mighty fine project template to get you started quickly.

Features

  • [x] Generates a .sln file with your .csproj already referenced*
  • [x] Bootstraps a .cs entry file with Module(.*) fields populated based on input
  • [x] Initializes a git repository and stages the project for you
  • [x] Comes with a complementary .gitignore out of the box!

* dotnet CLI must be installed

Planned and potential features

  • [ ] Unit test template
  • [ ] Opinionated project structure (directories for commands, hooks, etc.)
  • [ ] GitHub actions release workflow (build plugin and generate GH release with plugin artifacts attached)

Prerequisites

You can get NodeJS by going to their website and selecting your OS, node version, and package manager.
https://nodejs.org/en/download

The dotnet CLI should come with .NET SDK.
Install .NET SDK
Linux - Windows

Learn more: https://learn.microsoft.com/en-us/dotnet/core/tools/

Installation

Run using your favourite package manager:

Run on-demand via npm:

npx create-cssharp-plugin

OR install as a command globally:

npm install -g create-cssharp-plugin
create-cssharp-plugin

Run on-demand via yarn:

yarn exec create-cssharp-plugin

OR install as a command globally:

yarn global add create-cssharp-plugin
create-cssharp-plugin

Run on-demand via pnpm:

pnpm dlx create-cssharp-plugin

OR install as a command globally:

pnpm add -g create-cssharp-plugin
create-cssharp-plugin

Usage

Interactive prompts

Create your CounterStrikeSharp plugin project using interactive step-by-step prompts in your terminal.

Run create-cssharp-plugin with no arguments to enter interactive mode and follow the prompts.
ex. npx create-cssharp-plugin

Command-line arguments

Generate your CounterStrikeSharp plugin project directly from the command line.

[!TIP] View CLI options and usage help by passing -h or --help

create-cssharp-plugin example

create-cssharp-plugin -p differentName example

create-cssharp-plugin -a JohnCSSharp -d "It's CSSharping time" example

[!NOTE] If you specify a project directory as the first positional argument when running create-cssharp-plugin, all interactive prompts will be skipped and defaults will apply.

Show prompts and skip those set via arguments:
create-cssharp-plugin -i example

Forcibly show all prompts with initial values populated from arguments:
create-cssharp-plugin -I example

Say yes to all default build tasks (ex. git init) and ask remaining prompts interactively:
create-cssharp-plugin -yi example
create-cssharp-plugin -yip differentName example

Project Structure

Projects generated using create-cssharp-plugin have the following structure:

./projectName
├── projectName.sln
├── src
│   ├── pluginName.cs
│   └── pluginName.csproj
└── test

[!NOTE] create-cssharp-plugin will create a project directory relative to your current working directory.

Contributing

  1. Clone this repository
git clone https://github.com/uFloppyDisk/create-cssharp-plugin.git
cd create-cssharp-plugin
  1. Install dependancies
npm install
  1. Open another shell and watch for changes
npm run dev
  1. Run the CLI
npx .

When running the CLI this way, all plugin projects will be placed in the .playground directory to avoid mixing with the rest of your filesystem and this repo's files.