
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
Simple module to check if certain servers out there support HTTP/2.
$ npm install --save is-http2
To make is-http2 work, you need to have openssl in a version greater than 1.0.0 installed and available in your $path.
Description : Check if server behind given url supports HTTP/2
url : Url to check HTTP/2 support for
isHttp2 returns a Promise which will be resolved with an Object containing isHttp2 and supportedProtocols.
const isHttp2 = require( 'is-http2' );
isHttp2( 'twitter.com', { includeSpdy : true } )
.then( function( result ) {
if ( result.isHttp2 ) {
console.log( `${ chalk.green( '✓' ) } HTTP/2 supported by ${ host }` );
} else {
console.log( `${ chalk.red( '×' ) } HTTP/2 not supported by ${ host }` );
}
if ( result.supportedProtocols ) {
console.log(
`Supported protocols: ${ result.supportedProtocols.join( ' ' ) }`
);
}
} )
.catch( function( error ) {
console.error( chalk.red( error ) );
process.exit( 1 );
} );
FAQs
Detect if a server support http/2
We found that is-http2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.