JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q52326F
  • License MIT

A Node.js wrapper for Team Fortress 2's Unusual particle effects.

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.

npm version node version npm test dependencies npm downloads license paypal

Installation

Using npm:

$ npm install unusual-effects

Using yarn:

$ yarn add unusual-effects

Testing

$ npm test

Examples

Importing with CommonJS

const Unusual = require('unusual-effects');

or with ES6's import statement.

import Unusual from 'unusual-effects';

Get particle images using the effect's name

console.log(Unusual.getEffectImages('Nebula'));

There are some more examples available in the test directory.

Documentation

See the Wiki for further documentation.

License

MIT

Copyright 2022, Simon Sørensen