Use autoprefixer synchronously
<p>i want to use autoprefixer in my node application to compile css.
for my specific needs, i want to call autoprefixer without callback or promise.</p>

<p>just plain :</p>

<pre><code>var result = autoprefixer.process(css);
</code></pre>

<p>or</p>

<pre><code>var result = myPrefixerWrap(css);
</code></pre>

<p>i am fighting with this for a while, can you help me please.</p>

<p>thank you </p>

<p>ps: i already tried postcss-js, but it result an json object for react use, and not pure css. for example {borderRadius:"5px"}</p>

<pre><code>var prefixer    = postcssJs.sync([ autoprefixer ]);
var cssCompiled = postcss.parse(css);
var cssObject   = postcssJS.objectify(cssCompiled);
var autoResult  = prefixer(cssObject);
</code></pre>