{"id":25533368,"url":"https://github.com/brianesimon/simple-markov","last_synced_at":"2026-01-22T23:30:14.476Z","repository":{"id":57360438,"uuid":"70818659","full_name":"BrianESimon/simple-markov","owner":"BrianESimon","description":"npm package for simple markov-based text generation","archived":false,"fork":false,"pushed_at":"2016-10-24T17:56:01.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T02:18:56.863Z","etag":null,"topics":["markov"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrianESimon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-13T15:05:47.000Z","updated_at":"2022-07-22T15:08:05.000Z","dependencies_parsed_at":"2022-09-06T21:41:28.072Z","dependency_job_id":null,"html_url":"https://github.com/BrianESimon/simple-markov","commit_stats":null,"previous_names":["brianesimon/simple-markov"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianESimon%2Fsimple-markov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianESimon%2Fsimple-markov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianESimon%2Fsimple-markov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianESimon%2Fsimple-markov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrianESimon","download_url":"https://codeload.github.com/BrianESimon/simple-markov/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239763630,"owners_count":19692812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["markov"],"created_at":"2025-02-20T02:18:58.304Z","updated_at":"2026-01-22T23:30:14.402Z","avatar_url":"https://github.com/BrianESimon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-markov [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]\n\u003e Generate text using a Markov chain\n\n## Installation\n\n```sh\n$ npm install --save simple-markov\n```\n\n## Usage\n\n```js\nvar SimpleMarkov = require('simple-markov');\n\nvar markov = new SimpleMarkov(3, 'I really like markov chains. They make generating text very hilarious.');\nmarkov.learn('We can keep making it learn, too.');\n\nconsole.log(markov.generateText(100));\n```\n## License\n\nMIT © [Brian Simon](https://github.com/bsssshhhhhhh)\n\n\n[npm-image]: https://badge.fury.io/js/simple-markov.svg\n[npm-url]: https://npmjs.org/package/simple-markov\n[travis-image]: https://travis-ci.org/bsssshhhhhhh/simple-markov.svg?branch=master\n[travis-url]: https://travis-ci.org/bsssshhhhhhh/simple-markov\n[daviddm-image]: https://david-dm.org/bsssshhhhhhh/simple-markov.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/bsssshhhhhhh/simple-markov\n[coveralls-image]: https://coveralls.io/repos/bsssshhhhhhh/simple-markov/badge.svg\n[coveralls-url]: https://coveralls.io/r/bsssshhhhhhh/simple-markov\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianesimon%2Fsimple-markov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianesimon%2Fsimple-markov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianesimon%2Fsimple-markov/lists"}