@stdlib/net
v0.3.3
Published
Networking.
Downloads
2,068
Readme
Networking
Networking.
Installation
npm install @stdlib/net
Usage
var net = require( '@stdlib/net' );
net
Namespace containing networking functionality.
var n = net;
// returns {...}
tempHttpServer( options[, clbk] )
: create a disposable HTTP server.httpServer( [options,] [ requestListener] )
: HTTP server.simpleHttpServer( [options,] [clbk] )
: create a simple HTTP server.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var net = require( '@stdlib/net' );
console.log( objectKeys( net ) );
Notice
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.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.