Japan unveiled a stimulus package with 2 trillion yen ($18 billion) in fresh spending to shore up its flagging economy on Friday as figures showed that inflation has spiked to its highest in nearly 11 years, denting consumer spending.