random-crystal-generator

1.0.3 • Public • Published

Random Crystal Name Generator

A simple function that returns a random crystal name string.

Installation

$ npm i --save random-crystal-generator

How to

  • React example
import React from 'react';
import Crystal from 'random-crystal-generator';

function CrystalHeader() {
    const crystal = new Crystal();

    return (
        <h1>{crystal.name}<h1>
    );
};

export default CrystalHeader;

  • NodeJS
const Crystal = require('random-crystal-generator');

const crystal = new Crystal();

console.log(crystal.name);

Package Sidebar

Install

npm i random-crystal-generator

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

5.16 kB

Total Files

4

Last publish

Collaborators

  • adamfunk