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

wsf-cli

v0.1.1

Published

Yung CLI: The command line interface for the Yung C++ framework.

Downloads

4

Readme

C++ WSF CLI Tool

License Build Status Coverage Status NPM Version Node Version

Use this CLI tool to bootstrap, lint and create templates for your WSF projects.

Installation

(sudo) npm install wsf-cli -g
# or with yarn
yarn global add wsf-cli

Help options

Usage:
  wsf [OPTIONS] [ARGS]

Options:
  -n, --new STRING       Create a new project
  -r, --route STRING     Create a new template route
  -s, --service STRING   Create a new template service
  -h, --help             Display help and usage details

Creating a new project

Generate a new YungC++ project in a new folder called /Hello:

wsf new project Hello

Generate a new route

Run the command:

wsf new route Hello

This will create ./routes/Hello.route.hpp:

#include "../Shared.hpp"

#ifndef _HELLOROUTE_H
#define _HELLOROUTE_H 1

namespace yungroute {
    std::pair<web::http::status_code, std::string> hello() {
        web::json::value info;
        unsigned short status = 200;

        info = yungservice::metadata(info);

        std::string payload = info.serialize().c_str();
        return make_pair(status, payload);
    }
}

#endif

Generate a new service

Run the command:

wsf new service Hello

This will create ./services/Hello.service.hpp:

#include "../Shared.hpp"

#ifndef _HELLOSERVICE_H
#define _HELLOSERVICE_H 1

namespace yungservice {
    web::json::value hello(web::json::value info) {
        return info;
    }
}

#endif