{"name":"xo-init","version":"0.1.0","description":"Add XO to your project","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/xo-init"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["init","initialize","add","create","setup","generate","scaffold","xo"],"dependencies":{"has-flag":"^1.0.0","look-up":"^0.7.1"},"devDependencies":{"ava":"0.0.4","dot-prop":"^2.2.0","temp-write":"^1.1.2"},"gitHead":"5f8f8b75157ce1449eea0344efc8b042970f1921","bugs":{"url":"https://github.com/sindresorhus/xo-init/issues"},"homepage":"https://github.com/sindresorhus/xo-init","_id":"xo-init@0.1.0","_shasum":"bc9b601e9c620d11c1142259e2ab365fac981aae","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bc9b601e9c620d11c1142259e2ab365fac981aae","tarball":"http://registry-npm.ywwl.com/xo-init/download/xo-init-0.1.0.tgz","integrity":"sha512-cbwx9YdmwTa+ZE3yB62oCqAKGa3Bh8d6vyTX1olmkCR1eLEipmKlwlCNyWQjE1+5jXrQGvFGyFxhFM64PMgrIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC36j2jOLk9oaM+rmJCwSw/14WZFsSqM8CO6M6ZY1CaqwIgJIAjI73woeDyOw+vu8+s480yAUvsqv4YZ5qzdePh43o="}],"size":2015,"noattachment":false,"key":"/xo-init/-/xo-init-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# xo-init [![Build Status](https://travis-ci.org/xojs/xo-init.svg?branch=master)](https://travis-ci.org/xojs/xo-init)\n\n> Add [XO](https://github.com/xojs/xo) to your project\n\n\n## Install\n\n```\n$ npm install xo-init\n```\n\n\n## Usage\n\n```js\nconst xoInit = require('xo-init');\n\nxoInit().then(() => {\n\tconsole.log('done');\n});\n```\n\n\n## API\n\n### xoInit([options])\n\nReturns a `Promise`.\n\n#### options\n\n#### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n#### args\n\nType: `Array`<br>\nDefault: CLI arguments *(`process.argv.slice(2)`)*\n\nOptions to put in [XO's config](https://www.npmjs.com/package/xo#config) in `package.json`.\n\nFor instance, with the arguments `['--space', '--env=node']` the following will be put in `package.json`:\n\n```json\n{\n\t\"name\": \"awesome-package\",\n\t\"xo\": {\n\t\t\"space\": true,\n\t\t\"envs\": [\"node\"]\n\t}\n}\n```\n\n\n## CLI\n\nInstall XO globally `$ npm install --global xo` and run `$ xo --init [<options>]`.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","publish_time":1438447836287,"_cnpm_publish_time":1438447836287,"dist-tags":{"latest":"0.7.0"}}