Skip to content
Jason Godesky edited this page Jul 18, 2026 · 6 revisions

Getting Started

To install the Revolutionary Games Common Library in your project, run:

npm install @revolutionarygamesco/common --save

You can then add methods from the library and call them like this:

import { isString } from '@revolutionarygamesco/common'

const x = 'Hello, world!'
if (isString(x)) console.log(x)

Methods

Type guards

Number methods

Randomizers

String methods

Testing methods

Other methods

Clone this wiki locally