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

ma-sfml

v1.0.7

Published

SFML setup and linking tool for C++ developers on Windows. Auto-detects your IDE, finds SFML on your PC otherwise downloads your choice version, and links everything.

Downloads

914

Readme

ma-sfml

Zero-config SFML setup for Windows C++ developers.

Automatically detect your IDE, find or download SFML, and configure your project — without manually setting up include paths, libraries, or DLLs.

npm version npm downloads Platform License


Overview

Setting up SFML manually on Windows involves downloading the correct compiler-compatible build, configuring include and library paths, and managing runtime DLLs.

ma-sfml automates this process through a simple command-line interface, helping you get your C++ project ready to build with less manual configuration.

Features

  • Automatic IDE Detection — Detects VS Code and Visual Studio Community project setups.
  • SFML Management — Finds an existing SFML installation or downloads a selected version when needed.
  • Compiler Compatibility — Selects an appropriate SFML build for MinGW or MSVC.
  • Project Configuration — Sets up the required include paths, library paths, and supporting configuration files.
  • DLL Handling — Automates DLL setup for supported project configurations.
  • Project Scaffolding — Offers to create a starter SFML project when run in an empty folder.

Quick Start

Install ma-sfml globally using npm:

npm install -g ma-sfml

Navigate to your C++ project directory:

cd YourProject

Run the setup command:

ma-sfml

The tool detects the project environment and guides you through the required SFML setup.

Supported IDEs

VS Code

Designed for C++ projects using MinGW-w64 and g++.

  • Detects supported VS Code project layouts.
  • Configures .vscode build, debugging, and IntelliSense files.
  • Sets up SFML include and library paths.
  • Handles the required runtime DLLs.

Requirement: MinGW-w64 with g++ available on PATH.

Visual Studio Community

Supports C++ projects using the MSVC compiler.

  • Detects supported Visual Studio solution and project files.
  • Selects an appropriate MSVC-compatible SFML build.
  • Configures the project for SFML integration.
  • Handles the required runtime DLLs.

Requirement: Visual Studio Community with the Desktop development with C++ workload.

Important: compiler must match SFML

SFML MinGW packages only work with the exact compiler they were built with (SFML 3.0.x → WinLibs GCC 14.2.0 UCRT 64-bit, https://winlibs.com). ma-sfml link checks your g++ and prints a warning if it does not match.

What ma-sfml link does for VS Code

  • Compiles every .cpp in the project (any subfolder) and adds all header folders to the include path.
  • Copies the SFML + MinGW runtime DLLs to the project folder and src/.
  • Re-copies missing DLLs automatically on every build.
  • Backs up any existing .vscode/*.json it replaces (.bak); ma-sfml remove restores them.

Commands

| Command | Description | |---|---| | ma-sfml | Run SFML setup in the current project | | ma-sfml link | Configure SFML for the current project | | ma-sfml download | Download a selected SFML version | | ma-sfml check | Check the project's SFML configuration | | ma-sfml remove | Remove ma-sfml configuration files | | ma-sfml -h | Display help | | ma-sfml -v | Display the installed version |

Requirements

  • Windows
  • Node.js 16 or later
  • A supported C++ development environment:
    • VS Code: MinGW-w64 and g++ on PATH.
    • Visual Studio Community: MSVC and the Desktop development with C++ workload.

Issues

Encountered a bug, setup error, or unexpected behavior? Check existing issues first, then open a new issue with your IDE, compiler, command, and relevant error output.

Report an Issue →

Contributing

Contributions and pull requests are welcome. For significant changes, open an issue first to discuss your proposed improvements.

License

MIT © Muhammad Mustafa Amir

Built by Syntrojex