From 58823089e42ddc64b326304ae7ea476bbd59d53c Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Mon, 13 Jan 2025 08:52:01 -0600 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f739a6e..09d8e7e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ A 730B library for parsing CLI flags. Inspired by Deno's `std` [`flags`](https:/ - It's very small. - It's very fast. -- It's a nicer API (and faster!) than [`parseArgs` from `node:util`](https://nodejs.org/api/util.html#utilparseargsconfig). +- It's type-safe. +- It's simpler (and faster!) than [`parseArgs` from `node:util`](https://nodejs.org/api/util.html#utilparseargsconfig). ### Usage @@ -23,7 +24,7 @@ console.log(args); // { _: ['build'], bundle: true, r: true, f: true, a: "value", b: "value", c: 1 } ``` -Parsing can be configured to ensure values are handled in a certain format. +Parsing can be configured to ensure arguments are coerced to specific types. ```js const args = parse(argv, { -- 2.51.2