Skip to content

Ratismal/cat-markov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat-Markov

A markov chain generator.

Installation

NPM

npm i --save cat-markov

Yarn

yarn add cat-markov

Usage

JavaScript

const Markov = require('cat-markov').default;
const markov = new Markov();
markov.seed(['an array', 'of strings', 'to populate', 'the markov with']);
const keys = markov.create();

TypeScript

import Markov from 'cat-markov';
const markov = new Markov();
markov.seed(['an array', 'of strings', 'to populate', 'the markov with']);
const keys = markov.create();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published