Package Exports
- unusual-effects
- unusual-effects/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (unusual-effects) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
unusual-effects
A Node.js wrapper for Team Fortress 2's Unusual particle effects.
Installation
Using npm:
$ npm install unusual-effectsUsing yarn:
$ yarn add unusual-effectsTesting
Using npm:
$ npm testUsing yarn:
$ yarn testExamples
Importing with CommonJS
const { getEffectByName } = require('unusual-effects')or with ES6's import statement
import { getEffectByName } from 'unusual-effects'Get Backpack.tf particle images using the effect's name
console.log(getEffectByName('Nebula').images)There are some more examples available in the test directory.
Documentation
Version 2.0.0 includes breaking changes, please see the newly updated Wiki pages for further documentation.
License
Copyright 2024, Simon Sørensen