open-index/open-npm huggingface dataset:
npm package: @nikku/wordle-solver
Description: A Wordle solver.
Author: Nico Rehwaldt
Latest version: 0.0.14

# Wordle Solver

[![CI](https://github.com/nikku/wordle-solver/actions/workflows/CI.yml/badge.svg)](https://github.com/nikku/wordle-solver/actions/workflows/CI.yml)

Get a little help solving your [Wordle](https://www.nytimes.com/games/wordle/index.html) puzzles. 


## Usage

Try the [demo](https://nikku.github.io/wordle-solver).

Alternatively, use module exports:

```javascript
import {
  suggest
} from '@nikku/wordle-solver';

const words = [ ... ];

const history = [
  [ 'hands', Array.from('??--+') ]
];

const {
  word,
  progress
} = suggest(history, words);

// then
console.log('Suggested pick: %s', word);
```


## How it Works

The solver is implemented in [`lib/solver.js`](./lib/solver.js).

### Algorithm

Every pick it chooses the next word in order to reduce the solution space as much as possible.

* Accounts for historic picks (match, not matched, contained)
* Scores letter occurance per column and word
* Derives a word score
* Adds a penalty for letter duplicates
* Uses matched slots to guess / exclude likely letters

### Performance

Solves __100%__ of all puzzles in an average of __3.6 steps__.

```
$ npm run bench
...
W=1.000 S=3.559 R=1500
```

Solves __99%__ of all puzzles in an average of __4.1 steps__ when accepting the full dictionary as a solution:

```
$ FULL_DATA_SET=1 npm run bench
...
W=0.990 S=4.115 R=1500
```
npm package: @nikkuang/react-multi-select
Description: React Multi Select Component
Latest version: 0.0.2

# React Multi Select Component

React Multi Select Component

![Animated GIF demo](react-multi-select.gif)

[Storybook Demo](https://khan.github.io/react-multi-select/)

## Installation:
`npm install --save @khanacademy/react-multi-select`
`yarn add @khanacademy/react-multi-select`

## Usage:
See the examples in `/src/stories/index.js` for how to use the component, but here is a minimum required setups:

```
import React from 'react';
import MultiSelect from "@khanacademy/react-multi-select";

const options = [
  {label: "One", value: 1},
  {label: "Two", value: 2},
  {label: "Three", value: 3},
];

class Consumer extends React.Component {
  state = {
    selected: [],
  }

  render() {
    const {selected} = this.state;

    return <MultiSelect
      options={options}
      selected={selected}
      onSelectedChanged={selected => this.setState({selected})}
    />
  }
}
```


## i18n:
You can override the strings to be whatever you want, including translations for your languages.

```
<StatefulMultiSelect
    overrideStrings={{
        selectSomeItems: "Select Some items...",
        allItemsAreSelected: "All Items are Selected",
        selectAll: "Select All",
        search: "Search",
    }}
/>
```
npm package: @nikkypx/iz-a
Description: Javascript type checking
Author: Nicholas Palaniuk
Latest version: 0.1.1

# iz-a [![Build Status](https://travis-ci.org/nikkypx/to-camel.svg?branch=master)](https://travis-ci.org/nikkypx/to-camel)

> Javascript type checking

## Install

```
$ npm install @nikkypx/iz-a
```


## Usage

```js
const isA = require('@nikkypx/iz-a')

isA.String('foo') // true
```

## API

*isA.String(n)*

*isA.Integer(n)*

*isA.Float(n)*

*isA.Array(n)*

*isA.Object(n)*

*isA.Null(n)*

*isA.Undefined(n)*

*isA.RegExp(n)*

*isA.Boolean(n)*

**n** - expression

All methods return a boolean

## License

MIT