Gathering detailed insights and metrics for @stdlib/assert-is-relative-uri-cli
Gathering detailed insights and metrics for @stdlib/assert-is-relative-uri-cli
Test whether a value is a relative URI.
npm install @stdlib/assert-is-relative-uri-cli
Typescript
Module System
Node Version
NPM Version
61
Supply Chain
77.3
Quality
82.7
Maintenance
100
Vulnerability
74.9
License
JavaScript (100%)
Total Downloads
689
Last Day
4
Last Week
8
Last Month
16
Last Year
369
1 Stars
60 Commits
3 Watching
6 Branches
11 Contributors
Latest Version
0.2.2
Package Id
@stdlib/assert-is-relative-uri-cli@0.2.2
Unpacked Size
22.14 kB
Size
7.42 kB
File Count
7
NPM Version
10.7.0
Node Version
20.15.1
Publised On
27 Jul 2024
Cumulative downloads
Total Downloads
Last day
300%
4
Compared to previous day
Last week
700%
8
Compared to previous week
Last month
-11.1%
16
Compared to previous month
Last year
15.3%
369
Compared to previous year
We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.
The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!
Test whether a value is a relative URI.
To use as a general utility, install the CLI package globally
1npm install -g @stdlib/assert-is-relative-uri-cli
1Usage: is-relative-uri [options] [<uri>] 2 3Options: 4 5 -h, --help Print this message. 6 -V, --version Print the package version. 7 --split sep Delimiter for stdin data. Default: '/\\r?\\n/'.
1$ is-relative-uri google.com 2true
To use as a standard stream,
1$ echo -n 'https://google.com' | is-relative-uri 2false
By default, when used as a standard stream, the implementation assumes newline-delimited data. To specify an alternative delimiter, set the split
option.
1$ echo -n 'https://google.com\tbeep' | is-absolute-uri --split '\t' 2false 3true
@stdlib/assert-is-relative-uri
: test whether a value is a relative URI.@stdlib/assert-is-uri
: test if a value is a URI.This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
See LICENSE.
Copyright © 2016-2024. The Stdlib Authors.
No vulnerabilities found.
No security vulnerabilities found.