srb2kart-skin-lister

0.3.0 • Public • Published

Generates a list of skins based on your folder of SRB2Kart addons

Example usage

$ ls
PLAYPAL.pal
# this needs to be in this folder
# you can extract it from srb2.srb using SLADE
$ srb2kart-skin-lister ~/srb2kart/addons/ > index.html
# note that pngs will be thrown into the current folder

Style it

$ srb2kart-skin-lister ~/srb2kart/addons/ < template.html > index.html

That is, if you put something in on stdin it will be used as a template for the output.

It uses Handlebars as a templating engine. You can go read the documentation there on how to use it.

There are two helpers that have been registered:

  • lower makes the text lowercase
  • spacify replaces all underscores with spaces

If you want a reference to look at, open the index.ts file and look at template_str.

Readme

Keywords

none

Package Sidebar

Install

npm i srb2kart-skin-lister

Weekly Downloads

0

Version

0.3.0

License

WTFPL

Unpacked Size

25.9 kB

Total Files

7

Last publish

Collaborators

  • nixxquality