steamid-parser

1.0.1 • Public • Published

node-steamid-parser

npm version

Just a wrapper around node-steamid to aid in parsing Steam IDs.

npm install steamid-parser

This module

The idea was to have a module that could handle any input of steam id or vanity and be able to return a node-steamid instance for it.

Options (apiKey, checkForAccountID, checkNumberForVanity) can be overriden per get() call which allows it to be very customisable depending on use case and needs.

See JSDoc for in depth explanation.

Examples

See example.js

It can handle steam profile links (/id/ or /profiles/), vanity text only, and any steam id format supported by node-steamid.

JSDoc

See doc.md

Package Sidebar

Install

npm i steamid-parser

Weekly Downloads

7

Version

1.0.1

License

MIT

Unpacked Size

10.9 kB

Total Files

6

Last publish

Collaborators

  • jfx