Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@stdlib/namespace-aliases
Advanced tools
Standard library aliases.
Weekly downloads
Readme
A list of standard library aliases.
npm install @stdlib/namespace-aliases
var aliases = require( '@stdlib/namespace-aliases' );
Returns a list of standard library aliases.
var list = aliases();
// returns [...]
To return a list of standard library aliases associated with a particular namespace, provide a namespace
filter.
var list = aliases( '@stdlib/math-base-special' );
// returns [...]
var discreteUniform = require( '@stdlib/random-base-discrete-uniform' );
var aliases = require( '@stdlib/namespace-aliases' );
var list;
var len;
var idx;
var i;
list = aliases();
len = list.length;
// Select random aliases from the list...
for ( i = 0; i < 100; i++ ) {
idx = discreteUniform( 0, len-1 );
console.log( list[ idx ] );
}
To use the module as a general utility, install the module globally
npm install -g @stdlib/namespace-aliases
Usage: stdlib-aliases [options] [<filter>]
Options:
-h, --help Print this message.
-V, --version Print the package version.
$ stdlib-aliases
The data files (databases) are licensed under an Open Data Commons Public Domain Dedication & License 1.0 and their contents are licensed under Creative Commons Zero v1.0 Universal. The software is licensed under Apache License, Version 2.0.
@stdlib/namespace/alias2pkg
: return the package name associated with a specified alias.@stdlib/namespace/alias2related
: return aliases related to a specified alias.@stdlib/namespace/pkg2alias
: return the alias associated with a specified package name.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.
Copyright © 2016-2022. The Stdlib Authors.
FAQs
Standard library aliases.
The npm package @stdlib/namespace-aliases receives a total of 158 weekly downloads. As such, @stdlib/namespace-aliases popularity was classified as not popular.
We found that @stdlib/namespace-aliases demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.