Skip to content

Commit

Permalink
Documentation corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
anywhichway committed Jul 27, 2023
1 parent f630fa8 commit 766f2a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ A powerful `db.find` function that supports approximate matching and works on bo
# Usage

```javascript
import {denodata,operators} from "https://unpkg.com/denodata";
import {denodata} from "https://unpkg.com/denodata";
import {operators} from "https://unpkg.com/denodata/operators";
import {Denodata,operators} from "https://deno.land/x/denodata";
const {$startsWith,$eq} = operators;

const db = await denodata();
const db = await Denodata();
```

## Use like Deno KV
Expand All @@ -35,7 +33,7 @@ await db.delete(["mykey"]);

Primitive keys are automatically converted to the arrays required by Deno KV.

Deno KV does not provide a `db.clear` function. denodata does.
Deno KV does not provide a `db.clear` function. Denodata does.

```javascript

Expand Down Expand Up @@ -136,8 +134,7 @@ await (async () => {
# Installation

```javascript
import Denodata from "https://deno.land/x/denodata";
import {operators} from "https://deno.land/x/denodata/operators";
import {Denodata,operators} from "https://deno.land/x/denodata";
```

Run Deno with the `--allow-net` and `--unstable` flags.
Expand Down Expand Up @@ -443,6 +440,9 @@ The following operators are supported in patterns.
- Beta commenced when unit test coverage first exceeded 90%
- The exposed API is stable. Additional features may be exposed.

2023-07-28 v0.0.26 (Beta)
- Documentation corrections.

2023-07-28 v0.0.25 (Beta)
- Restructured file organization to be Deno compliant, i.e. use `mod.ts` instead of `index.js`. The `package.json` file is still manually maintained.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "denodata",
"version": "0.0.25",
"version": "0.0.26",
"description": "Generalized indexing and search for Deno KV",
"type": "module",
"main": "mod.ts",
Expand Down

0 comments on commit 766f2a9

Please sign in to comment.