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 🙏

© 2024 – Pkg Stats / Ryan Hefner

vnmlc

v1.0.12

Published

Visual Novel Markup Language Compiler

Downloads

4

Readme

vnml

Visual Novel Markup Language. Version 1.0.12

An attempt for a pure HTML/JS Visual novels over the internet engine.

(What's a Visual Novel? Click here.)

Do you want a taste of it? Go here (This visual novel is in italian, but you can use browser's translation features, or help me translate it. Also artists who would like to help make it better are welcome.)

Goals:

  1. Pure HTML/JS game.

    • The novel is stored directly in HTML file.
    • Game saved in browser's local storage.
  2. Complete portability.

    • Plays in any browser, in any device, on any screen resolution.
    • No additional library needed, no particular OS or browser needed.
  3. Resource sharing.

    • Backgrounds, characters, musics and sound effects are internet resources. Why? This is how the internet works, and should improve community built novels and cooperation.
  4. Easy to use.

    • No particular coding skills required. Just write VNML source in a file, (you can use any kind of html editor for source highlighting), build, and share. VNML compiler provides code checking and testing via embedded server.
  5. CSS Templates.

    • Customization via additional css files.

What's (not) in 1.0.12 version

  • Additional CSS templates.
  • Fonts change / preload.
  • Opengraph / SEO settings.

How to install

npm install vnmlc --global

An example

VNML has the same basic syntax of HTML but there is no need to know full HTML, just a few tags and rules. If you're curious about what HTML is take a look here.

VNML can be written with a plain text editor but an HTML enabled one (like VS Code, or Notepad++) will provide useful code highlights and tags closure that are handy.

For a complete VNML documentation refer to the VNML Manual.

Here the simplest VNML possible file, copy the code below and put it into a file named test.vnml into a folder you like:

<vnml>
 <vnd>
  <st>THIS IS A TEST</st>
  <au>Me, the author</au>
 </vnd>
 <vn>
  <p>Hello! This is my first chapter!</p>
 </vn>
</vnml>

then launch vnml c test.vnml

If everything is ok you'll se an output like this:

VNML Compiler & builder v.1.0.12

Checking test.vnml

References

Labels

Total number of jumps: 0
Total number of choices: 0
Total number of chapters: 1

Title: THIS IS A TEST, Author: Me, the author

now you can use the build command vnml b test.vnml and a build folder with a bunch of file will appear. Copy the folder in your favourite webserver and play it with a browser.

VNML comes with an embedded web server for testing purposes. vnml b test.vnml -c -r your default browser should open with the menu screen.

What about a taste of it?

Try it out here (It's italian, I know, but you can use browser's translation capabilities...)

What's in the Future?

  • A standalone version of the compiler, maybe?
  • Video playback?