{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss/issues/476","labels_url":"https://api.github.com/repos/postcss/postcss/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss/issues/476/comments","events_url":"https://api.github.com/repos/postcss/postcss/issues/476/events","html_url":"https://github.com/postcss/postcss/issues/476","id":99162154,"number":476,"title":"Outputting JavaScript from PostCSS","user":{"login":"cie","id":243342,"avatar_url":"https://avatars.githubusercontent.com/u/243342?v=3","gravatar_id":"","url":"https://api.github.com/users/cie","html_url":"https://github.com/cie","followers_url":"https://api.github.com/users/cie/followers","following_url":"https://api.github.com/users/cie/following{/other_user}","gists_url":"https://api.github.com/users/cie/gists{/gist_id}","starred_url":"https://api.github.com/users/cie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cie/subscriptions","organizations_url":"https://api.github.com/users/cie/orgs","repos_url":"https://api.github.com/users/cie/repos","events_url":"https://api.github.com/users/cie/events{/privacy}","received_events_url":"https://api.github.com/users/cie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T09:26:23Z","updated_at":"2015-08-05T11:40:16Z","closed_at":null,"body":"I was working on [FunCSS](http://github.com/funcss-lang/funcss) for the last 6 months, which is a project with similar aims to PostCSS:\r\n\r\n* A language with standard CSS syntax\r\n* Future CSS now, compiled to polyfilled CSS\r\n* Custom plugins within CSS syntax\r\n\r\nHowever, it also supports generating JavaScript for features that cannot be calculated compile time (e.g. `calc(50%-20px)`) and support for custom JavaScript functions that run on the client side (e.g. `background-color: getColorFromDatabase()`. It is in alpha phase.\r\n\r\nI just stumbled upon PostCSS and I see that it already has a big ecosystem, similar to what I imagined for FunCSS. I'm thinking about somehow maybe porting FunCSS to PostCSS.\r\n\r\nMy question is: do you have any plans for including a mechanism for outputting JavaScript code from PostCSS? Or any ideas or thoughts about this possible integration of the two projects?"},"comment":{"url":"https://api.github.com/repos/postcss/postcss/issues/comments/127967531","html_url":"https://github.com/postcss/postcss/issues/476#issuecomment-127967531","issue_url":"https://api.github.com/repos/postcss/postcss/issues/476","id":127967531,"user":{"login":"cie","id":243342,"avatar_url":"https://avatars.githubusercontent.com/u/243342?v=3","gravatar_id":"","url":"https://api.github.com/users/cie","html_url":"https://github.com/cie","followers_url":"https://api.github.com/users/cie/followers","following_url":"https://api.github.com/users/cie/following{/other_user}","gists_url":"https://api.github.com/users/cie/gists{/gist_id}","starred_url":"https://api.github.com/users/cie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cie/subscriptions","organizations_url":"https://api.github.com/users/cie/orgs","repos_url":"https://api.github.com/users/cie/repos","events_url":"https://api.github.com/users/cie/events{/privacy}","received_events_url":"https://api.github.com/users/cie/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T11:40:16Z","updated_at":"2015-08-05T11:40:16Z","body":"Now I updated the Readme and merged it to master."}}