diff --git a/README.md b/README.md index 7ea3646..ae2402f 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ npm install valof ## Why Valof? -Valof is an opinionated value-object helper for TypeScript that enforces the conventions through -types and linting. +Valof is a TypeScript library for branded, immutable domain types, such as value objects and enums. +It enforces the conventions through types and linting. - **Nominal-ish typing with a phantom brand**: TypeScript distinguishes one Val type from another, with nothing to pay at runtime. diff --git a/docs/src/introduction.md b/docs/src/introduction.md index af38f03..08706c0 100644 --- a/docs/src/introduction.md +++ b/docs/src/introduction.md @@ -17,8 +17,8 @@ the sidebar to find a specific topic. ## Why Valof? -Valof is an opinionated value-object helper for TypeScript that enforces the conventions through -types and linting. +Valof is a TypeScript library for branded, immutable domain types, such as value objects and enums. +It enforces the conventions through types and linting. - **Nominal-ish typing with a phantom brand**: TypeScript distinguishes one Val type from another, with nothing to pay at runtime. diff --git a/package.json b/package.json index 4b3b15d..f4cc9b6 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { "name": "valof", "version": "0.8.2", - "description": "Value-object helpers for TypeScript: branded types, a constructor and a companion, kept as plain data. Starts from 852 B gzipped.", + "description": "Branded, immutable domain types for TypeScript: a constructor and a companion per type, kept as plain data. Starts from 852 B gzipped.", "keywords": [ "branded-types", "ddd", + "deep-readonly", + "domain-modeling", "immutable", "nominal-typing", + "parse-dont-validate", "typescript", "value-object" ],