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

generator-anytext

v0.1.2

Published

Yeoman generator for AnyText

Readme

NMF AnyText Generator

This Yeoman generator is used to create a new AnyText extension for VS Code. AnyText is a language workbench with an incremental packrat parser supporting left recursions, so you do not have to worry about left recursion or an interaction between lexer and parser when designing your language.

Prerequisites

AnyText requires a .NET 8 or .NET 9 SDK to be installed. To install it, follow the instructions provided by Microsoft. Then, the generator itself can be installed via NPM. We recommend a systemwide installation.

npm install generator-anytext --global --save-dev

Using the generator

The code generator scaffolds a new AnyText project. You can start it via the command line as follows:

yo anytext

This will ask you a range of questions, like the name of your language and a repository link. Based on this information, the code generator will generate a new directory with the following artifacts already set up for you:

  • An AnyText grammar document with an example grammar
  • A file to manually fine-tune editor services for the generated parser
  • A C# project that creates an LSP server of your grammar
  • A Visual Studio Code extension that integrates the LSP server
  • Visual Studio Code launch configurations such that you can easily debug your VS Code extension

These artifacts are set up such that they integrate with each other. For example, the build directory of the LSP server is exactly where the VS Code extension is expecting it. Because the code generator also compiles the sources, you can start the extension straight away. Also, you can immediately use vsce to pack your extension into a deployable VSIX file.

The extension project also contains scripts that allow you to easily regenerate the grammar and metamodel code once you did some changes.

Launching the new extension

Because the code generator produces launch configurations for Visual Studio Code, you can easily start the extension via the Run and Debug section of Visual Studio Code when opening the newly created directory in Visual Studio Code.