{"name":"arch","version":"0.0.1","description":"A small toolkit-framework","keywords":["server","http","framework","toolkit","arch"],"author":{"name":"Jake Verbaten","email":"raynos2@gmail.com"},"dependencies":{"stak":"0.0.2","error":"0.0.1","rest":"0.0.1","fcombine":"0.0.3","after":"0.1.6","pd":"0.2.1"},"devDependencies":{"tester":"0.0.2"},"main":"src/arch","engines":{"node":"0.5.x"},"_npmJsonOpts":{"file":"/home/raynos/.npm/arch/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"arch@0.0.1","_engineSupported":true,"_npmVersion":"1.0.30","_nodeVersion":"v0.5.9","_defaultsLoaded":true,"dist":{"shasum":"26cb6401c3aa678f44207cd909cb03d97e968563","tarball":"http://registry-npm.ywwl.com/arch/download/arch-0.0.1.tgz","integrity":"sha512-k2Xbb3TAuRJI64jvNUUeStzJ2pGKiyUNKpLG4ntxIi2+n1E8j0S839zMGsUN4dCEeCB4AufqESbJNksXcxO12A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTZ5ZaQr0u6NcZZtHL3WRH+cbBrJwRhbj5U/AF3pZzMAiBLoKOfxfMPnE4Avg0zaJ0c25IOMyqC6onFXv0g8DQqmA=="}],"size":2604,"noattachment":false,"key":"/arch/-/arch-0.0.1.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"readme":"# arch [![ci][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[ci-image]: https://img.shields.io/github/workflow/status/feross/arch/ci/master\n[ci-url]: https://github.com/feross/arch/actions\n[npm-image]: https://img.shields.io/npm/v/arch.svg\n[npm-url]: https://npmjs.org/package/arch\n[downloads-image]: https://img.shields.io/npm/dm/arch.svg\n[downloads-url]: https://npmjs.org/package/arch\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n### Better `os.arch()` for node and the browser -- detect OS architecture\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/arch2.svg)](https://saucelabs.com/u/arch2)\n\nThis module is used by [WebTorrent Desktop](http://webtorrent.io/desktop) to\ndetermine if the user is on a 32-bit vs. 64-bit operating system to offer the\nright app installer.\n\nIn Node.js, the `os.arch()` method (and `process.arch` property) returns a string\nidentifying the operating system CPU architecture **for which the Node.js binary\nwas compiled**.\n\nThis is not the same as the **operating system CPU architecture**. For example,\nyou can run Node.js 32-bit on a 64-bit OS. In that situation, `os.arch()` will\nreturn a misleading 'x86' (32-bit) value, instead of 'x64' (64-bit).\n\nUse this package to get the actual operating system CPU architecture.\n\n**BONUS: This package works in the browser too.**\n\n## install\n\n```\nnpm install arch\n```\n\n## usage\n\n```js\nvar arch = require('arch')\nconsole.log(arch()) // always returns 'x64' or 'x86'\n```\n\nIn the browser, there is no spec that defines where this information lives, so we\ncheck all known locations including `navigator.userAgent`, `navigator.platform`,\nand `navigator.cpuClass` to make a best guess.\n\nIf there is no *affirmative indication* that the architecture is 64-bit, then\n32-bit will be assumed. This makes this package perfect for determining what\ninstaller executable to offer to desktop app users. If there is ambiguity, then\nthe user will get the 32-bit installer, which will work fine even for a user with\na 64-bit OS.\n\nFor reference, `x64` means 64-bit and `x86` means 32-bit.\n\nHere is some history behind these naming conventions:\n\n- https://en.wikipedia.org/wiki/X86\n- https://en.wikipedia.org/wiki/IA-32\n- https://en.wikipedia.org/wiki/X86-64\n\n## Node.js proposal - `os.sysarch()`\n\nNote: There is\n[a proposal](https://github.com/nodejs/node-v0.x-archive/issues/2862#issuecomment-103942051)\nto add this functionality to Node.js as `os.sysarch()`.\n\n## license\n\nMIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).\n","publish_time":1319045943326,"_cnpm_publish_time":1319045943326,"dist-tags":{"latest":"3.0.0"}}