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

dota2-addon-manager

v0.3.1

Published

Manage multiple git hosted dota2 addons with less pain

Downloads

6

Readme

Dota2 Addon Manager

Manage multiple git hosted dota2 addons and their symlinks on windows with less pain.

Installation

npm i -g dota2-addon-manager

Usage

$ d2am
Commands:
  list           List all available addons
  link [name]    Iterate over all addons and ensure their symlinks are setup
  create <name>  Create directory stub for an addon with a given name

Options:
  --dir, -d   "dota 2 beta" folder.                               [default: "."]
  -h, --help  Show help                                                [boolean]

$ d2am link
checking symbolic links for aaa

 * aaa content must be linked
 * aaa content backing up old directory to aaa.old
checking symbolic links for test-arena

 * test-arena game must be linked
 * test-arena game has not been created in the dota tools yet. Creating it for you!
 * If you somehow destroy the temporary link, just run "d2am link" to recreate them

API

d2am list

List all available addons from the addon directory.

d2am link [name]

Check the symlinks for an addon or for all addons if name is not specified. If the destination directory already exists and the source is empty, the existing files will be copied in. Otherwise, the existing directory will be renamed ending in .old.

d2am create <name>

Create the skeleton for name inside the addons directory. This will automatically run d2am link for this mod, following all of it's normal behavior.

Definition File

The links are also configurable unsing a very simply json structure. This is the default definition.json file:

{
  "game": "game/dota_addons/{ADDON_NAME}/",
  "content": "content/dota_addons/{ADDON_NAME}/"
}

Each key is a directory relative to the addon's root directory, and each value is the destination link relative to the base directory. The string {ADDON_NAME} is replaced with the name of the addon being linked.

Contributing

npm run test

License

MIT