{"name":"pretty-format-ast","version":"1.0.1","description":"pretty-format2 plugin to print ASTs prettier","main":"index.js","repository":{"type":"git","url":"git+https://github.com/pretty-format/pretty-format-ast.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","files":[],"scripts":{"test":"jest"},"devDependencies":{"flow-bin":"^0.47.0","jest":"^20.0.4"},"dependencies":{"pretty-format2":"^2.0.3"},"gitHead":"29e5b3248bc1860de297fc378426954fd2d2d976","bugs":{"url":"https://github.com/pretty-format/pretty-format-ast/issues"},"homepage":"https://github.com/pretty-format/pretty-format-ast#readme","_id":"pretty-format-ast@1.0.1","_shasum":"1d8cff9adeeaad5376aa80997952a55a2907ca8d","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"1d8cff9adeeaad5376aa80997952a55a2907ca8d","tarball":"http://registry-npm.ywwl.com/pretty-format-ast/download/pretty-format-ast-1.0.1.tgz","integrity":"sha512-xLokxZerpiFBppT0dlY/GIMdvMmmoMpqf1dWCNHWl9kXR/Cu1hdOHCDyIeJdKBDqXWjezUbzLBTP0wdOEUay8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjvCm0BH/1Tnaba4grjjZNTqINo2c62KL6DqJODpIYjwIhAM1A0aNORT8UkiMVb7WP+aGjonx0/ZRJTNRCzbC+lj66"}],"size":2413,"noattachment":false,"key":"/pretty-format-ast/-/pretty-format-ast-1.0.1.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-format-ast-1.0.1.tgz_1504859771653_0.03970168111845851"},"directories":{},"readme":"# pretty-format-ast\n\n> [pretty-format2](https://github.com/pretty-format/pretty-format2) plugin to print ASTs prettier\n\n### Installation\n\n```sh\nyarn add pretty-format pretty-format-ast\n```\n\n### Usage\n\n```js\nconst prettyFormat2 = require('pretty-format2');\nconst prettyFormatAST = require('pretty-format-ast');\n\nprettyFormat2(val, {\n  plugins: [prettyFormatAST],\n})\n```\n\n```js\nNode \"FunctionDeclaration\"\n  __clone: [Function __clone]\n  async: false\n  body: Node \"BlockStatement\" (1:29, 1:31)\n    body: Array []\n    directives: Array []\n  expression: false\n  generator: false\n  id: Node \"Identifier\" (1:9, 1:10)\n    name: \"a\"\n  params: Array [\n    Node \"Identifier\" (1:11, 1:18)\n      name: \"b\"\n      typeAnnotation: Node \"TypeAnnotation\" (1:12, 1:18)\n        typeAnnotation: Node \"StringLiteralTypeAnnotation\" (1:14, 1:18)\n          extra: Object {\n            \"raw\": \"\\\"hi\\\"\",\n            \"rawValue\": \"hi\",\n          }\n          value: \"hi\",\n    Node \"Identifier\" (1:20, 1:21)\n      name: \"c\",\n    Node \"RestElement\" (1:23, 1:27)\n      argument: Node \"Identifier\" (1:26, 1:27)\n        name: \"d\",\n  ]\n```\n","publish_time":1504859771784,"_cnpm_publish_time":1504859771784,"dist-tags":{"latest":"1.0.1"}}