#1140895 ITP: node-type-flag -- Typed command-line arguments parser for Node.js

#1140895#5
Date:
2026-06-28 03:02:14 UTC
From:
To:
* Package name    : node-type-flag
  Version         : 4.5.0
  Upstream Author : Hiroki Osame <hiroki.osame@gmail.com>
* URL             : https://github.com/privatenumber/type-flag
* License         : Expat
  Programming Lang: JavaScript
  Description     : Typed command-line arguments parser for Node.js

 Tiny CLI flag parser whose schema returns TypeScript-inferred application
 values. Use parser functions like Number, Date, enum validators, or
 object builders, then read clean output from parsed.flags. No
 dependencies & tree-shakable (Max 1.4 kB).
 .
 Features:
 .
  - App-ready values: parser functions return numbers, dates, enums,
    objects, nullable values, or validated strings.
  - Readable schemas: keep type, alias, and default next to the app key
    they configure.
  - TypeScript confidence: bundled types infer flags from parser return
    types and defaults.
  - Forwarding wrappers: known flags, unknown flags, positionals, and
    leftover argv stay easy to separate.
  - CLI-friendly naming: camelCase schema keys accept kebab-case input
    like --some-flag.
 .
 Node.js is an event-based server-side JavaScript engine.

dep for cleye
i plan to maintain this under the js-team

#1140895#10
Date:
2026-06-28 18:28:35 UTC
From:
To:
Hello,

Bug #1140895 in type-flag reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-type-flag/-/commit/c35e6bdd376a69d6f563ea60f613cbfcab2b2725
------------------------------------------------------------------------
initial packaging for Debian

Closes: #1140895
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1140895

#1140895#17
Date:
2026-06-29 09:04:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-type-flag, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140895@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joseph Nahmias <jello@debian.org> (supplier of updated node-type-flag package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 28 Jun 2026 14:24:22 -0400
Source: node-type-flag
Binary: node-type-flag
Architecture: source all
Version: 4.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Joseph Nahmias <jello@debian.org>
Description:
 node-type-flag - Typed command-line arguments parser for Node.js
Closes: 1140895
Changes:
 node-type-flag (4.0.3-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1140895)
Checksums-Sha1:
 0d74d1698feb7a712825a0c491f865c02be41d95 2107 node-type-flag_4.0.3-1.dsc
 8940705670a5094063c28f77a55fb0585ddfa9c1 728245 node-type-flag_4.0.3.orig.tar.gz
 16a40d56cda370ef7f0bdaa78bf176fa3db43f5d 3108 node-type-flag_4.0.3-1.debian.tar.xz
 1b13da0af2f30712777a48879457e12172898140 13060 node-type-flag_4.0.3-1_all.deb
 c83f09f6687894942dab043e7d417044c14a3ccc 8305 node-type-flag_4.0.3-1_amd64.buildinfo
Checksums-Sha256:
 f8d66d8a6a5c4715edde77e7538e494da496770cf833dd6a1b1db73900b6410f 2107 node-type-flag_4.0.3-1.dsc
 3ea31530d9c4e2d9bf5e918c156fac39dfea4d3d33d35f5c9c28b23728208693 728245 node-type-flag_4.0.3.orig.tar.gz
 698493e9b432153855eeae867289bca4b523b16334e21bec92125868c3a3d391 3108 node-type-flag_4.0.3-1.debian.tar.xz
 8e0e69853c09b04f8064110752ff872d42c8d31159d8c8e564c559409de4812d 13060 node-type-flag_4.0.3-1_all.deb
 8c45d98aed0be7f441f30e68106a0bc759ce98f81115a83dc4527aa062b36d4e 8305 node-type-flag_4.0.3-1_amd64.buildinfo
Files:
 ef8ffd4d1d9af8c2717f7b39a22b62df 2107 javascript optional node-type-flag_4.0.3-1.dsc
 5f88137e77c40109e87686368dc7b791 728245 javascript optional node-type-flag_4.0.3.orig.tar.gz
 e5856fbcdccfab6bd9937ae6fe564fba 3108 javascript optional node-type-flag_4.0.3-1.debian.tar.xz
 f3053916f39e727dadebc89b7008dd47 13060 javascript optional node-type-flag_4.0.3-1_all.deb
 cf0488605a7ea9bf59cfe414c34279ee 8305 javascript optional node-type-flag_4.0.3-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcxc7CTsDz7hRCK0UsRvZGQeaO5gFAmpBZ8EACgkQsRvZGQea
O5gk3w/+L9pBp6/HxT4NHK3JRVQpDgI195UN3TpTsXUCxfJWYe91XvD5UhbLc8Cv
wg1+7wPB6QxT4rQNo/wPIlJF42VHNIbyJCK4w/doZeP1bcajJwr4FVhPsOGFjajZ
9uySpPnSbgSawkwmGbE5xKPa8xOEsO+FwFnk6h0Roz5npZP1iH7RFnjSvbwv/z79
jsZIKiCBqplcMBYks3w+jH/FoIjKdiwyQchZ/azC9eXOAtTZeT5f+TGfeF6iL8UR
xa2GyYAIAF9y5LhxoVNUpNAiSd1Ss/1Cu+h3G+hT6BKy9lXrMNYlnAcvw/pqDEPU
wHVynyrkI1hpDFV2Sb9YrmoVThkXqvbET1A8wiwURVAACFSglXBM5EIZG/CTCoUl
exi94AjHmIsuwEc1fna++w/ebGa+UG6KAsUCiyMo/wJQKEY9niGoRHMkOUhxR6QC
bZ4tUo/PmahavvCCqjVOG8nXm6gVgcZ4bmjVxzNm5wJTpezPexM7cVTFv2F6hdIE
/BZJJl7pQ/AYDjH5eXzzFPaXaY51dr/ERWX4dxgjMuYaVMjcKExDBWp/pMxFaQRF
QO/VynR/JGDQzMBZKvncGM0KYS/xoOGGZPZi+SksVXM0ChtD2QNPKCDJLxAOhXkc
NeXDnJnLkfmK95zc8+73U3DOXDuUlTAF+J0/W90IRrLzwqpyZYE=
=tCpW
-----END PGP SIGNATURE-----