{"_id":"const-max-uint32","_rev":"4087312","name":"const-max-uint32","description":"Maximum unsigned 32-bit integer.","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"npm:kgryte","email":""}],"time":{"modified":"2025-12-02T22:11:55.000Z","created":"2016-02-03T03:31:32.142Z","1.0.2":"2016-02-03T03:31:32.142Z"},"users":{},"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"repository":{"type":"git","url":"git://github.com/const-io/max-uint32.git"},"versions":{"1.0.2":{"name":"const-max-uint32","version":"1.0.2","description":"Maximum unsigned 32-bit integer.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"if [ \"${TRAVIS}\" ]; then npm run test-ci; else npm run test-local; fi","test-local":"tape \"./test/*.js\" | tap-spec","test-ci":"npm run test-local && xvfb-run npm run test-browsers","test-cov":"istanbul cover --dir ./reports/coverage --report lcov tape -- \"./test/*.js\"","test-browsers":"browserify ./test/*.js | testling | tap-spec","coverage":"istanbul cover --dir ./reports/codecov/coverage --report lcovonly tape -- \"./test/*.js\" && cat ./reports/codecov/coverage/lcov.info | codecov && rm -rf ./reports/codecov"},"main":"./lib","repository":{"type":"git","url":"git://github.com/const-io/max-uint32.git"},"keywords":["compute.io","compute","computation","max","array","length","uint32","integer","unsigned","32-bit","const","const-io","const.io","constant"],"bugs":{"url":"https://github.com/const-io/max-uint32/issues"},"dependencies":{},"devDependencies":{"browserify":"12.x.x","codecov":"1.x.x","istanbul":"^0.4.1","jshint":"2.x.x","jshint-stylish":"2.x.x","math-power":"^1.0.0","tap-spec":"4.x.x","tape":"4.x.x","testling":"1.x.x"},"testling":{"files":["test/*.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..latest","firefox/nightly","chrome/4.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"license":"MIT","gitHead":"ff9119553cb03ca14f102d3957f83ac1dcea8a2f","homepage":"https://github.com/const-io/max-uint32#readme","_id":"const-max-uint32@1.0.2","_shasum":"f009bb6230e678ed874dd2d6a9cd9e3cbfabb676","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"dist":{"shasum":"f009bb6230e678ed874dd2d6a9cd9e3cbfabb676","size":2615,"noattachment":false,"key":"/const-max-uint32/-/const-max-uint32-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/const-max-uint32/download/const-max-uint32-1.0.2.tgz"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"npm:kgryte","email":""}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/const-max-uint32-1.0.2.tgz_1454470289691_0.10958030447363853"},"directories":{},"publish_time":1454470292142,"_hasShrinkwrap":false,"_cnpm_publish_time":1454470292142,"_cnpmcore_publish_time":"2021-12-17T02:43:53.744Z"}},"readme":"Max Uint32\n===\n[![NPM version][npm-image]][npm-url] [![Build Status][build-image]][build-url] [![Coverage Status][coverage-image]][coverage-url] [![Dependencies][dependencies-image]][dependencies-url]\n\n> Maximum unsigned 32-bit integer.\n\n\n## Installation\n\n``` bash\n$ npm install const-max-uint32\n```\n\n\n## Usage\n\n``` javascript\nvar MAX_UINT32 = require( 'const-max-uint32' );\n```\n\n#### MAX_UINT32\n\nMaximum unsigned 32-bit `integer`. \n\n``` javascript\nMAX_UINT32 === Math.pow( 2, 32 ) - 1;\n```\n\n\n## Notes\n\n-\t`MAX_UINT32` is the maximum `array` length.\n\n\n## Examples\n\n``` javascript\nvar MAX_UINT32 = require( 'const-max-uint32' );\n\nconsole.log( MAX_UINT32 );\n// returns 4294967295\n```\n\nTo run the example code from the top-level application directory,\n\n``` bash\n$ node ./examples/index.js\n```\n\n\n---\n## Tests\n\n### Unit\n\nThis repository uses [tape][tape] for unit tests. To run the tests, execute the following command in the top-level application directory:\n\n``` bash\n$ make test\n```\n\nAll new feature development should have corresponding unit tests to validate correct functionality.\n\n\n### Test Coverage\n\nThis repository uses [Istanbul][istanbul] as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-cov\n```\n\nIstanbul creates a `./reports/coverage` directory. To access an HTML version of the report,\n\n``` bash\n$ make view-cov\n```\n\n\n### Browser Support\n\nThis repository uses [Testling][testling] for browser testing. To run the tests in a (headless) local web browser, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-browsers\n```\n\nTo view the tests in a local web browser,\n\n``` bash\n$ make view-browser-tests\n```\n\n<!-- [![browser support][browsers-image]][browsers-url] -->\n\n\n---\n## License\n\n[MIT license](http://opensource.org/licenses/MIT). \n\n\n## Copyright\n\nCopyright &copy; 2015-2016. The [Compute.io][compute-io] Authors.\n\n\n[npm-image]: http://img.shields.io/npm/v/const-max-uint32.svg\n[npm-url]: https://npmjs.org/package/const-max-uint32\n\n[build-image]: http://img.shields.io/travis/const-io/max-uint32/master.svg\n[build-url]: https://travis-ci.org/const-io/max-uint32\n\n[coverage-image]: https://img.shields.io/codecov/c/github/const-io/max-uint32/master.svg\n[coverage-url]: https://codecov.io/github/const-io/max-uint32?branch=master\n\n[dependencies-image]: http://img.shields.io/david/const-io/max-uint32.svg\n[dependencies-url]: https://david-dm.org/const-io/max-uint32\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/const-io/max-uint32.svg\n[dev-dependencies-url]: https://david-dm.org/dev/const-io/max-uint32\n\n[github-issues-image]: http://img.shields.io/github/issues/const-io/max-uint32.svg\n[github-issues-url]: https://github.com/const-io/max-uint32/issues\n\n[tape]: https://github.com/substack/tape\n[istanbul]: https://github.com/gotwarlost/istanbul\n[testling]: https://ci.testling.com\n\n[compute-io]: https://github.com/compute-io","_attachments":{},"homepage":"https://github.com/const-io/max-uint32#readme","bugs":{"url":"https://github.com/const-io/max-uint32/issues"},"license":"MIT"}