Skip to content

Commit

Permalink
cleanup readme and deno.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerim Hudson committed Apr 12, 2024
1 parent c7a079e commit 20d6727
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ NameTag is a simple username generator with a dictionary of safe words to use to
## How to use

```ts
<<<<<<< Updated upstream
import { nametag } from "https://deno.land/x/[email protected]/mod.ts";
=======
import { nametag } from "https://deno.land/x/[email protected]/mod.ts";
>>>>>>> Stashed changes
import { nametag } from "https://deno.land/x/nametag@$MODULE_VERSION/mod.ts";

const friendlyName = nametag();
```
Expand All @@ -20,11 +16,7 @@ Or with a configuration:
import {
nametag,
type NametagConfig,
<<<<<<< Updated upstream
} from "https://deno.land/x/[email protected]/mod.ts";
=======
} from "https://deno.land/x/[email protected]/mod.ts";
>>>>>>> Stashed changes
} from "https://deno.land/x/nametag@$MODULE_VERSION/mod.ts";

const config: NametagConfig = {
words: 5,
Expand Down
4 changes: 3 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"version": "0.0.3",
"version": "0.0.4",
"name": "@baosoy/nametag",
"$schema": "http://json-schema.org/draft-07/schema",
"description": "A simple friendly username generator",
"tasks": {
"dev": "deno run --watch main.ts",
"test": "deno test mod_tests.ts"
Expand Down

0 comments on commit 20d6727

Please sign in to comment.