Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
yargs
/
lib
/
yerror.ts
yargs the modern, pirate-themed successor to optimist.
yargs/yargs
Popular
Version
v17.7.2-deno
v17.7.2
v17.7.1-deno
v17.7.1
v17.7.0-deno
v17.7.0
v17.6.2-deno
v17.6.2
v17.6.1-deno
v17.6.1
v17.6.0-deno
v17.6.0
v17.5.1-deno
v17.5.1
v17.5.0-deno
v17.5.0
v17.4.1-deno
v17.4.1
v17.4.0-deno
v17.4.0
v17.3.1-deno
v17.3.1
v17.3.0-deno
v17.3.0
v17.2.1-deno
v17.2.1
v17.2.0-deno
v17.2.0
v17.1.1-deno
v17.1.1
v17.1.0-deno
v17.1.0
v17.0.1-deno
v17.0.1
v17.0.0-deno
v17.0.0
yargs-v16.2.1-deno
yargs-v16.2.1
yargs-v7.1.2
v16.2.0-deno
v16.2.0
v16.1.1-deno
v16.1.1
v16.1.0-deno
v16.1.0
v16.0.3-deno
v16.0.3
v16.0.2-deno
v16.0.2
v16.0.1-deno
v16.0.1
v16.0.0-deno
v16.0.0
v16.0.0-deno.beta.1
v16.0.0-deno.beta.0
Go to Latest
Menu
platform-shims
typings
utils
argsert.ts
cjs.ts
command.ts
completion-templates.ts
v
completionShTemplate
v
completionZshTemplate
completion.ts
middleware.ts
parse-command.ts
usage.ts
validation.ts
yargs-factory.ts
yerror.ts
c
YError
import
*
as
mod
from
"https://deno.land/x/yargs@v17.5.1-deno/lib/yerror.ts"
;
Classes
c
YError