# guess

> It's an numbers guessing algorithm within a range, compatible with JavaScript and NodeJS.

Latest version **1.0.2** (published 2013-07-18) · 0 weekly downloads

## Install

```sh
npm install guess
pnpm add guess
yarn add guess
bun add guess
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2013-07-18 |
| First published | 2012-06-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | yeikos |
| Maintainers | yeikos |
| Keywords | guess |

## Links

- npm: https://www.npmjs.com/package/guess
- Repository: https://github.com/yeikos/js.guess
- Homepage: http://www.yeikos.com
- npm.io page: https://npm.io/package/guess

## Recent versions

- 1.0.2 (latest) — 2013-07-18
- 1.0.1 — 2012-06-09
- 1.0.0 — 2012-06-09

## README

JavaScript/NodeJS Guess v1.0.2
==================================================

What is this?
--------------------------------------

It's an numbers guessing algorithm within a range, compatible with JavaScript and NodeJS (http://search.npmjs.org/#/guess).

Demo online
--------------------------------------

http://jsfiddle.net/yeikos/jNzax/

Example
--------------------------------------

	<!doctype html><html>

		<head>

			<script src="http://files.yeikos.com/guess.js"></script>

			<script>

				guess(0, 255, function(num, query) {

					query(confirm('x > ' + num));

				}, function(num) {

					document.write('Number is ' + num);

				});

			</script>

		</head>

		<body></body>

	</html>

---
_Source: https://npm.io/package/guess · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
