{"_id":"go-platform","_rev":"3-b7ea32b58181fc7deeb59fd355540bcf","name":"go-platform","description":"print out golang platform variables","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"go-platform","version":"1.0.0","description":"print out golang platform variables","main":"index.js","bin":{"go-platform":"./cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/jbenet/node-go-platform"},"keywords":["golang","platform","go"],"author":{"name":"Juan Benet","email":"juan@benet.ai","url":"http://juan.benet.ai/"},"license":"MIT","bugs":{"url":"https://github.com/jbenet/node-go-platform/issues"},"homepage":"https://github.com/jbenet/node-go-platform","gitHead":"05a7ffd29fea2e7d7134dacf4ab36d93cf651359","_id":"go-platform@1.0.0","_shasum":"b05ff6b9274007d246b164235f03f7f6a59626c7","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"jbenet","email":"juan@benet.ai"},"maintainers":[{"name":"jbenet","email":"juan@benet.ai"}],"dist":{"shasum":"b05ff6b9274007d246b164235f03f7f6a59626c7","tarball":"https://registry.npmjs.org/go-platform/-/go-platform-1.0.0.tgz","integrity":"sha512-qtDdTCMHPD6JYiU4FnGX0KJ+V3mVhY/Y/Z0LzPYH3mPTMeZd+y+DGze7ypME3LZZjguuOJWwqPusVSSZPkhiEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgDSfel0DiZVG4J2TmGqeKt783/j/9nM7p9duJ/+VQQAiBxg7wl1KSyg0aW+/Q5+oLDA/8umIMTYzHY6kt09bNAEg=="}]}}},"readme":"# node-go-platform\n\nFigures out the host machine's platform for Go purposes.\n\n```\nnpm install go-platform\n```\n\n## cli\n\nIt includes a cli tool that prints out `$GOOS-$GOARCH`:\n\n```sh\n> npm install go-platform\n> node_modules/.bin/go-platform\ndarwin-amd64\n\n> node_modules/.bin/go-platform --env\nGOOS=darwin\nGOARCH=amd64\n\n> node_modules/.bin/go-platform --obj\n{\"GOOS\": \"darwin\", \"GOARCH\": \"amd64\"}\n\n> node_modules/.bin/go-platform --obj --pretty\n{\n  \"GOOS\": \"darwin\",\n  \"GOARCH\": \"amd64\"\n}\n```\n\n## lib\n\n```node\n> var goplatform = require('go-platform')\n> console.log(goplatform)\n{ GOOS: 'darwin', GOARCH: 'amd64'}\n```\n","maintainers":[{"name":"jbenet","email":"juan@benet.ai"}],"time":{"modified":"2022-06-18T13:11:26.866Z","created":"2015-04-12T07:36:07.795Z","1.0.0":"2015-04-12T07:36:07.795Z"},"homepage":"https://github.com/jbenet/node-go-platform","keywords":["golang","platform","go"],"repository":{"type":"git","url":"https://github.com/jbenet/node-go-platform"},"author":{"name":"Juan Benet","email":"juan@benet.ai","url":"http://juan.benet.ai/"},"bugs":{"url":"https://github.com/jbenet/node-go-platform/issues"},"license":"MIT","readmeFilename":"README.md"}