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.
const-max-uint32
Advanced tools
Maximum unsigned 32-bit integer.
Weekly downloads
Readme
Maximum unsigned 32-bit integer.
$ npm install const-max-uint32
var MAX_UINT32 = require( 'const-max-uint32' );
Maximum unsigned 32-bit integer
.
MAX_UINT32 === Math.pow( 2, 32 ) - 1;
MAX_UINT32
is the maximum array
length.var MAX_UINT32 = require( 'const-max-uint32' );
console.log( MAX_UINT32 );
// returns 4294967295
To run the example code from the top-level application directory,
$ node ./examples/index.js
This repository uses tape for unit tests. To run the tests, execute the following command in the top-level application directory:
$ make test
All new feature development should have corresponding unit tests to validate correct functionality.
This repository uses Istanbul as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:
$ make test-cov
Istanbul creates a ./reports/coverage
directory. To access an HTML version of the report,
$ make view-cov
This repository uses Testling for browser testing. To run the tests in a (headless) local web browser, execute the following command in the top-level application directory:
$ make test-browsers
To view the tests in a local web browser,
$ make view-browser-tests
Copyright © 2015-2016. The Compute.io Authors.
FAQs
Maximum unsigned 32-bit integer.
The npm package const-max-uint32 receives a total of 55,407 weekly downloads. As such, const-max-uint32 popularity was classified as popular.
We found that const-max-uint32 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
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.