{"_id":"utils-is-little-endian","_rev":"4-77bbdcb1fd5bdc0c3c0938a376e0e4f8","name":"utils-is-little-endian","description":"Check if an environment is little endian.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"utils-is-little-endian","version":"0.0.0","description":"Check if an environment is little endian.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"bin":{"is-le":"./bin/cli"},"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 -p ./node_modules/proxyquire-universal ./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/kgryte/utils-is-little-endian.git"},"keywords":["utilities","utility","utils","util","le","be","little","endian","big","is","cli","byte order","check"],"bugs":{"url":"https://github.com/kgryte/utils-is-little-endian/issues"},"dependencies":{"minimist":"^1.2.0","pkginfo":"^0.3.1","update-notifier":"^0.6.0"},"devDependencies":{"browserify":"12.x.x","codecov":"1.x.x","istanbul":"^0.4.1","jshint":"2.x.x","jshint-stylish":"2.x.x","proxyquire":"^1.7.3","proxyquire-universal":"^1.0.8","proxyquireify":"^3.0.1","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":"2b1e30bbffef4c91242014df5e46fef7fd83804a","homepage":"https://github.com/kgryte/utils-is-little-endian#readme","_id":"utils-is-little-endian@0.0.0","_shasum":"b214797afdace52c1a5ef6e1810faeb9f0fdc945","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"dist":{"shasum":"b214797afdace52c1a5ef6e1810faeb9f0fdc945","tarball":"https://registry.npmjs.org/utils-is-little-endian/-/utils-is-little-endian-0.0.0.tgz","integrity":"sha512-wPB3N0pF3SpsGrj7zsmz8j3c+qnvapxBZKxS/+wCx4NiDMoaIpRPfn1yhFO0rdKqhAPAVRGtVQAE5kLLGxQ9gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGbGS/FPAXmpMZ2rtfYQmQlCnxZzN/mdrDyKcskIz+BCAiBS1J0nf3roizFw5jS1whII/ni1Fqvhly5kpBaxWMD0dg=="}]},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}]},"1.0.0":{"name":"utils-is-little-endian","version":"1.0.0","description":"Check if an environment is little endian.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"bin":{"is-le":"./bin/cli"},"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 -p ./node_modules/proxyquire-universal ./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/kgryte/utils-is-little-endian.git"},"keywords":["utilities","utility","utils","util","le","be","little","endian","big","is","cli","byte order","check"],"bugs":{"url":"https://github.com/kgryte/utils-is-little-endian/issues"},"dependencies":{"minimist":"^1.2.0","pkginfo":"^0.3.1","update-notifier":"^0.6.0"},"devDependencies":{"browserify":"12.x.x","codecov":"1.x.x","istanbul":"^0.4.1","jshint":"2.x.x","jshint-stylish":"2.x.x","proxyquire":"^1.7.3","proxyquire-universal":"^1.0.8","proxyquireify":"^3.0.1","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":"96c2c7caa2a216be8db504866d3967cc48ffd353","homepage":"https://github.com/kgryte/utils-is-little-endian#readme","_id":"utils-is-little-endian@1.0.0","_shasum":"a111d6e23593d3d228b0254664cd35c56dd5ad27","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"dist":{"shasum":"a111d6e23593d3d228b0254664cd35c56dd5ad27","tarball":"https://registry.npmjs.org/utils-is-little-endian/-/utils-is-little-endian-1.0.0.tgz","integrity":"sha512-FKDTBQ4AlFYWuhZxdzkTAaXbk3fbbpFO9H2Mldi4MvXJ4jfc11ylAhF1Nm3VTpMMaNQ/UFZC8b8/nroc3aJPSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3YeIw1m8/mhA9FPnIxFPyn4QxekK+sysmSZ3nLSrSRAiB2J9ahVLEyoTjoNP5D5Gd1VgxLqpPwv3eyovU9HnsU3g=="}]},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}]}},"readme":"Little Endian\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> Check if an environment is [little endian][endianness].\n\n\n## Installation\n\n``` bash\n$ npm install utils-is-little-endian\n```\n\n\n## Usage\n\n``` javascript\nvar isLittleEndian = require( 'utils-is-little-endian' );\n```\n\n#### isLittleEndian\n\n`Boolean` indicating if an environment is [little endian][endianness].\n\n``` javascript\nvar bool = isLittleEndian;\n// returns <boolean>\n```\n\n\n## Examples\n\n``` javascript\nvar isLittleEndian = require( 'utils-is-little-endian' );\n\nconsole.log( isLittleEndian );\n// returns <boolean>\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## CLI\n\n### Installation\n\nTo use the module as a general utility, install the module globally\n\n``` bash\n$ npm install -g utils-is-little-endian\n```\n\n\n### Usage\n\n``` bash\nUsage: is-le [options]\n\nOptions:\n\n  -h,    --help                Print this message.\n  -V,    --version             Print the package version.\n```\n\n\n### Examples\n\n``` bash\n$ is-le\n# => true | false\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; 2016. Athan Reines.\n\n\n[npm-image]: http://img.shields.io/npm/v/utils-is-little-endian.svg\n[npm-url]: https://npmjs.org/package/utils-is-little-endian\n\n[build-image]: http://img.shields.io/travis/kgryte/utils-is-little-endian/master.svg\n[build-url]: https://travis-ci.org/kgryte/utils-is-little-endian\n\n[coverage-image]: https://img.shields.io/codecov/c/github/kgryte/utils-is-little-endian/master.svg\n[coverage-url]: https://codecov.io/github/kgryte/utils-is-little-endian?branch=master\n\n[dependencies-image]: http://img.shields.io/david/kgryte/utils-is-little-endian.svg\n[dependencies-url]: https://david-dm.org/kgryte/utils-is-little-endian\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/kgryte/utils-is-little-endian.svg\n[dev-dependencies-url]: https://david-dm.org/dev/kgryte/utils-is-little-endian\n\n[github-issues-image]: http://img.shields.io/github/issues/kgryte/utils-is-little-endian.svg\n[github-issues-url]: https://github.com/kgryte/utils-is-little-endian/issues\n\n[tape]: https://github.com/substack/tape\n[istanbul]: https://github.com/gotwarlost/istanbul\n[testling]: https://ci.testling.com\n\n[endianness]: http://en.wikipedia.org/wiki/Endianness\n","maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"time":{"modified":"2022-06-28T07:26:30.441Z","created":"2016-01-14T14:31:24.374Z","0.0.0":"2016-01-14T14:31:24.374Z","1.0.0":"2016-01-14T14:31:49.973Z"},"homepage":"https://github.com/kgryte/utils-is-little-endian#readme","keywords":["utilities","utility","utils","util","le","be","little","endian","big","is","cli","byte order","check"],"repository":{"type":"git","url":"git://github.com/kgryte/utils-is-little-endian.git"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"bugs":{"url":"https://github.com/kgryte/utils-is-little-endian/issues"},"license":"MIT","readmeFilename":"README.md"}