@slimlib/refine-partition 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Refine Partition
2
2
 
3
- Simple refine partition implementation
3
+ A simple partition refinement implementation.
4
4
 
5
5
  https://en.wikipedia.org/wiki/Partition_refinement
6
6
 
@@ -14,18 +14,18 @@ https://en.wikipedia.org/wiki/Partition_refinement
14
14
 
15
15
  Creates a refiner function.
16
16
 
17
- Pass to it new candidates for refinement.
17
+ Pass new candidates for refinement to it.
18
18
 
19
- Returns refined partition.
19
+ Returns the refined partition.
20
20
 
21
21
  ### Example
22
22
 
23
23
  ```typescript
24
- import refiner from '../src';
24
+ import refiner from "../src";
25
25
 
26
26
  const refineNext = refiner();
27
- refineNext(['a', 'b', 'c']);
28
- refineNext(['b', 'c', 'e']);
27
+ refineNext(["a", "b", "c"]);
28
+ refineNext(["b", "c", "e"]);
29
29
  console.log(refineNext()); // Iterable of Iterables: ((a), (b, c), (e))
30
30
  ```
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "name": "@slimlib/refine-partition",
5
5
  "description": "Simple refine partition implementation",
6
6
  "license": "MIT",