diff --git a/README.md b/README.md index d32b9e3..daab586 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ I've written this library to give the feel of `enum`s, but in a way that doesn't ## Usage ```ts -import { numEnum, stringEnum } from "https://deno.land/x/enum@0.1.0/main.ts"; +import { numEnum, stringEnum } from "@tyler/enum"; const colors = numEnum(["red", "green", "blue"]); const animals = stringEnum(["cat", "dog", "bird"]); diff --git a/deno.json b/deno.json index 2654dbb..0bfc112 100644 --- a/deno.json +++ b/deno.json @@ -1,4 +1,8 @@ { + "name": "@tyler/enum", + "version": "0.1.0", + "license": "MIT", + "exports": "./index.ts", "tasks": {}, "imports": { "@std/assert": "jsr:@std/assert@1"