npm.io
1.2.1 • Published 19h ago

@revolutionarygamesco/common

Licence
GPL-3.0-or-later
Version
1.2.1
Deps
0
Size
71 kB
Vulns
0
Weekly
0

Revolutionary Games Common Library

Latest Release Test Status License

A library of methods that we tend to use in all (or at least most) of our projects.

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