diff --git a/README.md b/README.md index 57af394..291b922 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ --- +## Installation + +Just install it with your favourite package manager: +```sh +pnpm install @pyncz/zod-key-mapper +``` + ## Usage Let's say, you use a 3rd party API to fetch some data. You want to parse and transform it with zod for further usage, including some operations with keys, e.g. mapping keys from *snake_case* to *camelCase*, or even change some confusing field names into something more convenient. diff --git a/package.json b/package.json index ec1c58d..11758b6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@pyncz/zod-key-mapper", "description": "Transform keys of zod object schemas", - "version": "0.0.0-development", + "version": "1.0.1", "license": "MIT", "type": "module", "author": "Pavel Yankovski ", @@ -20,7 +20,8 @@ "exports": { ".": { "import": "./dist/index.mjs", - "require": "./dist/index.cjs" + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" } }, "files": [