{"name":"yarn-programmatic","version":"0.1.2","description":"Programmatic API wrapper for Yarn","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/tristanMatthias/yarn-programmatic.git"},"keywords":["yarn","api","programmatic"],"author":{"name":"Tristan Matthias","email":"hello@tristanmatthias.com"},"license":"ISC","bugs":{"url":"https://github.com/tristanMatthias/yarn-programmatic/issues"},"homepage":"https://github.com/tristanMatthias/yarn-programmatic#readme","devDependencies":{"tslint":"^5.20.1","tslint-config-airbnb":"^5.11.2","typescript":"^3.7.3"},"dependencies":{"@types/child-process-promise":"^2.2.1","child-process-promise":"^2.2.1"},"_id":"yarn-programmatic@0.1.2","dist":{"shasum":"6d656c59d16816deec701b7cb32f25558c1070f7","integrity":"sha512-pnunUzmOpsZR+G8GbqX+FBNaKsu+lXrtcPGC8UOn1tw8NgPVx1GHHlosQCu1dlGNppjb6MF7WzBPONiAaEvp4Q==","tarball":"http://registry-npm.ywwl.com/yarn-programmatic/download/yarn-programmatic-0.1.2.tgz","fileCount":33,"unpackedSize":17841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWBcBCRA9TVsSAnZWagAARQkP/i9Ep7xGzwBKBfiwhoiW\nW+3j+UZMSC/l88+K7lUMGVv7XDBjx+BynqhvrTw4ogJAhEN3uc8LSsLM1qdW\nxmiOYneXr43+kdPpsiuyTptowebrwi6GhyPQBo3ZwCQbOkGhDnqrwR55FJCz\nep09tSgHSNmeOnn9T9o9XGeLlL3l+2O8BgpI5g08pZVMN7nCTYuL+lpE7vU2\nBwhZDfDs3PgWP6Wal+0pscTAXXX33nUOBzDGD8fv11HlU3xrzY0uIqvYZyWL\nNn3Mi4TWFvrPUZZ5hdtMjcogh2QmyTclLMDN5xyCvsC6edhDQmJsrCmmrYlT\nBw5M8RhwntQV+NQEEy7jzNyrvGfaxCzD18Pms9U1bkwp/KdJUpSjZrtO3FL7\nEVBrf5F3SEIWGLpCns30eTby4D4oCEQeUEJL/j+IvmIC4Tl18M89qHTMb/kD\n5oKV2/kJPM4f1ovABWamJ/gS2g3HP5fEzrjx3mdjJ+XMipINS6pUWyUABRE6\nK3qSDtCv2k3wMOaC/urrb11j/soTSxlgxLscAgzp6T/sjMtGJaqXPypR2OCB\np/M+DfV98uYcfLJ5DTXAeL3JELCfBQZ9KiCHc2bkK+YKTmgxVRlduVBHgkuB\nGKqka859L7vqEty4Ij2K6pMDvoCarIBhIeppys/CmbkfcYHBnMmiPsJGTwNj\n4GHs\r\n=3VBV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGSgQBTXNVu3K/l4rCYTCk0RkLF98PYj8q4tTGvPppyLAiEAusU7luVR/Dbrs0OjkVGGuGU4Q4NhIcm4KeSKRQvyHPs="}],"size":4652,"noattachment":false,"key":"/yarn-programmatic/-/yarn-programmatic-0.1.2.tgz"},"maintainers":[{"name":"tmatthias","email":"hello@tristanmatthias.com"}],"_npmUser":{"name":"tmatthias","email":"hello@tristanmatthias.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yarn-programmatic_0.1.2_1582831361072_0.30903692255379434"},"_hasShrinkwrap":false,"readme":"# Yarn Programmatic API\n\nyarn-programmatic is a library that allows you to access yarn commands programmatically from Javascript.\n\n\nThis is still being developed to map the full feature set of Yarn. Please submit a request on Github if there is a particular command you'd like\n\n\n## Usage\nEvery function returns a Promise.\n\n---\n\n### `yarn.add()`\n\n```js\nyarn.add(['babel', 'react'], {dev: true});\n```\n\n#### Arguments\n| name     | type   | value                       |\n| -------- | ------ | --------------------------- |\n| packages | Array  | List of packages to install |\n| options  | Object | Options object (see below)  |\n\n\n#### Options\n| name | type    | default | value                   |\n| ---- | ------- | ------- | ----------------------- |\n| dev  | Boolean | false   | Save to devDependencies |\n\n\n---\n\n### `yarn.remove()`\n\n```js\nyarn.remove(['babel', 'react']);\n```\n\n#### Arguments\n| name     | type  | value                      |\n| -------- | ----- | -------------------------- |\n| packages | Array | List of packages to remove |\n\n---\n\n### `yarn.info()`\n\n```js\nyarn.info(); // Get info on current package\nyarn.info('react'); // Get info on 'react' package\n```\n\n#### Arguments\n| name    | type   | value                               |\n| ------- | ------ | ----------------------------------- |\n| package | string | Optional package to lookup info for |\n","publish_time":1582831361184,"_cnpm_publish_time":1582831361184,"dist-tags":{"latest":"0.1.2"}}