How can I get cookies that were set in javascript from a twig template?
So far the only solution I have found is to use a plugin, and Lewis Jenkins' LJ Cookies plugin does the trick nicely:

{{ craft.lj_cookies.get( NAME ) }}


It also allows you to set and delete cookies within templates.