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

vue-gw-builds

v0.0.12

Published

[![](https://img.shields.io/npm/v/vue-gw-builds.svg?style=flat-square&color=cb3837&logo=npm&logoColor=ffffff)](https://www.npmjs.com/package/vue-dependencies-badges) [![](https://img.shields.io/github/license/ewilan-riviere/vuepress-theme-useweb.svg?style

Readme

Vue Guild Wars Builds

node.js vue.js

Package to easily display Guild Wars game builds into any Vue.js app. It's a Vue wrapper of arnapou's gwbbcode and this plugin use his API.

WARNING

If, in the future for me and present for you, his API: gwbbcode.arnapou.net/gwbbcode/api.js is not available anymore, you will have to host it before to use this plugin.

You can find it one the official repository: arnapou's gwbbcode or on my fork (if official is not available) : ewilan-riviere/gwbbcode.

build

1. About

I love Guild Wars game but it's old game and resources about disappear with time. I found the arnapou's work about displaying builds easily without classic GWBBCode which is the reference to display build on phpBB forums when Guild Wars was young. So thanks to him, because he decided to code from scratch a JS API to display easily builds. He wrote the code in 2011 with jQuery, so, today, it's not up-to-date anymore with current standards.

But it's a clear code, without any bugs, and I thought it's not efficiency to always re-write all code with new standards. The original author rewrite original code of GWBBCode because it's very old code just for phpBB forums, I totally understand it, it's great work. It works well today with his API, so I just decide to create a Vue wrapper to use easily his work in any Vue app. I couldn't add the API here because:

  • I want to maintain a light package and the API contain all skills pictures (and it's heavy)
  • Integrate directly API in this package is not a very good idea, it's better to seperate database from application

But this choice have a cost: the dependency to original API. When I write this, the API is available but one day, maybe, this will not. So if you want to use this package, you will have to host API on any URL and add this URL to importation of this plugin, like the documentation section explain it. You can refer to warning at the top of this file to find the API repository


2. Features

If you use feature with fr config, you have to use french skill names, if you use en config, you have to use english skill names. You can't use differents configs, you have to choose when you import the plugin.

2. a. Display a build with skills

You can display any build with skills like this

<template>
  <gw-build>
    [build prof=E/W fire=10 air=5 sword=1][searing flames][fireball][incendiary bonds][flare][glowing gaze][fire storm][shock][gale][/build]
  </gw-build>
</template>

It's display code template too.

2. b. Display with code template

Just use code template

<template>
  <gw-build>
    [build=OAAjooIFVM0NdxsQYMWLGnDRB]
  </gw-build>
</template>

2. c. Display just a skill

To display a just skill

<template>
  <gw-build>
    [meteor shower@10] ou [[meteor shower@10]
  </gw-build>
</template>

3. Documentation

Install it with Yarn or NPM

yarn add -D vue-gw-builds

OR

npm i vue-gw-builds --save-dev

Import it, ES6 way, in main.js / app.js file

import vueGwBuilds from 'vue-gw-builds'

Vue.use(vueGwBuilds, {
  apiUrl: 'http://gwbbcode.arnapou.net/gwbbcode/api.js',
  lang: 'en'
})

Use it in a .vue file

<template>
  <div>
    <div>
      Build with skills details (Fr/En syntax available)
      <gw-build>
        [build prof=El/G feu=10 air=5 epe=1][Flammes virulentes][Boule de feu][Liens incendiaires][Eclat de feu][Regard embrasé][Tempête de feu][Décharge électrique][Bourrasque][/build]
      </gw-build>
      <gw-build>
        [build prof=E/W fire=10 air=5 sword=1][searing flames][fireball][incendiary bonds][flare][glowing gaze][fire storm][shock][gale][/build]
      </gw-build>
    </div>
    <div>
      <div>
        Build with template code
      </div>
      <gw-build>
        [build=OAAjooIFVM0NdxsQYMWLGnDRB]
      </gw-build>
    </div>
    <div>
      Display just a skill with skills points (here Meteor Shower is Fire Magic,
      so '@10' indicate 10 points in this attribute)
      <gw-build>
        [pluie de météores@10] ou [[pluie de météores@10]
      </gw-build>
      <gw-build>
        [meteor shower@10] ou [[meteor shower@10]
      </gw-build>
    </div>
  </div>
</template>

License

MIT @ Liu Pi, Ouroboros, arnapou, ewilan-riviere