DFSG NEW Queue

DFSG, Licensing & New Packages Team

node-type-flag 4.0.3-1

Package Information

DescriptionTyped 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.

MaintainerDebian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed ByJoseph Nahmias <jello@debian.org>
Sponsorjello@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/js-team/node-type-flag.git (browse)
Closes#1140895
Blocked Bugs#1140894 (wishlist)
Trackerhttps://tracker.debian.org/pkg/node-type-flag
Uploaded3 hours ago

New Package Report

.changes
Distributionunstable
DateSun, 28 Jun 2026 14:24:22 -0400
Sourcenode-type-flag
Version4.0.3-1
Changed-ByJoseph Nahmias
Architecturesource all
Changelog
node-type-flag (4.0.3-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1140895)
.dsc
Sectionjavascript
Priorityoptional
Componentmain
Package-Listnode-type-flag deb javascript optional arch=all
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: type-flag
Upstream-Contact: https://github.com/privatenumber/type-flag/issues
Source: https://github.com/privatenumber/type-flag

Files: *
Copyright: 2021 - 2026, Hiroki Osame <hiroki.osame@gmail.com>
License: Expat

Files: debian/*
Copyright: 2026, Joseph Nahmias <jello@debian.org>
License: Expat

License: Expat
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation files
 (the "Software"), to deal in the Software without restriction,
 including without limitation the rights to use, copy, modify, merge,
 publish, distribute, sublicense, and/or sell copies of the Software,
 and to permit persons to whom the Software is furnished to do so,
 subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

Back to Dashboard | View all reviews for this package