{"action":"created","issue":{"url":"https://api.github.com/repos/jstransformers/jstransformer/issues/15","labels_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/15/comments","events_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/15/events","html_url":"https://github.com/jstransformers/jstransformer/issues/15","id":67756218,"number":15,"title":"support for multiple outputFormat, like inputFormats","user":{"login":"tunnckoCore","id":5038030,"avatar_url":"https://avatars.githubusercontent.com/u/5038030?v=3","gravatar_id":"","url":"https://api.github.com/users/tunnckoCore","html_url":"https://github.com/tunnckoCore","followers_url":"https://api.github.com/users/tunnckoCore/followers","following_url":"https://api.github.com/users/tunnckoCore/following{/other_user}","gists_url":"https://api.github.com/users/tunnckoCore/gists{/gist_id}","starred_url":"https://api.github.com/users/tunnckoCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunnckoCore/subscriptions","organizations_url":"https://api.github.com/users/tunnckoCore/orgs","repos_url":"https://api.github.com/users/tunnckoCore/repos","events_url":"https://api.github.com/users/tunnckoCore/events{/privacy}","received_events_url":"https://api.github.com/users/tunnckoCore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-11T08:42:19Z","updated_at":"2015-04-11T14:46:37Z","closed_at":null,"body":"Also the names of properties.. We need more consistency.\r\n\r\n#### Proposal\r\n- `outputFormats` alias to `outputFormat`\r\n- `inputFormats` alias to `inputFormat`\r\n- both to accept only arrays (or plural array, singular only string?)\r\n\r\n#### Why?\r\n1. Because libs like [AbsurdJS](https://github.com/jstransformers/jstransformer-absurd) can output css and html, not in same time, but yea. It can transform from JSON/YAML/CSS/JS to CSS/HTML.\r\n2. fast-fingers mistakes, one is plural, other is singular.. nah, not good.\r\n\r\n```js\r\nexports.name = 'absurd';\r\nexports.inputFormats = ['absurd', 'absurdjs', 'js', 'json', 'yaml', 'css'];\r\nexports.outputFormats = ['css', 'html'];\r\n```"},"comment":{"url":"https://api.github.com/repos/jstransformers/jstransformer/issues/comments/91863949","html_url":"https://github.com/jstransformers/jstransformer/issues/15#issuecomment-91863949","issue_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/15","id":91863949,"user":{"login":"tunnckoCore","id":5038030,"avatar_url":"https://avatars.githubusercontent.com/u/5038030?v=3","gravatar_id":"","url":"https://api.github.com/users/tunnckoCore","html_url":"https://github.com/tunnckoCore","followers_url":"https://api.github.com/users/tunnckoCore/followers","following_url":"https://api.github.com/users/tunnckoCore/following{/other_user}","gists_url":"https://api.github.com/users/tunnckoCore/gists{/gist_id}","starred_url":"https://api.github.com/users/tunnckoCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunnckoCore/subscriptions","organizations_url":"https://api.github.com/users/tunnckoCore/orgs","repos_url":"https://api.github.com/users/tunnckoCore/repos","events_url":"https://api.github.com/users/tunnckoCore/events{/privacy}","received_events_url":"https://api.github.com/users/tunnckoCore/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T14:46:37Z","updated_at":"2015-04-11T14:46:37Z","body":"one more use case\r\nhttps://github.com/jstransformers/jstransformer-gray-matter - what should be inputFormats/outputFormat?"}}